Jelajahi Sumber

240718-1859-Kim

hokky 4 bulan lalu
induk
melakukan
a3549ead64

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

@@ -680,7 +680,7 @@
 
             }
             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) => {

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

@@ -688,7 +688,7 @@
                 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.SorderSupply) // 합계금액 (공급가액 + 세액)
             }, 0)
 
             const total_qty = bd_page.reduce((accumulator, bd) => {

+ 1 - 1
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) + parseFloat(bd.SquoteVat)
+                return accumulator + parseFloat(bd.SquoteSupply) + parseFloat(bd.SquoteVat) // 합계금액 (공급가액 + 세액)
             }, 0)
             let id = parseInt($(`#frm`).find(`input[name="Id"]`).val());
             let parameter = {

+ 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 = {