diff --git a/adm/shop_admin/partcancel.php b/adm/shop_admin/partcancel.php index 7ec058001..3ccd89bb5 100644 --- a/adm/shop_admin/partcancel.php +++ b/adm/shop_admin/partcancel.php @@ -26,40 +26,6 @@ if($od['od_settle_case'] == '계좌이체') $mod_type = 'STPA'; $available_cancel = $od['od_receipt_amount'] - $od['od_cancel_card']; - -// 복합과세 사용시 각각 취소가능 금액 -if($default['de_tax_flag_use']) { - $sql = " select ct_price, io_price, io_type, ct_qty, ct_notax, cp_amount - from {$g4['shop_cart_table']} - where uq_id = '{$od['uq_id']}' - and ct_status IN ( '주문', '준비', '배송', '완료' ) "; - $result = sql_query($sql); - - $tot_tax_mny = 0; - $tot_free_mny = 0; - - for($i=0; $row=sql_fetch_array($result); $i++) { - if($row['ct_notax']) { - if($row['io_type']) { - $tot_free += ($row['io_priece'] * $row['ct_qty']); - } else { - $tot_free += (($row['ct_price'] + $row['io_price']) * $row['ct_qty']); - } - - $tot_free -= $row['cp_amount']; - } else { - if($row['io_type']) { - $tot_tax += ($row['io_priece'] * $row['ct_qty']); - } else { - $tot_tax += (($row['ct_price'] + $row['io_price']) * $row['ct_qty']); - } - - $tot_tax -= $row['cp_amount']; - } - } - - //$tot_tax -= ($od['od_send_cost'] + $od['od_send_cost2'] - $od['od_coupon'] - $od['od_send_coupon'] - $od['od_receipt_point']); -} ?>
-
- 과세 취소가능금액 : 원
- 비과세 취소가능금액 : 원
+ 취소가능금액 : 원
원 @@ -86,9 +51,6 @@ if($default['de_tax_flag_use']) { 원
-- 취소가능금액 : 원 -
원