added show page item custom field..
This commit is contained in:
parent
0c2c5dd890
commit
97fa754eb7
@ -146,17 +146,29 @@
|
|||||||
@stack('delete_td_end')
|
@stack('delete_td_end')
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
@if (in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
<tr>
|
||||||
<tr v-if="!row.add_tax || !row.add_discount">
|
<td colspan="3">
|
||||||
<td colspan="3" style="border: 0;">
|
@stack('item_custom_fields')
|
||||||
</td>
|
</td>
|
||||||
<td colspan="1" style="border: 0;">
|
|
||||||
<div>
|
<td colspan="4" class="p-0">
|
||||||
|
<table class="w-100">
|
||||||
|
<colgroup>
|
||||||
|
<col style="width: 100px;">
|
||||||
|
<col style="width: 100px;">
|
||||||
|
<col style="width: 250px;">
|
||||||
|
<col style="width: 40px;">
|
||||||
|
</colgroup>
|
||||||
|
<tbody>
|
||||||
|
@if (!in_array(setting('localisation.discount_location', 'total'), ['item', 'both']))
|
||||||
|
<tr v-if="!row.add_tax || !row.add_discount">
|
||||||
|
<td colspan="1" style="border: 0; max-width: 100px; border: 0px; padding-left: 10px;">
|
||||||
|
<div style="max-width: 100px;">
|
||||||
<button type="button" class="btn btn-link btn-sm p-0" @click="onAddDiscount(index)" v-if="!discount">Add Discount</button>
|
<button type="button" class="btn btn-link btn-sm p-0" @click="onAddDiscount(index)" v-if="!discount">Add Discount</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
<td colspan="1" style="border: 0;">
|
<td colspan="1" style="border: 0; max-width: 100px; border: 0px; padding-right: 10px; text-align: right;">
|
||||||
<div>
|
<div style="max-width: 100px;">
|
||||||
<button type="button" class="btn btn-link btn-sm p-0" @click="onAddTax(index)" v-if="!tax">Add Tax</button>
|
<button type="button" class="btn btn-link btn-sm p-0" @click="onAddTax(index)" v-if="!tax">Add Tax</button>
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
@ -215,13 +227,10 @@
|
|||||||
<tr v-for="(row_tax, row_tax_index) in row.tax_ids"
|
<tr v-for="(row_tax, row_tax_index) in row.tax_ids"
|
||||||
:index="row_tax_index">
|
:index="row_tax_index">
|
||||||
@endif
|
@endif
|
||||||
<td class="pb-0" colspan="2" style="border: 0;">
|
<td colspan="2" class="pb-0" style="border: 0; padding-right: 5px; padding-left: 5px;" >
|
||||||
</td>
|
<div style="margin-left: -30px; margin-right: 35px;">
|
||||||
<td class="pb-0 pr-0 align-middle text-right long-texts" colspan="1" style="border: 0;">
|
<span style="float: left; margin-right: 10px; margin-top: 15px;">{{ trans_choice('general.taxes', 1) }}</span>
|
||||||
<span class="invoice-item-row-tax-section__tax__add__label">{{ trans_choice('general.taxes', 1) }}</span>
|
|
||||||
</td>
|
|
||||||
<td class="pb-0" colspan="2" style="border: 0; padding-right: 5px; padding-left: 5px;" >
|
|
||||||
<div>
|
|
||||||
@stack('taxes_input_start')
|
@stack('taxes_input_start')
|
||||||
<akaunting-select
|
<akaunting-select
|
||||||
class="mb-0 select-tax"
|
class="mb-0 select-tax"
|
||||||
@ -256,13 +265,10 @@
|
|||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr v-if="row.add_tax">
|
<tr v-if="row.add_tax">
|
||||||
<td class="pb-0" colspan="2" style="border: 0;">
|
|
||||||
</td>
|
|
||||||
<td class="pb-0 pr-0 align-middle text-right long-texts" colspan="1" style="border: 0;">
|
|
||||||
<span class="invoice-item-row-tax-section__tax__add__label">{{ trans_choice('general.taxes', 1) }}</span>
|
|
||||||
</td>
|
|
||||||
<td colspan="2" style="border: 0; padding-right: 5px; padding-left: 5px;">
|
<td colspan="2" style="border: 0; padding-right: 5px; padding-left: 5px;">
|
||||||
<div>
|
<div style="margin-left: -30px; margin-right:35px;">
|
||||||
|
<span style="float: left; margin-right: 10px; margin-top: 15px;">{{ trans_choice('general.taxes', 1) }}</span>
|
||||||
|
|
||||||
@stack('taxes_input_start')
|
@stack('taxes_input_start')
|
||||||
<akaunting-select
|
<akaunting-select
|
||||||
class="mb-0 select-tax"
|
class="mb-0 select-tax"
|
||||||
@ -317,5 +323,9 @@
|
|||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</td>
|
</td>
|
||||||
|
<tr>
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</td>
|
||||||
@stack('name_td_end')
|
@stack('name_td_end')
|
||||||
</tr>
|
</tr>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user