| 1 | {if $formValues.receipt_text_signup} |
| 2 | {$formValues.receipt_text_signup} |
| 3 | {elseif $formValues.receipt_text_renewal} |
| 4 | {$formValues.receipt_text_renewal} |
| 5 | {else}{ts}Thank you for your support.{/ts}{/if} |
| 6 | |
| 7 | {if ! $cancelled}{ts}Please print this receipt for your records.{/ts} |
| 8 | |
| 9 | |
| 10 | {/if} |
| 11 | {if !$lineItem} |
| 12 | =========================================================== |
| 13 | {ts}Membership Information{/ts} |
| 14 | |
| 15 | =========================================================== |
| 16 | {ts}Membership Type{/ts}: {$membership_name} |
| 17 | {/if} |
| 18 | {if ! $cancelled} |
| 19 | {if !$lineItem} |
| 20 | {ts}Membership Start Date{/ts}: {$mem_start_date} |
| 21 | {ts}Membership End Date{/ts}: {$mem_end_date} |
| 22 | {/if} |
| 23 | |
| 24 | {if $formValues.total_amount OR $formValues.total_amount eq 0 } |
| 25 | =========================================================== |
| 26 | {ts}Membership Fee{/ts} |
| 27 | |
| 28 | =========================================================== |
| 29 | {if $formValues.contributionType_name} |
| 30 | {ts}Financial Type{/ts}: {$formValues.contributionType_name} |
| 31 | {/if} |
| 32 | {if $lineItem} |
| 33 | {foreach from=$lineItem item=value key=priceset} |
| 34 | {capture assign=ts_item}{ts}Item{/ts}{/capture} |
| 35 | {capture assign=ts_total}{ts}Fee{/ts}{/capture} |
| 36 | {capture assign=ts_start_date}{ts}Membership Start Date{/ts}{/capture} |
| 37 | {capture assign=ts_end_date}{ts}Membership End Date{/ts}{/capture} |
| 38 | {$ts_item|string_format:"%-30s"} {$ts_total|string_format:"%10s"} {$ts_start_date|string_format:"%20s"} {$ts_end_date|string_format:"%20s"} |
| 39 | -------------------------------------------------------------------------------------------------- |
| 40 | |
| 41 | {foreach from=$value item=line} |
| 42 | {capture assign=ts_item}{if $line.html_type eq 'Text'}{$line.label}{else}{$line.field_title} - {$line.label}{/if} {if $line.description} {$line.description}{/if}{/capture}{$ts_item|truncate:30:"..."|string_format:"%-30s"} {$line.line_total|crmMoney|string_format:"%10s"} {$line.start_date|string_format:"%20s"} {$line.end_date|string_format:"%20s"} |
| 43 | {/foreach} |
| 44 | {/foreach} |
| 45 | -------------------------------------------------------------------------------------------------- |
| 46 | {/if} |
| 47 | {ts}Amount{/ts}: {$formValues.total_amount|crmMoney} |
| 48 | {if $receive_date} |
| 49 | {ts}Received Date{/ts}: {$receive_date|truncate:10:''|crmDate} |
| 50 | {/if} |
| 51 | {if $formValues.paidBy} |
| 52 | {ts}Paid By{/ts}: {$formValues.paidBy} |
| 53 | {if $formValues.check_number} |
| 54 | {ts}Check Number{/ts}: {$formValues.check_number} |
| 55 | {/if} |
| 56 | {/if} |
| 57 | {/if} |
| 58 | {/if} |
| 59 | |
| 60 | {if $isPrimary } |
| 61 | {if $contributeMode ne 'notify' and !$isAmountzero and !$is_pay_later } |
| 62 | |
| 63 | =========================================================== |
| 64 | {ts}Billing Name and Address{/ts} |
| 65 | |
| 66 | =========================================================== |
| 67 | {$billingName} |
| 68 | {$address} |
| 69 | {/if} |
| 70 | |
| 71 | {if $contributeMode eq 'direct' and !$isAmountzero and !$is_pay_later} |
| 72 | =========================================================== |
| 73 | {ts}Credit Card Information{/ts} |
| 74 | |
| 75 | =========================================================== |
| 76 | {$credit_card_type} |
| 77 | {$credit_card_number} |
| 78 | {ts}Expires{/ts}: {$credit_card_exp_date|truncate:7:''|crmDate} |
| 79 | {/if} |
| 80 | {/if} |
| 81 | |
| 82 | {if $customValues} |
| 83 | =========================================================== |
| 84 | {ts}Membership Options{/ts} |
| 85 | |
| 86 | =========================================================== |
| 87 | {foreach from=$customValues item=value key=customName} |
| 88 | {$customName} : {$value} |
| 89 | {/foreach} |
| 90 | {/if} |