Просмотр исходного кода

Merge remote-tracking branch 'refs/remotes/origin/master'

wngur6076 4 месяцев назад
Родитель
Сommit
47adf5ca6f

+ 39 - 32
dabory/para/erp/ko_KR/form/form-b/sales/sales.json

@@ -10,6 +10,16 @@
     },
 
     "HeadSelectOptions": [
+        {
+            "Value": "new",
+            "Caption": "추가",
+            "Parameter": ""
+        },
+        {
+            "Value": "save-and-new",
+            "Caption": "저장후 추가",
+            "Parameter": ""
+        },
         {
             "Value": "copy-to-another",
             "Caption": "수주에서 매출으로 복사",
@@ -62,26 +72,26 @@
     "FormVars": [
         {
             "SaveButton": "저장",
-            "AddNewBdButton": "",
-            "AutoSlipNo": "매출번호*(자동채번 없슴)",
+            "AddNewBdButton": "항목추가",
+            "AutoSlipNo": "매출번호*(자동채번)",
             "SalesDate": "매출일자*",
             "StockDate": "수불일자*",
-            "SorderNo": "수주번호#",
-            "Status": "상황#",
-            "Supplier": "매출업체#",
-            "Contact": "업체담당자#",
-            "DealType": "거래구분#",
-            "VatType": "부가세#",
-            "VatTypeRate": "부가세율#",
-            "Delivery": "납품기한#",
-            "PayTerms": "지불조건#",
-            "Destination": "납품장소#",
+            "SorderNo": "수주번호*",
+            "Status": "상황",
+            "Supplier": "매출업체*",
+            "Contact": "업체담당자",
+            "DealType": "거래구분*",
+            "VatType": "부가세*",
+            "VatTypeRate": "부가세율",
+            "Delivery": "납품기한",
+            "PayTerms": "지불조건",
+            "Destination": "납품장소",
             "Column1": "컬럼1#",
             "Column2": "컬럼2#",
             "Remarks": "비고",
-            "IsClosed": "수주종결#",
-            "SgroupName": "영업부서#",
-            "UserName": "사용자명#"
+            "IsClosed": "수주종결",
+            "SgroupName": "영업부서*",
+            "UserName": "사용자명*"
         },
         {
             "SaveButton": "left",
@@ -135,12 +145,12 @@
             "AutoSlipNo": "required",
             "SalesDate": "required",
             "StockDate": "required",
-            "SorderNo": "",
+            "SorderNo": "required",
             "Status": "",
-            "Supplier": "",
+            "Supplier": "required",
             "Contact": "",
-            "DealType": "",
-            "VatType": "",
+            "DealType": "required",
+            "VatType": "required",
             "VatTypeRate": "",
             "Delivery": "",
             "PayTerms": "",
@@ -149,33 +159,32 @@
             "Column2": "",
             "Remarks": "",
             "IsClosed": "",
-            "SgroupName": "",
-            "UserName": ""
+            "SgroupName": "required",
+            "UserName": "required"
         }
     ],
 
     "// ListVars": "ListVars[0]-Caption, ListVars[1]-Size(%), ListVars[2]-align",
     "ListVars": [
         {
-            "$Radio": "$Radio",
+            "$Radio": "",
             "$Check": "$Check",
-            "ItemCode": "품목코드#",
-            "ItemName": "품명#",
+            "ItemCode": "품목코드*",
+            "ItemName": "품명*",
             "SubName": "서브명#",
             "CountUnit": "단위#",
             "SalesQty": "매출수량*",
-            "SorderPrc": "수주단가#",
+            "SorderPrc": "수주단가*",
             "SupplyAmt": "공급가액*",
             "VatAmt": "세액*",
             "SumAmt": "합계금액*",
             "StdSalesPrc": "표준매출가#",
-            "DeliDate": "확정납기일#",
-            "Ref1": "참고1#",
-            "Ref2": "참고2#",
+            "Ref1": "참고1",
+            "Ref2": "참고2",
             "SorderMemo": "품목설명(M)"
         },
         {
-            "$Radio": "3",
+            "$Radio": "",
             "$Check": "3",
             "ItemCode": "10",
             "ItemName": "30",
@@ -187,13 +196,12 @@
             "VatAmt": "10",
             "SumAmt": "10",
             "StdSalesPrc": "10",
-            "DeliDate": "8",
             "Ref1": "15",
             "Ref2": "15",
             "SorderMemo": "10"
         },
         {
-            "$Radio": "center",
+            "$Radio": "",
             "$Check": "center",
             "ItemCode": "left",
             "ItemName": "left",
@@ -205,7 +213,6 @@
             "VatAmt": "decimal('sales_amt')",
             "SumAmt": "decimal('sales_amt')",
             "StdSalesPrc": "decimal('sales_prc')",
-            "DeliDate": "YYYY-MM-DD",
             "Ref1": "right",
             "Ref2": "right",
             "SorderMemo": "left"

+ 4 - 1
dabory/para/erp/ko_KR/list/list-type1/stock/stock-io-sum-bal.json

@@ -169,8 +169,9 @@
             "D1": "이월재고",
             "D2": "입고량",
             "D3": "출고량",
-            "D4": "마감재고",
+            "D4": "마감(현)재고",
             "D5": "불량재고증감",
+            "D6": "마감불량재고",
             "C4": "품목구분",
             "C5": "구분코드"
         },
@@ -186,6 +187,7 @@
             "D3": "7",
             "D4": "7",
             "D5": "7",
+            "D6": "7",
             "C4": "8",
             "C5": "8"
         },
@@ -201,6 +203,7 @@
             "D3": "decimal('stock_qty', 'nz')",
             "D4": "decimal('stock_qty', 'nz')",
             "D5": "decimal('stock_qty', 'nz')",
+            "D6": "decimal('stock_qty', 'nz')",
             "C4": "left",
             "C5": "center"
         }

+ 1 - 1
dabory/para/erp/ko_KR/popup/popup-list1/stock-io-ledger-detail.json

@@ -189,7 +189,7 @@
             "$Radio": "center",
             "No": "center",
             "C1": "YY.MM.DD",
-            "C2": "deal_type('deal-type')",
+            "C2": "center",
             "C3": "left",
             "C4": "left",
             "D1": "decimal('stock_prc', 'zn')",

+ 47 - 44
resources/views/front/dabory/erp/purchase/porder.blade.php

@@ -126,9 +126,11 @@
                                         <select class="rounded w-100" data-closed="0" id="status-select" onchange="Btype.set_is_closed_val(this)"
                                                 maxlength="{{ $formB['FormVars']['MaxLength']['Status'] }}"
                                             {{ $formB['FormVars']['Required']['Status'] }}>
-                                            <option value=""></option>
-                                            <option value="{{ $formB['StatusOptions'][0]['Value'] }}">{{ $formB['StatusOptions'][0]['Caption'] }}</option>
-                                            <option value="{{ $formB['StatusOptions'][1]['Value'] }}">{{ $formB['StatusOptions'][1]['Caption'] }}</option>
+                                            @foreach ($codeTitle['status']['porder'] as $key => $status)
+                                                <option value="{{ $status['Code'] }}">
+                                                    {{ $status['Title'] }}
+                                                </option>
+                                            @endforeach
                                         </select>
                                     </div>
                                 </div>
@@ -348,7 +350,7 @@
 <script src="{{ csset('/js/modals-controller/b-type/common.js') }}"></script>
     <script>
         window.onload = async function () {
-            hdPage = [];
+            ThumbArr = [];
             make_dynamic_table_css('.porder-table', make_dynamic_table_px(formB['ListVars']['Size']))
 
             $('#porder-date').val(date_to_sting(new Date()))
@@ -491,7 +493,7 @@
                 SeqNo: bd.SeqNo,
                 ItemId: parseInt(bd.ItemId),
                 PorderQty: String(bd.PorderQty),
-                PurchBalQty: String(bd.PorderQty),
+                PurchBalQty : String(bd.PorderQty),
                 PorderPrc: String(bd.PorderPrc),
                 PorderSupply: String(bd.PorderSupply),
                 PorderVat: String(bd.PorderVat),
@@ -506,7 +508,6 @@
                 IsEnd: parseInt(bd.IsEnd),
                 Ip: window.User['Ip']
             }
-
             if (id < 0) {
                 parameter = { Id: id }
             } else if (id > 0) {
@@ -534,37 +535,31 @@
         }
 
         async function add_td_last_tap_out($this, id) {
-            let tr = $(`input[name='bd-cursor-state']:checked`).closest('tr')
-            let index = $(tr).prevAll().length
-
-            // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
-            if (bd_page[index].ItemId != 0 && ! dom_required_check($(tr).find(`input`))) {
-                if ($($this).data('last')) {
-                    let seq_no = await Btype.get_last_seq_no('porder', $('#auto-slip-no-txt').val())
-                    bd_page[index].SeqNo = seq_no;
+            Btype.btn_act_save('#porder-form #frm', async function () {
+                let tr = $(`input[name='bd-cursor-state']:checked`).closest('tr')
+                let index = $(tr).prevAll().length
+
+                // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
+                if (bd_page[index].ItemId != 0 && ! dom_required_check($(tr).find(`input`))) {
+                    if ($($this).data('last')) {
+                        let seq_no = await Btype.get_last_seq_no('porder', $('#auto-slip-no-txt').val())
+                        bd_page[index].SeqNo = seq_no;
+                    }
+
+                    Btype.call_bd_act_api([ get_bd_parameter(bd_page[index]) ], function (page) {
+                        bd_page[index].Id = page[0].Id;
+
+                        Btype.body_act_success_callback($this, tr);
+                        Btype.check_the_checkbox_when_changing($this, false)
+                        // Btype.btn_act_save('#porder-form #frm');
+                    });
+                } else {
+                    iziToast.error({
+                        title: 'Error',
+                        message: @json(_e('(*)Required item(s) omitted')),
+                    });
                 }
-
-                Btype.call_bd_act_api([ get_bd_parameter(bd_page[index]) ], function (page) {
-                    bd_page[index].Id = page[0].Id;
-
-                    Btype.body_act_success_callback($this, tr);
-                    Btype.check_the_checkbox_when_changing($this, false)
-                    Btype.btn_act_save('#porder-form #frm');
-                });
-                let itemCodeInput = $(tr).find(`input[type="text"]`).first();
-                let itemNameInput = $(tr).find(`input[type="text"]`).eq(1);
-                if (itemCodeInput.length > 0) {
-                    Btype.set_slip_no_btn_disabled(itemCodeInput)
-                    Btype.set_slip_no_btn_disabled(itemNameInput)
-                    // $(firstTextInput).addClass('border-0 bg-white')
-                    // $(firstTextInput).prop('readonly', true)
-                }
-            } else {
-                iziToast.error({
-                    title: 'Error',
-                    message: @json(_e('(*)Required item(s) omitted')),
-                });
-            }
+            });
         }
 
         // start body act btn
@@ -676,11 +671,13 @@
                     first_item += '_' + first_porder['SubName']
                 }
                 first_item += '(' + bd_page.length + ')'
-                first_thumb = first_porder['TurboThumb']
 
+                if(first_porder['TurboThumb']){
+                    first_thumb = first_porder['TurboThumb']
+                }
             }
             const itmtot_amt = bd_page.reduce((accumulator, bd) => {
-                return accumulator + parseFloat(bd.PorderSupply) //공급가액
+                return accumulator + parseFloat(bd.PorderSupply) + parseFloat(bd.PorderVat) // 합계금액 (공급가액 + 세액)
             }, 0)
 
             const total_qty = bd_page.reduce((accumulator, bd) => {
@@ -723,8 +720,7 @@
                 VatRate: vat_rate,
                 VatName: vat_name,
                 SgroupName: window.User['SgroupName'],
-                TotalQty : String(Number(total_qty) - 0),
-                // FirstThumb : first_thumb
+                TotalQty : String(Number(total_qty) - 0)
             }
 
             if (typeof first_thumb !== 'undefined') {
@@ -1088,14 +1084,14 @@
                     data-last=true onfocusout="add_td_last_tap_out(this, ${last_bd_id_inc})"
                     class="text-${formB.ListVars['Align'].Ref2}" ${formB.ListVars['Hidden'].Ref2}
                     >
-                    <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white"readonly
+                    <input type="text" class="text-${formB.ListVars['Align'].Ref2} border-0 bg-white" readonly
                     onchange="Btype.check_the_checkbox_when_changing(this)"
                     onfocusout="save_data_when_entering_text()">
                 </td>
                 <td
                     class="text-${formB.ListVars['Align'].PorderMemo}" ${formB.ListVars['Hidden'].PorderMemo}>
                     <textarea style="max-height: 30px;" class="rounded w-100 bg-white memo-textarea"
-                        ondblclick="Btype.dblclick_memo_textarea(this, ${last_bd_id_inc})" id="memo-textarea-${last_bd_id_inc}" role="button" readonly></textarea>
+                        ondblclick="Btype.dblclick_memo_textarea(this, ${last_bd_id_inc})" id="memo-textarea-${last_bd_id_inc}" role="button"></textarea>
                 </td>
             </tr>`;
 
@@ -1148,7 +1144,9 @@
             bd_page[index].CountUnit = item.CountUnit
             bd_page[index].PorderPrc = item.PurchPrc
             bd_page[index].StdPurchPrc = item.PurchPrc// override_amt_calc_txt_is_changed();
-            if (hdPage['FirstThumb'] == '') {
+            bd_page[index].TurboThumb = item.TurboThumb
+
+            if (!ThumbArr) { // item 받아왔을 때만 bd_page에 TurboThumb 저장
                 bd_page[index].TurboThumb = item.TurboThumb
             }
 
@@ -1169,9 +1167,14 @@
             Btype.set_slip_no_btn_disabled()
 
             let hd_page = response.data.HdPage[0]
-            hdPage = hd_page;
             bd_page = response.data.BdPage ?? []
 
+            let thumb = response.data.HdPage[0]['FirstThumb']
+
+            if(!thumb){
+                ThumbArr = thumb;
+            }
+
             $('#Id').val(hd_page.Id)
             $('#auto-slip-no-txt').val(hd_page.PorderNo)
             $('#porder-date').val(moment(to_date(hd_page.PorderDate)).format('YYYY-MM-DD'))

Разница между файлами не показана из-за своего большого размера
+ 403 - 228
resources/views/front/dabory/erp/revenue/sales.blade.php


+ 36 - 38
resources/views/front/dabory/erp/revenue/sorder.blade.php

@@ -56,7 +56,7 @@
                                         {{-- <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>--}}
                                             <input type="text" id="auto-slip-no-txt" class="rounded w-100 radius-l0" autocomplete="off" disabled
                                                    maxlength="{{ $formB['FormVars']['MaxLength']['AutoSlipNo'] }}"
                                                 {{ $formB['FormVars']['Required']['AutoSlipNo'] }}>
@@ -328,7 +328,8 @@
 <script src="{{ csset('/js/modals-controller/b-type/common.js') }}"></script>
     <script>
         window.onload = async function () {
-            hdPage = [];
+            ThumbArr = [];
+            //await Btype.fetch_slip_form_book(query['QueryVars']['FilterValue']);
             make_dynamic_table_css('.sorder-table', make_dynamic_table_px(formB['ListVars']['Size']))
 
             $('#sorder-date').val(date_to_sting(new Date()))
@@ -512,38 +513,29 @@
         }
 
         async function add_td_last_tap_out($this, id) {
-            let tr = $(`input[name='bd-cursor-state']:checked`).closest('tr')
-            let index = $(tr).prevAll().length
-
-            // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
-            if (bd_page[index].ItemId != 0 && ! dom_required_check($(tr).find(`input`))) {
-                if ($($this).data('last')) {
-                    let seq_no = await Btype.get_last_seq_no('sorder', $('#auto-slip-no-txt').val())
-                    bd_page[index].SeqNo = seq_no;
-                }
-
-                Btype.call_bd_act_api([ get_bd_parameter(bd_page[index]) ], function (page) {
-                    bd_page[index].Id = page[0].Id;
-                    body_act_success_callback($this, tr);
-                    Btype.check_the_checkbox_when_changing($this, false)
-                    Btype.btn_act_save('#sorder-form #frm');
-                });
-
-                let itemCodeInput = $(tr).find(`input[type="text"]`).first();
-                let itemNameInput = $(tr).find(`input[type="text"]`).eq(1);
-                if (itemCodeInput.length > 0) {
-                    Btype.set_slip_no_btn_disabled(itemCodeInput)
-                    Btype.set_slip_no_btn_disabled(itemNameInput)
-                    // $(firstTextInput).addClass('border-0 bg-white')
-                    // $(firstTextInput).prop('readonly', true)
+            Btype.btn_act_save('#sorder-form #frm', async function () {
+                let tr = $(`input[name='bd-cursor-state']:checked`).closest('tr')
+                let index = $(tr).prevAll().length
+
+                // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
+                if (bd_page[index].ItemId != 0 && ! dom_required_check($(tr).find(`input`))) {
+                    if ($($this).data('last')) {
+                        let seq_no = await Btype.get_last_seq_no('sorder', $('#auto-slip-no-txt').val())
+                        bd_page[index].SeqNo = seq_no;
+                    }
+
+                    Btype.call_bd_act_api([ get_bd_parameter(bd_page[index]) ], function (page) {
+                        bd_page[index].Id = page[0].Id;
+                        body_act_success_callback($this, tr);
+                        Btype.check_the_checkbox_when_changing($this, false)
+                    });
+                } else {
+                    iziToast.error({
+                        title: 'Error',
+                        message: @json(_e('(*)Required item(s) omitted')),
+                    });
                 }
-
-            } else {
-                iziToast.error({
-                    title: 'Error',
-                    message: @json(_e('(*)Required item(s) omitted')),
-                });
-            }
+            });
         }
 
         function body_act_success_callback($this, tr) {
@@ -686,10 +678,13 @@
                     first_item += '_' + first_sorder['SubName']
                 }
                 first_item += '(' + bd_page.length + ')'
-                first_thumb = first_sorder['TurboThumb']
+
+                if(first_sorder['TurboThumb']){
+                    first_thumb = first_sorder['TurboThumb']
+                }
             }
             const itmtot_amt = bd_page.reduce((accumulator, bd) => {
-                return accumulator + parseFloat(bd.SorderSupply)
+                return accumulator + parseFloat(bd.SorderSupply) + parseFloat(bd.SorderVat) // 합계금액 (공급가액 + 세액)
             }, 0)
 
             const total_qty = bd_page.reduce((accumulator, bd) => {
@@ -744,7 +739,6 @@
                 delete parameter.UpdatedOn;
             }
 
-            // console.log(parameter)
             return parameter;
         }
 
@@ -1173,7 +1167,7 @@
             bd_page[index].CurrPurchPrc = item.PurchPrc
             bd_page[index].CurrSalesPrc = item.SalesPrc// override_amt_calc_txt_is_changed();
 
-            if (hdPage['FirstThumb'] == '') {
+            if (!ThumbArr) { // item 받아왔을 때만 bd_page에 TurboThumb 저장
                 bd_page[index].TurboThumb = item.TurboThumb
             }
 
@@ -1193,8 +1187,12 @@
             Btype.set_slip_no_btn_disabled()
 
             let hd_page = response.data.HdPage[0]
-            hdPage = hd_page;
             bd_page = response.data.BdPage ?? []
+            let thumb = response.data.HdPage[0]['FirstThumb']
+
+            if(!thumb){
+                ThumbArr = thumb;
+            }
 
             $('#Id').val(hd_page.Id)
             $('#auto-slip-no-txt').val(hd_page.SorderNo)

+ 2 - 2
resources/views/front/dabory/erp/sales/squote.blade.php

@@ -498,7 +498,7 @@
                 first_item += '(' + bd_page.length + ')'
             }
             const itmtot_amt = bd_page.reduce((accumulator, bd) => {
-                return accumulator + parseFloat(bd.SquoteSupply)
+                return accumulator + parseFloat(bd.SquoteSupply) + parseFloat(bd.SquoteVat) // 합계금액 (공급가액 + 세액)
             }, 0)
             let id = parseInt($(`#frm`).find(`input[name="Id"]`).val());
             let parameter = {
@@ -856,7 +856,7 @@
             $(tr).children('td:eq(3)').find('input').val(item.ItemName)
             $(tr).children('td:eq(4)').text(item.SubName)
             $(tr).children('td:eq(5)').text(item.CountUnit)
-            $(tr).children('td:eq(6)').find('input').val(1)
+            $(tr).children('td:eq(6)').find('input').val()
             $(tr).children('td:eq(7)').find('input').val(parseFloat(item.PurchPrc).toFixed(window.User['PurchPrcPoint']))
             $(tr).children('td:eq(11)').text(parseFloat(item.SalesPrc).toFixed(window.User['PurchPrcPoint']))
 

+ 1 - 1
resources/views/front/dabory/erp/stock/genio.blade.php

@@ -354,7 +354,7 @@
                 first_item += '(' + GenioCorrect.bd_page.length + ')'
             }
             const itmtot_amt = GenioCorrect.bd_page.reduce((accumulator, bd) => {
-                return accumulator + parseFloat(bd.GenioSupply)
+                return accumulator + parseFloat(bd.GenioSupply) + parseFloat(bd.GenioVat) // 합계금액 (공급가액 + 세액)
             }, 0)
             let id = parseInt($(`#frm`).find(`input[name="Id"]`).val());
             let parameter = {

+ 21 - 30
resources/views/front/dabory/erp/stock/tab/genio-correct.blade.php

@@ -113,8 +113,6 @@
                     }, 'GenioCorrect')
                 }
             });
-
-
         });
 
         $('#genio-table-body').on('click', 'tr', function() {
@@ -553,35 +551,28 @@
             }
 
             GenioCorrect.add_td_last_tap_out = async function ($this, id) {
-                let tr = $('#correct-tab').find(`input[name='bd-cursor-state']:checked`).closest('tr')
-                let index = $(tr).prevAll().length
-                // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
-                if (GenioCorrect.bd_page[index].ItemId != 0 && ! window.dom_required_check($(tr).find(`input`))) {
-                    if ($($this).data('last')) {
-                        let seq_no = await Btype.get_last_seq_no('genio', $('#genio-form').find('#auto-slip-no-txt').val())
-                        GenioCorrect.bd_page[index].SeqNo = seq_no;
-                    }
-
-                    Btype.call_bd_act_api([ GenioCorrect.get_bd_parameter(GenioCorrect.bd_page[index]) ], function (page) {
-                        GenioCorrect.bd_page[index].Id = page[0].Id;
-                        GenioCorrect.custom_body_act_success_callback($this, tr);
-                        Btype.check_the_checkbox_when_changing($this, false, 'GenioCorrect')
-                    }, 'GenioCorrect');
-
-                    let itemCodeInput = $(tr).find(`input[type="text"]`).first();
-                    let itemNameInput = $(tr).find(`input[type="text"]`).eq(1);
-                    if (itemCodeInput.length > 0) {
-                        Btype.set_slip_no_btn_disabled(itemCodeInput)
-                        Btype.set_slip_no_btn_disabled(itemNameInput)
-                        // $(firstTextInput).addClass('border-0 bg-white')
-                        // $(firstTextInput).prop('readonly', true)
+                Btype.btn_act_save('#genio-form #frm', async function () {
+                    let tr = $('#correct-tab').find(`input[name='bd-cursor-state']:checked`).closest('tr')
+                    let index = $(tr).prevAll().length
+                    // 필수텍스트가 안비어있으고 fouces out == 다음 tr 추가
+                    if (GenioCorrect.bd_page[index].ItemId != 0 && ! window.dom_required_check($(tr).find(`input`))) {
+                        if ($($this).data('last')) {
+                            let seq_no = await Btype.get_last_seq_no('genio', $('#genio-form').find('#auto-slip-no-txt').val())
+                            GenioCorrect.bd_page[index].SeqNo = seq_no;
+                        }
+
+                        Btype.call_bd_act_api([ GenioCorrect.get_bd_parameter(GenioCorrect.bd_page[index]) ], function (page) {
+                            GenioCorrect.bd_page[index].Id = page[0].Id;
+                            GenioCorrect.custom_body_act_success_callback($this, tr);
+                            Btype.check_the_checkbox_when_changing($this, false, 'GenioCorrect')
+                        }, 'GenioCorrect');
+                    } else {
+                        iziToast.error({
+                            title: 'Error',
+                            message: @json(_e('(*)Required item(s) omitted')),
+                        });
                     }
-                } else {
-                    iziToast.error({
-                        title: 'Error',
-                        message: @json(_e('(*)Required item(s) omitted')),
-                    });
-                }
+                });
             }
 
             GenioCorrect.get_bd_parameter = function (bd) {

Некоторые файлы не были показаны из-за большого количества измененных файлов