X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;ds=inline;f=xml%2Ftemplates%2Fmessage_templates%2Fmembership_offline_receipt_html.tpl;h=039b659f54f5df63dce2fee35ee21e3f70e24e12;hb=66cae70584f43f4d98a9a08b686487f9a0353d00;hp=d3a6daacce78948b61422ac63496b242b7b753b6;hpb=42bf93368ea81b2fa70fab038f3c884755e1ab88;p=civicrm-core.git
diff --git a/xml/templates/message_templates/membership_offline_receipt_html.tpl b/xml/templates/message_templates/membership_offline_receipt_html.tpl
index d3a6daacce..039b659f54 100644
--- a/xml/templates/message_templates/membership_offline_receipt_html.tpl
+++ b/xml/templates/message_templates/membership_offline_receipt_html.tpl
@@ -95,6 +95,12 @@
{ts}Item{/ts} |
{ts}Fee{/ts} |
+ {if $dataArray}
+ {ts}SubTotal{/ts} |
+ {ts}Tax Rate{/ts} |
+ {ts}Tax Amount{/ts} |
+ {ts}Total{/ts} |
+ {/if}
{ts}Membership Start Date{/ts} |
{ts}Membership End Date{/ts} |
@@ -106,6 +112,25 @@
{$line.line_total|crmMoney}
|
+ {if $dataArray}
+
+ {$line.unit_price*$line.qty|crmMoney}
+ |
+ {if $line.tax_rate != "" || $line.tax_amount != ""}
+
+ {$line.tax_rate|string_format:"%.2f"}%
+ |
+
+ {$line.tax_amount|crmMoney}
+ |
+ {else}
+ |
+ |
+ {/if}
+
+ {$line.line_total+$line.tax_amount|crmMoney}
+ |
+ {/if}
{$line.start_date}
|
@@ -118,7 +143,38 @@
{/foreach}
+ {if $dataArray}
+
+
+ {ts}Amount Before Tax : {/ts}
+ |
+
+ {$formValues.total_amount-$totalTaxAmount|crmMoney}
+ |
+
+ {foreach from=$dataArray item=value key=priceset}
+
+ {if $priceset}
+ {$taxTerm} {$priceset|string_format:"%.2f"}% |
+ {$value|crmMoney:$currency} |
+ {elseif $priceset == 0}
+ {ts}No{/ts} {$taxTerm} |
+ {$value|crmMoney:$currency} |
+ {/if}
+
+ {/foreach}
+ {/if}
{/if}
+ {if isset($totalTaxAmount)}
+
+
+ {ts}Total Tax Amount{/ts}
+ |
+
+ {$totalTaxAmount|crmMoney:$currency}
+ |
+
+ {/if}
{ts}Amount{/ts}
|