include_once("./_common.php"); $g4[title] = "현금영수증 발행"; include_once("$g4[path]/head.sub.php"); $od = sql_fetch(" select * from $g4[yc4_order_table] where od_id = '$od_id' and on_uid = '$on_uid' "); if (!$od) die("주문서가 존재하지 않습니다."); $goods = get_goods($od[on_uid]); $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"); ?>