mirror of
https://github.com/crater-invoice/crater.git
synced 2025-10-27 19:51:09 -04:00
fix total discount issue
This commit is contained in:
@ -94,7 +94,7 @@
|
|||||||
</tr>
|
</tr>
|
||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
@if($estimate->discount > 0)
|
||||||
@if ($estimate->discount_per_item === 'NO')
|
@if ($estimate->discount_per_item === 'NO')
|
||||||
<tr>
|
<tr>
|
||||||
<td class="pl-10 border-0 total-table-attribute-label">
|
<td class="pl-10 border-0 total-table-attribute-label">
|
||||||
@ -115,6 +115,7 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
@endif
|
||||||
<tr>
|
<tr>
|
||||||
<td class="py-3"></td>
|
<td class="py-3"></td>
|
||||||
<td class="py-3"></td>
|
<td class="py-3"></td>
|
||||||
|
|||||||
@ -39,6 +39,7 @@
|
|||||||
>
|
>
|
||||||
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
@if($invoice->discount_per_item === 'YES')
|
@if($invoice->discount_per_item === 'YES')
|
||||||
<td
|
<td
|
||||||
class="pl-10 text-right item-cell"
|
class="pl-10 text-right item-cell"
|
||||||
@ -52,6 +53,7 @@
|
|||||||
@endif
|
@endif
|
||||||
</td>
|
</td>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<td
|
<td
|
||||||
class="text-right item-cell"
|
class="text-right item-cell"
|
||||||
style="vertical-align: top;"
|
style="vertical-align: top;"
|
||||||
@ -100,6 +102,7 @@
|
|||||||
@endforeach
|
@endforeach
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
|
@if($invoice->discount > 0)
|
||||||
@if ($invoice->discount_per_item === 'NO')
|
@if ($invoice->discount_per_item === 'NO')
|
||||||
<tr>
|
<tr>
|
||||||
<td class="border-0 total-table-attribute-label">
|
<td class="border-0 total-table-attribute-label">
|
||||||
@ -120,6 +123,8 @@
|
|||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
@endif
|
@endif
|
||||||
|
@endif
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<td class="py-3"></td>
|
<td class="py-3"></td>
|
||||||
<td class="py-3"></td>
|
<td class="py-3"></td>
|
||||||
|
|||||||
Reference in New Issue
Block a user