카카오페이 복합과세 적용

This commit is contained in:
chicpro
2015-09-21 17:28:35 +09:00
parent 3d78ef9d14
commit 72a4046127
9 changed files with 57 additions and 33 deletions

View File

@ -485,7 +485,7 @@ if($escw_yn == 'Y')
$od_tax_mny = round($i_price / 1.1);
$od_vat_mny = $i_price - $od_tax_mny;
$od_free_mny = 0;
if($default['de_tax_flag_use'] && $od_pg != 'KAKAOPAY') {
if($default['de_tax_flag_use']) {
$od_tax_mny = (int)$_POST['comm_tax_mny'];
$od_vat_mny = (int)$_POST['comm_vat_mny'];
$od_free_mny = (int)$_POST['comm_free_mny'];
@ -513,9 +513,6 @@ $od_memo = clean_xss_tags($od_memo);
$od_deposit_name = clean_xss_tags($od_deposit_name);
$od_tax_flag = $default['de_tax_flag_use'];
if($od_tax_flag && $od_pg == 'KAKAOPAY')
$od_tax_flag = 0;
// 주문서에 입력
$sql = " insert {$g5['g5_shop_order_table']}
set od_id = '$od_id',