쇼핑몰: #286 개인결제 마크업 작업

This commit is contained in:
whitedot
2013-09-03 16:35:40 +09:00
parent 5027621753
commit 98ab11117b
17 changed files with 301 additions and 291 deletions

View File

@ -885,7 +885,7 @@ $pg_anchor .='<li><a href="#anc_sodr_chk">결제상세정보 확인</a></li>
</tr>
<tr>
<th scope="row"><label for="od_b_hp"><span class="sound_only">받으시는 분 </span>핸드폰</label></th>
<td><input type="text" name="od_b_hp" value="<?php echo $od['od_b_hp']; ?>" id=-"od_b_hp" class="frm_input required"></td>
<td><input type="text" name="od_b_hp" value="<?php echo $od['od_b_hp']; ?>" id="od_b_hp" class="frm_input required"></td>
</tr>
<tr>
<th scope="row"><span class="sound_only">받으시는 분 </span>주소</th>

View File

@ -16,8 +16,8 @@ if(!$row['pp_id'])
<form name="fpersonalpaycopy" method="post" action="./personalpaycopyupdate.php" onsubmit="return form_check(this);">
<input type="hidden" name="pp_id" value="<?php echo $pp_id; ?>">
<div class="cbox">
<h1>개인결제 복사</h1>
<div class="new_win">
<h1 id="new_win_title">개인결제 복사</h1>
<table class="frm_tbl">
<tbody>

View File

@ -19,7 +19,9 @@ else
$pp['pp_use'] = 1;
}
if($popup == 'yes') {
$wrp_tag_st = '';
$wrp_tag_end = '';
if($popup == 'yes') { // 팝업창일 때
include_once(G4_PATH.'/head.sub.php');
$pp['od_id'] = $od_id;
$sql = " select od_id, od_name, (od_temp_amount - od_receipt_amount) as misu
@ -34,9 +36,14 @@ if($popup == 'yes') {
if($od['misu'] > 0)
$pp['pp_amount'] = $od['misu'];
$wrp_tag_st = '<div class="new_win">'.PHP_EOL.'<h1 id="new_win_title">'.$html_title.'</h1>';
$wrp_tag_end = '</div>';
}
else
else { // 현재페이지일 때
include_once (G4_ADMIN_PATH.'/admin.head.php');
$wrp_tag_st = '<section class="cbox">'.PHP_EOL.'<h2>'.$html_title.'</h2>';
$wrp_tag_end = '</section>';
}
?>
<form name="fpersonalpayform" action="./personalpayformupdate.php" method="post" onsubmit="return form_check(this);">
<input type="hidden" name="w" value="<?php echo $w; ?>">
@ -48,8 +55,7 @@ else
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="popup" value="<?php echo $popup; ?>">
<section class="cbox">
<h2><?php echo $html_title; ?></h2>
<?php echo $wrp_tag_st; ?>
<table class="frm_tbl">
<colgroup>
<col class="grid_3">
@ -126,7 +132,7 @@ else
<a href="./personalpayformupdate.php?w=d&amp;pp_id=<?php echo $pp['pp_id']; ?>" onclick="return del_confirm();">삭제</a>
<?php } ?>
</div>
</section>
<?php echo $wrp_tag_end; ?>
</form>
<script>

View File

@ -95,7 +95,7 @@ $colspan = 8;
<input type="hidden" name="page" value="<?php echo $page; ?>">
<input type="hidden" name="token" value="<?php echo $token; ?>">
<table class="tbl_pt_list">
<table>
<thead>
<tr>
<th scope="col">
@ -128,12 +128,12 @@ $colspan = 8;
<input type="checkbox" id="chk_<?php echo $i; ?>" name="chk[]" value="<?php echo $i; ?>" title="내역선택">
</td>
<td class="spp_list_name"><?php echo $row['pp_name']; ?></td>
<td class="spp_list_id"><?php echo $od_id; ?></td>
<td><?php echo number_format($row['pp_amount']); ?></td>
<td class="td_name"><?php echo number_format($row['pp_receipt_amount']); ?></td>
<td class="td_name"><?php echo number_format($row['pp_amount'] - $row['pp_receipt_amount']); ?></td>
<td class="td_time"><?php echo $row['pp_settle_case']; ?></td>
<td><?php echo is_null_time($row['pp_receipt_time']) ? '' : substr($row['pp_receipt_time'], 2, 8); ?></td>
<td class="td_odrnum3 spp_list_id"><?php echo $od_id; ?></td>
<td class="td_bignum"><?php echo number_format($row['pp_amount']); ?></td>
<td class="td_bignum"><?php echo number_format($row['pp_receipt_amount']); ?></td>
<td class="td_bignum"><?php echo number_format($row['pp_amount'] - $row['pp_receipt_amount']); ?></td>
<td class="td_payby"><?php echo $row['pp_settle_case']; ?></td>
<td class="td_date"><?php echo is_null_time($row['pp_receipt_time']) ? '' : substr($row['pp_receipt_time'], 2, 8); ?></td>
<td class="td_boolean"><?php echo $row['pp_use'] ? '예' : '아니오'; ?></td>
<td class="td_smallmng">
<a href="./personalpayform.php?w=u&amp;pp_id=<?php echo $row['pp_id']; ?>&amp;<?php echo $qstr; ?>"><span class="sound_only"><?php echo $row['pp_id']; ?> </span>수정</a>