From f40666c365a8b52ee98156b10455843559ac5df6 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Tue, 21 Aug 2018 11:09:12 -0400 Subject: [PATCH] Update for contact export of billing fields. Need to format the anniversary date also. --- models/admin/ajax/contactsListExport.php | 1 + 1 file changed, 1 insertion(+) diff --git a/models/admin/ajax/contactsListExport.php b/models/admin/ajax/contactsListExport.php index d87e15f..329f8b9 100644 --- a/models/admin/ajax/contactsListExport.php +++ b/models/admin/ajax/contactsListExport.php @@ -229,6 +229,7 @@ class GlmMembersAdmin_ajax_contactsListExport extends GlmDataContacts $billing_data = apply_filters( 'glm-member-db-billing-get-data', $v['ref_dest'] ); foreach ( $BFSelect as $bf_val ) { switch( $bf_val ) { + case 'anniversary_date': case 'renewal_date': $list[$k][$bf_val] = $billing_data[$bf_val] ? date( 'm/d/Y', strtotime( $billing_data[$bf_val] ) ): ''; break; -- 2.17.1