{* FIXME: style this table so that it looks like the text version (justification, etc.) *}
Description |
Quantity |
Unit Price |
{$taxTerm} |
Amount {$defaultCurrency} |
{foreach from=$lineItem item=value key=priceset name=taxpricevalue}
{if $smarty.foreach.taxpricevalue.index eq 0}
|
{else}
|
{/if}
{if $value.html_type eq 'Text'}{$value.label}{else}{$value.field_title} - {$value.label}{/if} {if $value.description} {$value.description|truncate:30:"..."} {/if}
|
{$value.qty} |
{$value.unit_price|crmMoney:$currency} |
{if $value.tax_amount != ''}
{$value.tax_rate}% |
{else}
No {$taxTerm} |
{/if}
{$value.subTotal|crmMoney:$currency} |
{/foreach}
|
|
Sub Total |
{$subTotal|crmMoney:$currency} |
{foreach from = $dataArray item = value key = priceset}
|
{if $priceset}
TOTAL {$taxTerm} {$priceset}% |
{$value|crmMoney:$currency} |
{elseif $priceset == 0}
TOTAL NO {$taxTerm} |
{$value|crmMoney:$currency} |
{/if}
{/foreach}
|
|
|
TOTAL {$defaultCurrency} |
{$amount|crmMoney:$currency} |
{if $is_pay_later == 0}
|
{if $contribution_status_id == $refundedStatusId}
LESS Amount Credited
{else}
LESS Amount Paid
{/if}
|
{$amount|crmMoney:$currency} |
|
|
|
AMOUNT DUE: |
{$amountDue|crmMoney:$currency} | |
{/if}
|
DUE DATE: {$dueDate} |
|