Code refactoring
This commit is contained in:
parent
ec16828f3c
commit
16754115cb
@ -133,8 +133,6 @@
|
|||||||
@stack('item_custom_fields')
|
@stack('item_custom_fields')
|
||||||
</td>
|
</td>
|
||||||
<td class="border-top-0 p-0" colspan="4">
|
<td class="border-top-0 p-0" colspan="4">
|
||||||
<table class="w-100">
|
|
||||||
<tbody>
|
|
||||||
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
|
||||||
<div v-if="!row.add_tax || !row.add_discount" class="line-item-link">
|
<div v-if="!row.add_tax || !row.add_discount" class="line-item-link">
|
||||||
<div class="text-left border-0 p-0 mr-5">
|
<div class="text-left border-0 p-0 mr-5">
|
||||||
@ -195,10 +193,8 @@
|
|||||||
</button>
|
</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</tr>
|
|
||||||
</div>
|
</div>
|
||||||
@endif
|
@endif
|
||||||
|
|
||||||
<div class="line-item-area pb-3" v-for="(row_tax, row_tax_index) in row.tax_ids"
|
<div class="line-item-area pb-3" v-for="(row_tax, row_tax_index) in row.tax_ids"
|
||||||
:index="row_tax_index">
|
:index="row_tax_index">
|
||||||
<div class="line-item-content">
|
<div class="line-item-content">
|
||||||
@ -299,10 +295,8 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</tbody>
|
|
||||||
</table>
|
|
||||||
</td>
|
</td>
|
||||||
<tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user