diff --git a/mobile/shop/personalpay.php b/mobile/shop/personalpay.php index 655864404..27116e99d 100644 --- a/mobile/shop/personalpay.php +++ b/mobile/shop/personalpay.php @@ -19,7 +19,7 @@ include_once(G4_MSHOP_PATH.'/_head.php'); $sql_common = " from {$g4['shop_personalpay_table']} where pp_use = '1' - and pp_receipt_amount = '0' "; + and pp_tno = '' "; // 총몇개 = 한줄에 몇개 * 몇줄 $items = $list_mod; diff --git a/mobile/shop/personalpayform.php b/mobile/shop/personalpayform.php index 6321c76e1..23d07876c 100644 --- a/mobile/shop/personalpayform.php +++ b/mobile/shop/personalpayform.php @@ -7,7 +7,7 @@ $pp = sql_fetch($sql); if(!$pp['pp_id']) alert('개인결제 정보가 존재하지 않습니다.'); -if($pp['pp_receipt_amount'] > 0) +if($pp['pp_tno']) alert('이미 결제하신 개인결제 내역입니다.'); $g4['title'] = $pp['pp_name'].'님 개인결제'; diff --git a/shop/personalpay.php b/shop/personalpay.php index 42200834f..1673091d4 100644 --- a/shop/personalpay.php +++ b/shop/personalpay.php @@ -25,7 +25,7 @@ include_once('./_head.php'); $sql_common = " from {$g4['shop_personalpay_table']} where pp_use = '1' - and pp_receipt_amount = '0' "; + and pp_tno = '' "; // 총몇개 = 한줄에 몇개 * 몇줄 $items = $list_mod * $list_row; diff --git a/shop/personalpayform.php b/shop/personalpayform.php index b6c3f2ed9..b9d26125b 100644 --- a/shop/personalpayform.php +++ b/shop/personalpayform.php @@ -12,7 +12,7 @@ $pp = sql_fetch($sql); if(!$pp['pp_id']) alert('개인결제 정보가 존재하지 않습니다.'); -if($pp['pp_receipt_amount'] > 0) +if($pp['pp_tno']) alert('이미 결제하신 개인결제 내역입니다.'); $g4['title'] = $pp['pp_name'].'님 개인결제';