Adding discount as an amount #kbcqjv

This commit is contained in:
Burak Çakırel
2021-08-15 17:20:39 +01:00
parent 538e116fb2
commit e8720c6a8a
6 changed files with 44 additions and 30 deletions

View File

@ -33,7 +33,11 @@
@if (!$hideDiscount)
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
@stack('discount_td_start')
<td class="discount">{{ $item->discount }}</td>
@if ($item->discount_type === 'normal')
<td class="discount">{{ $item->discount }}</td>
@else
<td class="discount">@money($item->discount, $document->currency_code, true)</td>
@endif
@stack('discount_td_end')
@endif
@endif