diff --git a/adm/shop_admin/orderprintresult.php b/adm/shop_admin/orderprintresult.php index 3c3cfb450..1d7c1a36b 100644 --- a/adm/shop_admin/orderprintresult.php +++ b/adm/shop_admin/orderprintresult.php @@ -289,15 +289,22 @@ if (mysql_num_rows($result) == 0) $cnt = $sub_tot_qty = $sub_tot_price = 0; while ($row2 = sql_fetch_array($res2)) { - if($row2['io_type']) + if($row2['io_type']) { + $it_price = $row2['io_price']; $row2_tot_price = $row2['io_price'] * $row2['ct_qty']; - else + } else { + $it_price = $row2['ct_price'] + $row2['io_price']; $row2_tot_price = ($row2['ct_price'] + $row2['io_price']) * $row2['ct_qty']; + } $sub_tot_qty += $row2['ct_qty']; $sub_tot_price += $row2_tot_price; $it_name = stripslashes($row2['it_name']); - $it_name = "$it_name ({$row2['ct_option']})"; + $price_plus = ''; + if($row2['io_price'] >= 0) + $price_plus = '+'; + + $it_name = "$it_name ({$row2['ct_option']} ".$price_plus.display_price($row2['io_price']).")"; $ct_send_cost = ($row2['ct_send_cost'] ? '착불' : '선불'); $fontqty1 = $fontqty2 = ""; @@ -310,18 +317,35 @@ if (mysql_num_rows($result) == 0) ?> - + - + + + 배송비 + + 1 + + + + + 추가 배송비 + + 1 + + + 합계 - - + +