fixed document show line discount text..

This commit is contained in:
Cüneyt Şentürk 2021-01-03 18:25:31 +03:00
parent 9ca1342665
commit b3e01f4b56
3 changed files with 3 additions and 3 deletions

View File

@ -186,7 +186,7 @@
@if (!$hideDiscount)
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
@stack('discount_td_start')
<td class="discount">{{ $item->discount }}</td>
<th class="discount">{{ trans('invoices.discount') }}</th>
@stack('discount_td_end')
@endif
@endif

View File

@ -173,7 +173,7 @@
@if (!$hideDiscount)
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
@stack('discount_td_start')
<td class="discount text-white">{{ $item->discount }}</td>
<th class="discount text-white">{{ trans('invoices.discount') }}</th>
@stack('discount_td_end')
@endif
@endif

View File

@ -161,7 +161,7 @@
@if (!$hideDiscount)
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
@stack('discount_td_start')
<td class="discount text-white">{{ $item->discount }}</td>
<th class="discount text-white">{{ trans('invoices.discount') }}</th>
@stack('discount_td_end')
@endif
@endif