Changeset 2665
- Timestamp:
- 03/02/2016 07:46:49 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordcamp.org/public_html/wp-content/plugins/wordcamp-payments-network/includes/payment-requests-dashboard.php
r2642 r2665 566 566 567 567 // File Header 568 fputcsv( $report, array( 'FILHDR', 'PWS', $options['pws_customer_id'], date( 'm/d/Y' ), date( 'Hi' ) ) );568 fputcsv( $report, array( 'FILHDR', 'PWS', $options['pws_customer_id'], date( 'm/d/Y' ), date( 'Hi' ) ), ',', '|' ); 569 569 570 570 $total = 0; … … 609 609 $options['contact_email'], 610 610 $options['contact_phone'], 611 ) );611 ), ',', '|' ); 612 612 613 613 // Payee Name Record … … 617 617 '', 618 618 $count, // vendor number. should be unique? 619 ) );619 ), ',', '|' ); 620 620 621 621 // Payee Address Record … … 624 624 substr( get_post_meta( $post->ID, '_camppayments_vendor_street_address', true ), 0, 35 ), 625 625 '', 626 ) );626 ), ',', '|' ); 627 627 628 628 // Additional Payee Address Record 629 fputcsv( $report, array( 'ADDPYE', '', '' ) );629 fputcsv( $report, array( 'ADDPYE', '', '' ), ',', '|' ); 630 630 631 631 // Payee Postal Record … … 636 636 substr( get_post_meta( $post->ID, '_camppayments_vendor_zip_code', true ), 0, 10 ), 637 637 substr( $vendor_country_code, 0, 3 ), 638 ) );638 ), ',', '|' ); 639 639 640 640 // Payment Description … … 642 642 'PYTDES', 643 643 substr( $description, 0, 122 ), 644 ) );644 ), ',', '|' ); 645 645 646 646 restore_current_blog(); … … 648 648 649 649 // File Trailer 650 fputcsv( $report, array( 'FILTRL', $count * 6 + 2 ) );650 fputcsv( $report, array( 'FILTRL', $count * 6 + 2 ), ',', '|' ); 651 651 652 652 fclose( $report );
Note: See TracChangeset
for help on using the changeset viewer.