#282 uq_id 필드 제거

This commit is contained in:
chicpro
2013-08-23 10:39:16 +09:00
parent 8ae41a2213
commit 523c6e5e31
44 changed files with 216 additions and 269 deletions

View File

@ -4,11 +4,11 @@ include_once('./_common.php');
$g4['title'] = '주문번호 '.$od_id.' 현금영수증 발행';
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' ");
$od = sql_fetch(" select * from {$g4['shop_order_table']} where od_id = '$od_id' ");
if (!$od)
die('<p id="scash_empty">주문서가 존재하지 않습니다.</p>');
$goods = get_goods($od['uq_id']);
$goods = get_goods($od['od_id']);
$goods_name = $goods['full_name'];
//if ($goods[count] > 1) $goods_name .= ' 외 '.$goods[count].'건';