include_once('./_common.php'); $g4['title'] = "현금영수증 발행"; include_once(G4_PATH.'/head.sub.php'); $od = sql_fetch(" select * from {$g4['shop_order_table']} where od_id = '$od_id' and uq_id = '$uq_id' "); if (!$od) die("주문서가 존재하지 않습니다."); $goods = get_goods($od['uq_id']); $goods_name = $goods['full_name']; //if ($goods[count] > 1) $goods_name .= ' 외 '.$goods[count].'건'; $trad_time = date("YmdHis"); $amt_tot = (int)$od['od_receipt_bank']; $amt_sup = (int)round(($amt_tot * 10) / 11); $amt_svc = 0; $amt_tax = (int)($amt_tot - $amt_sup); ?>
include_once(G4_PATH.'/tail.sub.php'); ?>