mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-28 12:11:08 -04:00
Add tax column to invoices
When an invoice has tax per item enabled, include a tax column so that it's clear how much tax is being applied to each item.
This commit is contained in:
@ -7,6 +7,9 @@
|
|||||||
@if($invoice->discount_per_item === 'YES')
|
@if($invoice->discount_per_item === 'YES')
|
||||||
<th class="pl-10 text-right item-table-heading">@lang('pdf_discount_label')</th>
|
<th class="pl-10 text-right item-table-heading">@lang('pdf_discount_label')</th>
|
||||||
@endif
|
@endif
|
||||||
|
@if($invoice->tax_per_item === 'YES')
|
||||||
|
<th class="pl-10 text-right item-table-heading">@lang('pdf_tax_label')</th>
|
||||||
|
@endif
|
||||||
<th class="text-right item-table-heading">@lang('pdf_amount_label')</th>
|
<th class="text-right item-table-heading">@lang('pdf_amount_label')</th>
|
||||||
</tr>
|
</tr>
|
||||||
@php
|
@php
|
||||||
@ -54,6 +57,15 @@
|
|||||||
</td>
|
</td>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if($invoice->tax_per_item === 'YES')
|
||||||
|
<td
|
||||||
|
class="pl-10 text-right item-cell"
|
||||||
|
style="vertical-align: top;"
|
||||||
|
>
|
||||||
|
{!! format_money_pdf($item->tax, $invoice->user->currency) !!}
|
||||||
|
</td>
|
||||||
|
@endif
|
||||||
|
|
||||||
<td
|
<td
|
||||||
class="text-right item-cell"
|
class="text-right item-cell"
|
||||||
style="vertical-align: top;"
|
style="vertical-align: top;"
|
||||||
|
|||||||
Reference in New Issue
Block a user