|
@@ -53,10 +53,10 @@
|
|
<div class="form-group d-flex flex-column mb-2">
|
|
<div class="form-group d-flex flex-column mb-2">
|
|
<label class="m-0 overflow-hidden text-nowrap">{{ $formB['FormVars']['Title']['AutoSlipNo'] }}</label>
|
|
<label class="m-0 overflow-hidden text-nowrap">{{ $formB['FormVars']['Title']['AutoSlipNo'] }}</label>
|
|
<div class="col-12 d-flex p-0">
|
|
<div class="col-12 d-flex p-0">
|
|
- <!-- <button id="auto-slip-no-btn" class="btn-dark border-white rounded overflow-hidden col-3 text-center text-white text-nowrap radius-r0"
|
|
|
|
- onclick="get_last_slip_no(this)">
|
|
|
|
- <span class="icon-cogs"></span> -->
|
|
|
|
- </button>
|
|
|
|
|
|
+ {{-- <button id="auto-slip-no-btn" class="btn-dark border-white rounded overflow-hidden col-3 text-center text-white text-nowrap radius-r0" --}}
|
|
|
|
+ {{-- onclick="get_last_slip_no(this)"> --}}
|
|
|
|
+ {{-- <span class="icon-cogs"></span> --}}
|
|
|
|
+ {{-- </button> --}}
|
|
<input type="text" id="auto-slip-no-txt" class="rounded w-100 radius-l0" autocomplete="off" disabled
|
|
<input type="text" id="auto-slip-no-txt" class="rounded w-100 radius-l0" autocomplete="off" disabled
|
|
maxlength="{{ $formB['FormVars']['MaxLength']['AutoSlipNo'] }}"
|
|
maxlength="{{ $formB['FormVars']['MaxLength']['AutoSlipNo'] }}"
|
|
{{ $formB['FormVars']['Required']['AutoSlipNo'] }}>
|
|
{{ $formB['FormVars']['Required']['AutoSlipNo'] }}>
|
|
@@ -370,6 +370,16 @@
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+ $('#porder-table-body').on('click', 'tr', function() {
|
|
|
|
+ // Find the input element with name="bd-cursor-state" within the clicked row
|
|
|
|
+ const $bdCursorStateInput = $(this).find('input[name="bd-cursor-state"]');
|
|
|
|
+ console.log('bdCursorStateInput : ', $bdCursorStateInput)
|
|
|
|
+ if ($bdCursorStateInput.length) {
|
|
|
|
+ $($bdCursorStateInput).prop('checked', true)
|
|
|
|
+ Btype.bd_cursor_click($bdCursorStateInput)
|
|
|
|
+ }
|
|
|
|
+ });
|
|
|
|
+
|
|
$('.porder-act').on('click', function () {
|
|
$('.porder-act').on('click', function () {
|
|
// console.log($(this).data('value'))
|
|
// console.log($(this).data('value'))
|
|
switch( $(this).data('value') ) {
|
|
switch( $(this).data('value') ) {
|
|
@@ -537,7 +547,9 @@
|
|
Btype.body_act_success_callback($this, tr);
|
|
Btype.body_act_success_callback($this, tr);
|
|
Btype.check_the_checkbox_when_changing($this, false)
|
|
Btype.check_the_checkbox_when_changing($this, false)
|
|
});
|
|
});
|
|
|
|
+ console.log('필수데이터 노누락');
|
|
} else {
|
|
} else {
|
|
|
|
+ console.log('필수데이터 누락');
|
|
iziToast.error({
|
|
iziToast.error({
|
|
title: 'Error',
|
|
title: 'Error',
|
|
message: @json(_e('(*)Required item(s) omitted')),
|
|
message: @json(_e('(*)Required item(s) omitted')),
|
|
@@ -547,8 +559,11 @@
|
|
|
|
|
|
// start body act btn
|
|
// start body act btn
|
|
async function btn_bd_act_add() {
|
|
async function btn_bd_act_add() {
|
|
- if (parseInt($(`#frm`).find(`input[name="Id"]`).val()) == 0 && formB['SlipCommonSetup']['IsAutoSaveHdByItemButton']) {
|
|
|
|
|
|
+ // if (parseInt($(`#frm`).find(`input[name="Id"]`).val()) == 0 && formB['SlipCommonSetup']['IsAutoSaveHdByItemButton']) {
|
|
|
|
+ if (parseInt($(`#frm`).find(`input[name="Id"]`).val()) == 0) {
|
|
if (! await Btype.btn_act_add_chain('#porder-form #frm')) { return }
|
|
if (! await Btype.btn_act_add_chain('#porder-form #frm')) { return }
|
|
|
|
+ }else{
|
|
|
|
+ console.log('formb.SlipCommonSetup : ', formB['SlipCommonSetup']);
|
|
}
|
|
}
|
|
|
|
|
|
if (! Btype.last_item_added_check('#porder-table-body')) {
|
|
if (! Btype.last_item_added_check('#porder-table-body')) {
|
|
@@ -800,7 +815,7 @@
|
|
// 품목코드, 수량, 단가, 공급가액, 세액, 합계금액
|
|
// 품목코드, 수량, 단가, 공급가액, 세액, 합계금액
|
|
html.push (
|
|
html.push (
|
|
`<tr>
|
|
`<tr>
|
|
- <td class="text-${formB.ListVars['Align'].$Radio} px-import-0">
|
|
|
|
|
|
+ <td class="text-${formB.ListVars['Align'].$Radio} px-import-0" ${formB.ListVars['Hidden'].$Radio}>
|
|
<input name="bd-cursor-state" type="radio" value="1" tabindex="-1"
|
|
<input name="bd-cursor-state" type="radio" value="1" tabindex="-1"
|
|
class="text-${formB.ListVars['Align'].$Radio}"
|
|
class="text-${formB.ListVars['Align'].$Radio}"
|
|
onclick="Btype.bd_cursor_click(this)">
|
|
onclick="Btype.bd_cursor_click(this)">
|
|
@@ -812,13 +827,13 @@
|
|
<td onkeydown="Btype.enterPressedinCell(event)"
|
|
<td onkeydown="Btype.enterPressedinCell(event)"
|
|
class="text-${formB.ListVars['Align'].ItemCode}" ${formB.ListVars['Hidden'].ItemCode}
|
|
class="text-${formB.ListVars['Align'].ItemCode}" ${formB.ListVars['Hidden'].ItemCode}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].ItemCode} border-0 bg-white" value="${bd.ItemCode}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].ItemCode} border-0 bg-white" value="${bd.ItemCode}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
</td>
|
|
</td>
|
|
<td onkeydown="Btype.enterPressedinCell(event, 2)"
|
|
<td onkeydown="Btype.enterPressedinCell(event, 2)"
|
|
class="text-${formB.ListVars['Align'].ItemName}" ${formB.ListVars['Hidden'].ItemName}
|
|
class="text-${formB.ListVars['Align'].ItemName}" ${formB.ListVars['Hidden'].ItemName}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].ItemName} border-0 bg-white" value="${bd.ItemName}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].ItemName} border-0 bg-white" value="${bd.ItemName}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
</td>
|
|
</td>
|
|
<td
|
|
<td
|
|
@@ -830,7 +845,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].PorderQty}" ${formB.ListVars['Hidden'].PorderQty}
|
|
class="text-${formB.ListVars['Align'].PorderQty}" ${formB.ListVars['Hidden'].PorderQty}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].PorderQty} border-0 bg-white" value="${format_conver_for(bd.PorderQty, formB.ListVars['Format'].PorderQty)}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].PorderQty} border-0 bg-white" value="${format_conver_for(bd.PorderQty, formB.ListVars['Format'].PorderQty)}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
required>
|
|
required>
|
|
@@ -838,7 +853,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].PorderPrc}" ${formB.ListVars['Hidden'].PorderPrc}
|
|
class="text-${formB.ListVars['Align'].PorderPrc}" ${formB.ListVars['Hidden'].PorderPrc}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].PorderPrc} border-0 bg-white" value="${format_conver_for(bd.PorderPrc, formB.ListVars['Format'].PorderPrc)}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].PorderPrc} border-0 bg-white" value="${format_conver_for(bd.PorderPrc, formB.ListVars['Format'].PorderPrc)}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
required>
|
|
required>
|
|
@@ -846,7 +861,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].SupplyAmt}" ${formB.ListVars['Hidden'].SupplyAmt}
|
|
class="text-${formB.ListVars['Align'].SupplyAmt}" ${formB.ListVars['Hidden'].SupplyAmt}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].SupplyAmt} border-0 bg-white" value="${format_conver_for(bd.PorderSupply, formB.ListVars['Format'].SupplyAmt)}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].SupplyAmt} border-0 bg-white" value="${format_conver_for(bd.PorderSupply, formB.ListVars['Format'].SupplyAmt)}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
required>
|
|
required>
|
|
@@ -854,7 +869,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].VatAmt}" ${formB.ListVars['Hidden'].VatAmt}
|
|
class="text-${formB.ListVars['Align'].VatAmt}" ${formB.ListVars['Hidden'].VatAmt}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].VatAmt} border-0 bg-white" value="${format_conver_for(bd.PorderVat, formB.ListVars['Format'].VatAmt)}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].VatAmt} border-0 bg-white" value="${format_conver_for(bd.PorderVat, formB.ListVars['Format'].VatAmt)}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
required>
|
|
required>
|
|
@@ -862,7 +877,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].SumAmt}" ${formB.ListVars['Hidden'].SumAmt}
|
|
class="text-${formB.ListVars['Align'].SumAmt}" ${formB.ListVars['Hidden'].SumAmt}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].SumAmt} border-0 bg-white" value="${format_conver_for(bd.PorderSum, formB.ListVars['Format'].SumAmt)}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].SumAmt} border-0 bg-white" value="${format_conver_for(bd.PorderSum, formB.ListVars['Format'].SumAmt)}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_custom_sum_amt()"
|
|
onfocusout="override_custom_sum_amt()"
|
|
required>
|
|
required>
|
|
@@ -873,7 +888,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].ConfirmDate}" ${formB.ListVars['Hidden'].ConfirmDate}
|
|
class="text-${formB.ListVars['Align'].ConfirmDate}" ${formB.ListVars['Hidden'].ConfirmDate}
|
|
>
|
|
>
|
|
- <input type="date" class="text-${formB.ListVars['Align'].ConfirmDate} border-0 bg-white" value="${isEmpty(bd.ConfirmDate) ? '' : moment(bd.ConfirmDate).format('YYYY-MM-DD')}" disabled
|
|
|
|
|
|
+ <input type="date" class="text-${formB.ListVars['Align'].ConfirmDate} border-0 bg-white" value="${isEmpty(bd.ConfirmDate) ? '' : moment(bd.ConfirmDate).format('YYYY-MM-DD')}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
</td>
|
|
</td>
|
|
@@ -881,7 +896,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].DeliDate}" ${formB.ListVars['Hidden'].DeliDate}
|
|
class="text-${formB.ListVars['Align'].DeliDate}" ${formB.ListVars['Hidden'].DeliDate}
|
|
>
|
|
>
|
|
- <input type="date" class="text-${formB.ListVars['Align'].DeliDate} border-0 bg-white" value="${isEmpty(bd.DeliDate) ? '' : moment(bd.DeliDate).format('YYYY-MM-DD')}" disabled
|
|
|
|
|
|
+ <input type="date" class="text-${formB.ListVars['Align'].DeliDate} border-0 bg-white" value="${isEmpty(bd.DeliDate) ? '' : moment(bd.DeliDate).format('YYYY-MM-DD')}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()"
|
|
onfocusout="save_data_when_entering_text()"
|
|
required>
|
|
required>
|
|
@@ -889,7 +904,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].Ref1}" ${formB.ListVars['Hidden'].Ref1}
|
|
class="text-${formB.ListVars['Align'].Ref1}" ${formB.ListVars['Hidden'].Ref1}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].Ref1} border-0 bg-white" value="${bd.Ref1}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].Ref1} border-0 bg-white" value="${bd.Ref1}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
</td>
|
|
</td>
|
|
@@ -897,7 +912,7 @@
|
|
onfocusout="add_td_last_tap_out(this, ${bd.Id})"
|
|
onfocusout="add_td_last_tap_out(this, ${bd.Id})"
|
|
class="text-${formB.ListVars['Align'].Ref2}" ${formB.ListVars['Hidden'].Ref2}
|
|
class="text-${formB.ListVars['Align'].Ref2}" ${formB.ListVars['Hidden'].Ref2}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white" value="${bd.Ref2}" disabled
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white" value="${bd.Ref2}" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
</td>
|
|
</td>
|
|
@@ -926,7 +941,7 @@
|
|
|
|
|
|
let html =
|
|
let html =
|
|
`<tr>
|
|
`<tr>
|
|
- <td class="text-${formB.ListVars['Align'].$Radio} px-import-0">
|
|
|
|
|
|
+ <td class="text-${formB.ListVars['Align'].$Radio} px-import-0" ${formB.ListVars['Hidden'].$Radio}>
|
|
<input name="bd-cursor-state" type="radio" value="1" tabindex="-1"
|
|
<input name="bd-cursor-state" type="radio" value="1" tabindex="-1"
|
|
class="text-${formB.ListVars['Align'].$Radio}"
|
|
class="text-${formB.ListVars['Align'].$Radio}"
|
|
id="bd-cursor-state-${last_bd_id_inc}"
|
|
id="bd-cursor-state-${last_bd_id_inc}"
|
|
@@ -939,14 +954,14 @@
|
|
<td onkeydown="Btype.enterPressedinCell(event)"
|
|
<td onkeydown="Btype.enterPressedinCell(event)"
|
|
class="text-${formB.ListVars['Align'].ItemCode}" ${formB.ListVars['Hidden'].ItemCode}
|
|
class="text-${formB.ListVars['Align'].ItemCode}" ${formB.ListVars['Hidden'].ItemCode}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].ItemCode} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].ItemCode} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
id="item-code-${last_bd_id_inc}" required>
|
|
id="item-code-${last_bd_id_inc}" required>
|
|
</td>
|
|
</td>
|
|
<td onkeydown="Btype.enterPressedinCell(event, 2)"
|
|
<td onkeydown="Btype.enterPressedinCell(event, 2)"
|
|
class="text-${formB.ListVars['Align'].ItemName}" ${formB.ListVars['Hidden'].ItemName}
|
|
class="text-${formB.ListVars['Align'].ItemName}" ${formB.ListVars['Hidden'].ItemName}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].ItemName} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].ItemName} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
onchange="Btype.check_the_checkbox_when_changing(this)" required>
|
|
</td>
|
|
</td>
|
|
<td
|
|
<td
|
|
@@ -958,7 +973,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].PorderQty}" ${formB.ListVars['Hidden'].PorderQty}
|
|
class="text-${formB.ListVars['Align'].PorderQty}" ${formB.ListVars['Hidden'].PorderQty}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].PorderQty} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].PorderQty} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
required>
|
|
required>
|
|
@@ -966,7 +981,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].PorderPrc}" ${formB.ListVars['Hidden'].PorderPrc}
|
|
class="text-${formB.ListVars['Align'].PorderPrc}" ${formB.ListVars['Hidden'].PorderPrc}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].PorderPrc} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].PorderPrc} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
onfocusout="override_amt_calc_txt_is_changed()"
|
|
required>
|
|
required>
|
|
@@ -974,7 +989,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].SupplyAmt}" ${formB.ListVars['Hidden'].SupplyAmt}
|
|
class="text-${formB.ListVars['Align'].SupplyAmt}" ${formB.ListVars['Hidden'].SupplyAmt}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].SupplyAmt} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].SupplyAmt} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
required>
|
|
required>
|
|
@@ -982,13 +997,13 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].VatAmt}" ${formB.ListVars['Hidden'].VatAmt}
|
|
class="text-${formB.ListVars['Align'].VatAmt}" ${formB.ListVars['Hidden'].VatAmt}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].VatAmt} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].VatAmt} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
onfocusout="override_custom_supply_amt_or_vat_amt()"
|
|
required>
|
|
required>
|
|
</td>
|
|
</td>
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
- class="text-${formB.ListVars['Align'].SumAmt}" ${formB.ListVars['Hidden'].SumAmt}
|
|
|
|
|
|
+ class="text-${formB.ListVars['Align'].SumAmt}" ${formB.ListVars['Hidden'].SumAmt} readonly
|
|
>
|
|
>
|
|
<input type="text" class="text-${formB.ListVars['Align'].SumAmt} border-0 bg-white"
|
|
<input type="text" class="text-${formB.ListVars['Align'].SumAmt} border-0 bg-white"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
@@ -1001,7 +1016,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].ConfirmDate}" ${formB.ListVars['Hidden'].ConfirmDate}
|
|
class="text-${formB.ListVars['Align'].ConfirmDate}" ${formB.ListVars['Hidden'].ConfirmDate}
|
|
>
|
|
>
|
|
- <input type="date" class="text-${formB.ListVars['Align'].ConfirmDate} border-0 bg-white"
|
|
|
|
|
|
+ <input type="date" class="text-${formB.ListVars['Align'].ConfirmDate} border-0 bg-white" readonly
|
|
value="${moment().format('YYYY-MM-DD')}"
|
|
value="${moment().format('YYYY-MM-DD')}"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
@@ -1010,7 +1025,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].DeliDate}" ${formB.ListVars['Hidden'].DeliDate}
|
|
class="text-${formB.ListVars['Align'].DeliDate}" ${formB.ListVars['Hidden'].DeliDate}
|
|
>
|
|
>
|
|
- <input type="date" class="text-${formB.ListVars['Align'].DeliDate} border-0 bg-white"
|
|
|
|
|
|
+ <input type="date" class="text-${formB.ListVars['Align'].DeliDate} border-0 bg-white" readonly
|
|
value="${moment().format('YYYY-MM-DD')}"
|
|
value="${moment().format('YYYY-MM-DD')}"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()"
|
|
onfocusout="save_data_when_entering_text()"
|
|
@@ -1019,7 +1034,7 @@
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
<td onkeydown="Btype.handleEnterPressedinTabCell(event)"
|
|
class="text-${formB.ListVars['Align'].Ref1}" ${formB.ListVars['Hidden'].Ref1}
|
|
class="text-${formB.ListVars['Align'].Ref1}" ${formB.ListVars['Hidden'].Ref1}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].Ref1} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].Ref1} border-0 bg-white" readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
</td>
|
|
</td>
|
|
@@ -1027,7 +1042,7 @@
|
|
data-last=true onfocusout="add_td_last_tap_out(this, ${last_bd_id_inc})"
|
|
data-last=true onfocusout="add_td_last_tap_out(this, ${last_bd_id_inc})"
|
|
class="text-${formB.ListVars['Align'].Ref2}" ${formB.ListVars['Hidden'].Ref2}
|
|
class="text-${formB.ListVars['Align'].Ref2}" ${formB.ListVars['Hidden'].Ref2}
|
|
>
|
|
>
|
|
- <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white"
|
|
|
|
|
|
+ <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white"readonly
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onchange="Btype.check_the_checkbox_when_changing(this)"
|
|
onfocusout="save_data_when_entering_text()">
|
|
onfocusout="save_data_when_entering_text()">
|
|
</td>
|
|
</td>
|