-
-
-
- | //=subtitle("입금완료 미배송내역")?> |
- |
-
-
+
+ 입금완료 미배송내역
-
- |
-
- | 주문번호 |
- 주문자 |
- 입금액 |
- 결제방법 |
- 수정 |
-
- |
-
- // 미수금이 없고 운송장번호가 없는 자료를 구함
- $sql = " select a.od_id,
- a.*, "._MISU_QUERY_."
- from {$g4['shop_order_table']} a
- left join {$g4['shop_cart_table']} b on (b.uq_id=a.uq_id)
- group by a.od_id
- /*having misu <= 0 and a.od_invoice = '' and ordercancel = 0*/
- /*having orderamount - receiptamount = 0 and a.od_invoice = ''*/
- having misu <= 0 and a.od_invoice = ''
- order by a.od_id desc
- limit $max_limit ";
- $result = sql_query($sql);
- for ($i=0; $row=sql_fetch_array($result); $i++)
+
+
+
+ | 주문번호 |
+ 주문자 |
+ 입금액 |
+ 결제방법 |
+ 수정 |
+
+
+
+
+ // 미수금이 없고 운송장번호가 없는 자료를 구함
+ $sql = " select a.od_id,
+ a.*, "._MISU_QUERY_."
+ from {$g4['shop_order_table']} a
+ left join {$g4['shop_cart_table']} b on (b.uq_id=a.uq_id)
+ group by a.od_id
+ /*having misu <= 0 and a.od_invoice = '' and ordercancel = 0*/
+ /*having orderamount - receiptamount = 0 and a.od_invoice = ''*/
+ having misu <= 0 and a.od_invoice = ''
+ order by a.od_id desc
+ limit $max_limit ";
+ $result = sql_query($sql);
+ for ($i=0; $row=sql_fetch_array($result); $i++)
+ {
+ $sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
+ $row1 = sql_fetch($sql1);
+
+ $name = get_sideview($row['mb_id'], get_text($row['od_name']), $row1['mb_email'], $row1['mb_homepage']);
+
+ $settle_method = "";
+ if ($row['od_settle_case'])
{
- $sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
- $row1 = sql_fetch($sql1);
-
- $name = get_sideview($row['mb_id'], get_text($row['od_name']), $row1['mb_email'], $row1['mb_homepage']);
-
- $settle_method = "";
- if ($row['od_settle_case'])
- {
- $settle_method = $row['od_settle_case'];
- }
- else
- {
- if ($row['od_receipt_bank']) $settle_method .= "무통장";
- if ($row['od_receipt_card']) $settle_method .= "카드";
- if ($row['od_receipt_point']) $settle_method .= "포인트";
- }
-
- $list = $i%2;
- echo "
-
- | {$row['od_id']} |
- $name |
- ".display_amount($row['receiptamount'])." |
- $settle_method |
- ".icon("수정", "./orderform.php?od_id={$row['od_id']}")." |
-
- ";
+ $settle_method = $row['od_settle_case'];
}
-
- if ($i == 0) {
- echo "| 자료가 없습니다. | ";
- }
- ?>
- |
-
-
- |
-
-
-
- | //=subtitle("미입금 주문내역")?> |
- |
-
-
-
-
- |
-
- | 주문번호 |
- 주문자 |
- 주문액 |
- 결제방법 |
- 수정 |
-
- |
-
- // 미수금이 있고 송장번호가 없는 자료를 구함
- $sql = " select a.od_id,
- a.*, "._MISU_QUERY_."
- from {$g4['shop_order_table']} a
- left join {$g4['shop_cart_table']} b on (b.uq_id=a.uq_id)
- group by a.od_id
- /* having receiptamount <= 0 */
- having misu > 0
- order by a.od_id desc
- limit $max_limit ";
- $result = sql_query($sql);
- for ($i=0; $row=sql_fetch_array($result); $i++)
+ else
{
- $sql1 = " select * from {$g4['member_table']} where mb_id = '{$row['mb_id']}' ";
- $row1 = sql_fetch($sql1);
-
- $name = get_sideview($row['mb_id'], get_text($row['od_name']), $row1['mb_email'], $row1['mb_homepage']);
-
- $settle_method = "";
- if ($row['od_settle_case'])
- {
- $settle_method = $row['od_settle_case'];
- }
- else
- {
- if ($row['od_temp_bank']) $settle_method .= "무통장";
- if ($row['od_temp_card']) $settle_method .= "카드";
- if ($row['od_temp_milage']) $settle_method .= "포인트";
- }
-
- $list = $i%2;
- echo "
-
- | {$row['od_id']} |
- $name |
- ".display_amount($row['orderamount'])." |
- $settle_method |
- ".icon("수정", "./orderform.php?od_id={$row['od_id']}")." |
- ";
+ if ($row['od_receipt_bank']) $settle_method .= "무통장";
+ if ($row['od_receipt_card']) $settle_method .= "카드";
+ if ($row['od_receipt_point']) $settle_method .= "포인트";
}
+ ?>
+
+ | =$row['od_id']?> |
+ =$name?> |
+ =display_amount($row['receiptamount'])?> |
+ =$settle_method?> |
+ 수정 |
+
+
+ }
+ if ($i == 0) echo '| 자료가 없습니다. | ';
+ ?>
+
+
- if ($i == 0)
- echo " | | 자료가 없습니다. | ";
- ?>
- |
-
+
+
+ |
-
-