Rename discount type Normal => Percentage #kbcqjv

This commit is contained in:
Burak Çakırel
2021-08-15 22:35:05 +01:00
parent e8720c6a8a
commit 5aa6071e9b
6 changed files with 17 additions and 17 deletions

View File

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