사용자 주문상세 주문총액 표시방법 수정

This commit is contained in:
chicpro
2013-12-03 13:24:43 +09:00
parent 3901804355
commit c139b81682
2 changed files with 16 additions and 22 deletions

View File

@ -132,7 +132,9 @@ include_once(G5_MSHOP_PATH.'/_head.php');
<?php
// 총계 = 주문상품금액합계 + 배송비 - 상품할인 - 결제할인 - 배송비할인
$tot_price = $od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2'] - $od['od_cart_coupon'] - $od['od_coupon'] - $od['od_send_coupon'];
$tot_price = $od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2']
- $od['od_cart_coupon'] - $od['od_coupon'] - $od['od_send_coupon']
- $od['od_cancel_price'];
?>
<dl id="sod_bsk_tot">
@ -164,6 +166,11 @@ include_once(G5_MSHOP_PATH.'/_head.php');
<dd class="sod_bsk_dvr"><strong><?php echo number_format($od['od_send_cost2']); ?> 원</strong></dd>
<?php } ?>
<?php if ($od['od_cancel_price'] > 0) { ?>
<dt class="sod_bsk_dvr">취소금액</dt>
<dd class="sod_bsk_dvr"><strong><?php echo number_format($od['od_cancel_price']); ?> 원</strong></dd>
<?php } ?>
<dt class="sod_bsk_cnt">총계</dt>
<dd class="sod_bsk_cnt"><strong><?php echo number_format($tot_price); ?> 원</strong></dd>
@ -318,16 +325,6 @@ include_once(G5_MSHOP_PATH.'/_head.php');
<?php
}
if ($od['od_cancel_price'] > 0)
{
?>
<tr>
<th scope="row">취소 금액</th>
<td><?php echo display_price($od['od_cancel_price']); ?></td>
</tr>
<?php
}
if ($od['od_refund_price'] > 0)
{
?>

View File

@ -146,7 +146,9 @@ if(openwin != null) {
<?php
// 총계 = 주문상품금액합계 + 배송비 - 상품할인 - 결제할인 - 배송비할인
$tot_price = $od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2'] - $od['od_cart_coupon'] - $od['od_coupon'] - $od['od_send_coupon'];
$tot_price = $od['od_cart_price'] + $od['od_send_cost'] + $od['od_send_cost2']
- $od['od_cart_coupon'] - $od['od_coupon'] - $od['od_send_coupon']
- $od['od_cancel_price'];
?>
<dl id="sod_bsk_tot">
@ -178,6 +180,11 @@ if(openwin != null) {
<dd class="sod_bsk_dvr"><strong><?php echo number_format($od['od_send_cost2']); ?> 원</strong></dd>
<?php } ?>
<?php if ($od['od_cancel_price'] > 0) { ?>
<dt class="sod_bsk_dvr">취소금액</dt>
<dd class="sod_bsk_dvr"><strong><?php echo number_format($od['od_cancel_price']); ?> 원</strong></dd>
<?php } ?>
<dt class="sod_bsk_cnt">총계</dt>
<dd class="sod_bsk_cnt"><strong><?php echo number_format($tot_price); ?> 원</strong></dd>
@ -330,16 +337,6 @@ if(openwin != null) {
<?php
}
if ($od['od_cancel_price'] > 0)
{
?>
<tr>
<th scope="row">취소 금액</th>
<td><?php echo display_price($od['od_cancel_price']); ?></td>
</tr>
<?php
}
if ($od['od_refund_price'] > 0)
{
?>