현금 영수증을 발급할수 있는 결제수단 조건 코드 추가

This commit is contained in:
thisgun
2019-11-08 18:25:42 +09:00
parent cf5cdcb0b1
commit d7f2939815
7 changed files with 96 additions and 5 deletions

View File

@ -31,6 +31,10 @@ if($tx == 'personalpay') {
if (!$od)
die('<p id="scash_empty">주문서가 존재하지 않습니다.</p>');
if ( ! $is_admin && ! (shop_is_taxsave($od)) ){
die('해당 주문은 현금영수증을 발급할수 없습니다.');
}
$goods = get_goods($od['od_id']);
$goods_name = $goods['full_name'];
$amt_tot = (int)($od['od_receipt_price'] - $od['od_refund_price']);