현금영수증 등록 시 환불금액은 빼도록 수정

This commit is contained in:
chicpro
2013-11-25 13:59:33 +09:00
parent 2f7ab46506
commit 6927ac20a0

View File

@ -14,7 +14,7 @@ $goods_name = $goods['full_name'];
$trad_time = date("YmdHis");
$amt_tot = (int)$od['od_receipt_price'];
$amt_tot = (int)($od['od_receipt_price'] - $od['od_refund_price']);
$amt_sup = (int)round(($amt_tot * 10) / 11);
$amt_svc = 0;
$amt_tax = (int)($amt_tot - $amt_sup);