document item discount some changes..

This commit is contained in:
Cüneyt Şentürk
2021-01-04 00:25:39 +03:00
parent 437b0a7daf
commit 4fd4839dcf
5 changed files with 37 additions and 37 deletions

View File

@ -68,12 +68,12 @@
</tr>
</thead>
<tbody id="invoice-item-rows">
<tbody id="{{ (!$hideDiscount && in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) ? 'invoice-item-discount-rows' : 'invoice-item-rows' }}" class="table-padding-05">
@include('components.documents.form.line-item')
@stack('add_item_td_start')
<tr id="addItem">
<td class="text-right border-bottom-0 p-0" colspan="{{ (!$hideDiscount && in_array(setting('localisation.discount_location', 'total'), ['item', 'both'])) ? 8 : 7 }}" :colspan="colspan">
<td class="text-right border-bottom-0 p-0" colspan="{{ 7 }}" :colspan="colspan">
<x-select-item-button
type="{{ $type }}"
is-sale="{{ $isSalePrice }}"