Well, for a while, I have been looking for a report that will just tell me who paid by Credit Card or Purchase order by Check.
After reading through the forums, I came across the ORDER_INVOICE (Printale Invoice) PAGE. Now, this priunts out the Payment Type but all prints out way too much info about the credit card (to actually put on an invoice would be horrible).
So, the code that does the magic is
<mvt:foreach iterator="field" array="order:payment:fields">
<table><tr><th>&mvt:field:label;</th><td>&mvt:field:value;</td></tr></table>
Questions:
a) Is there a way to modify the above code to loop just ONE time and exit? So far, from all the testing I have done, i seems like I just need the first entry in the array.
b) Is there another way to print just the payment type like CC, PO or Check?
Thanks,
Bob
After reading through the forums, I came across the ORDER_INVOICE (Printale Invoice) PAGE. Now, this priunts out the Payment Type but all prints out way too much info about the credit card (to actually put on an invoice would be horrible).
So, the code that does the magic is
<mvt:foreach iterator="field" array="order:payment:fields">
<table><tr><th>&mvt:field:label;</th><td>&mvt:field:value;</td></tr></table>
Questions:
a) Is there a way to modify the above code to loop just ONE time and exit? So far, from all the testing I have done, i seems like I just need the first entry in the array.
b) Is there another way to print just the payment type like CC, PO or Check?
Thanks,
Bob
Comment