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>
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($estimate->discount > 0)
|
||||
@if ($estimate->discount_per_item === 'NO')
|
||||
<tr>
|
||||
<td class="pl-10 border-0 total-table-attribute-label">
|
||||
@ -115,6 +115,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
<tr>
|
||||
<td class="py-3"></td>
|
||||
<td class="py-3"></td>
|
||||
|
||||
@ -39,6 +39,7 @@
|
||||
>
|
||||
{!! format_money_pdf($item->price, $invoice->user->currency) !!}
|
||||
</td>
|
||||
|
||||
@if($invoice->discount_per_item === 'YES')
|
||||
<td
|
||||
class="pl-10 text-right item-cell"
|
||||
@ -52,6 +53,7 @@
|
||||
@endif
|
||||
</td>
|
||||
@endif
|
||||
|
||||
<td
|
||||
class="text-right item-cell"
|
||||
style="vertical-align: top;"
|
||||
@ -100,6 +102,7 @@
|
||||
@endforeach
|
||||
@endif
|
||||
|
||||
@if($invoice->discount > 0)
|
||||
@if ($invoice->discount_per_item === 'NO')
|
||||
<tr>
|
||||
<td class="border-0 total-table-attribute-label">
|
||||
@ -120,6 +123,8 @@
|
||||
</td>
|
||||
</tr>
|
||||
@endif
|
||||
@endif
|
||||
|
||||
<tr>
|
||||
<td class="py-3"></td>
|
||||
<td class="py-3"></td>
|
||||
|
||||
Reference in New Issue
Block a user