{% autoescape false %}
Date, Type, Amount, Payment Method, Details, Notes
{% for entity in entities %}
"{{ entity.trandate|date('m-d-Y') }}","{% if entity.trantype == 'MEMBERSHIP_NEW' %}New Membership Fee{% elseif entity.trantype == 'MEMBERSHIP_RENEW' %}Renewal Fee{% elseif entity.trantype == 'LUNCHEON_FEE' %}Luncheon Fee{% elseif entity.trantype == 'PARKING_PASS' %}Parking Pass{% else %}{{ entity.trantype }}{% endif %}","${{ entity.amount + entity.servicechg }}","{% if entity.pmtmethod == "CREDIT_CARD" %}Credit Card / PayPal{% elseif entity.pmtmethod == "CHECK" %}Check{% else %}Other{% endif %}","{% if show_luncheons is defined and show_luncheons %}{{ entity.luncheon }}{% endif %}"
{% endfor %}
{% endautoescape %}

{% autoescape false %}
Date, Type, Amount, Payment Method, Details, Reconciled by, Reconciled Date, Payment Processor ID, Invoice ID, Notes
{% for entity in entities %}
"{{ entity.trandate|date('m-d-Y') }}","{% if entity.trantype == 'MEMBERSHIP_NEW' %}New Membership Fee{% elseif entity.trantype == 'MEMBERSHIP_RENEW' %}Renewal Fee{% elseif entity.trantype == 'LUNCHEON_FEE' %}Luncheon Fee{% elseif entity.trantype == 'PARKING_PASS' %}Parking Pass{% else %}{{ entity.trantype }}{% endif %}","${{ entity.amount + entity.servicechg }}","{% if entity.pmtmethod == "CREDIT_CARD" %}Credit Card / PayPal{% elseif entity.pmtmethod == "CHECK" %}Check{% else %}Other{% endif %}","{% if show_luncheons is defined and show_luncheons %}{{ entity.luncheon }}{% endif %}","{% if entity.doneby %}{{ entity.doneby.fullname }}{% endif %}","{{ entity.reconciledDate|date('m-d-Y') }}","{{ entity.procTranId }}","{{ entity.invoiceId }}","{{ entity.notes }}"
{% endfor %}
{% endautoescape %}

Add more fields to transaction CSV export
Add more fields to transaction CSV export

Signed-off-by: Max Fierke <0706025b2bbcec1ed8d64822f4eccd96314938d0@maxfierke.com>
