Code refactoring

This commit is contained in:
Burak Civan 2021-06-07 09:49:28 +03:00
parent ec16828f3c
commit 16754115cb

View File

@ -133,8 +133,6 @@
@stack('item_custom_fields')
</td>
<td class="border-top-0 p-0" colspan="4">
<table class="w-100">
<tbody>
@if (!$hideDiscount && in_array(setting('localisation.discount_location'), ['item', 'both']))
<div v-if="!row.add_tax || !row.add_discount" class="line-item-link">
<div class="text-left border-0 p-0 mr-5">
@ -195,10 +193,8 @@
</button>
</div>
</div>
</tr>
</div>
@endif
<div class="line-item-area pb-3" v-for="(row_tax, row_tax_index) in row.tax_ids"
:index="row_tax_index">
<div class="line-item-content">
@ -299,10 +295,8 @@
</div>
</div>
</div>
</tbody>
</table>
</td>
<tr>
</tr>
</tbody>
</table>
</td>