Merge branch 'VAT-572' of github.com:Parag18/civicrm-core into Parag18-VAT-572
[civicrm-core.git] / templates / CRM / Price / Page / Option.tpl
index 7419811118cf6f00444c8cec3291c46eb6a0073d..efef17ae28bd2f7328053b812444d16cb8d65021 100644 (file)
           <th>{ts}Default{/ts}</th>
           <th>{ts}Financial Type{/ts}</th>
             <th id="order" class="sortable">{ts}Order{/ts}</th>
+            {if $getTaxDetails}
+              <th>{ts}Tax Label{/ts}</th>
+              <th>{ts}Tax Amount{/ts}</th>
+            {/if}
           <th>{ts}Enabled?{/ts}</th>
             <th></th>
             <th class="hiddenElement"></th>
       <td class="crm-price-option-is_default">{if $row.is_default}<img src="{$config->resourceBase}i/check.gif" alt="{ts}Default{/ts}" />{/if}</td>
       <td class="nowrap crm-price-option-financial-type-id">{$row.financial_type_id}</td>
             <td class="nowrap crm-price-option-order">{$row.weight}</td>
+            {if $getTaxDetails}
+              <td>{if $row.tax_rate != '' }
+                    {$taxTerm} ({$row.tax_rate|string_format:"%.2f"}%)
+                  {/if}
+              </td>
+              <td>{$row.tax_amount|crmMoney}</td>
+            {/if}
             <td id="row_{$row.id}_status" class="crm-price-option-is_active">{if $row.is_active eq 1} {ts}Yes{/ts} {else} {ts}No{/ts} {/if}</td>
             <td>{$row.action|replace:'xx':$row.id}</td>
             <td class="order hiddenElement">{$row.weight}</td>