#252 취소요청 관리의 편의성을 위해 요청 상세정보를 주문상세에 노출하도록 수정
This commit is contained in:
@ -325,7 +325,7 @@ if($request) {
|
||||
// 요청 처리폼 include
|
||||
$rq_id = $rq['rq_id'];
|
||||
$disp_list = 0;
|
||||
include_once('./orderrequestview.inc.php');
|
||||
include_once('./orderrequest.inc.php');
|
||||
?>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@ -74,7 +74,7 @@ $result = sql_query($sql);
|
||||
<div id="order_request">
|
||||
<?php
|
||||
// 요청 처리폼 include
|
||||
$disp_list = 1;
|
||||
$rq_qstr = "sst=$sst&sod=$sod&sfl=$sfl&stx=$stx&save_stx=$save_stx&page=$page&rq_type=$rq_type";
|
||||
include_once('./orderrequestform.php');
|
||||
?>
|
||||
</div>
|
||||
@ -63,8 +63,6 @@ $sql = " select ct_id, it_id, it_name, ct_option, ct_price, ct_qty, io_type, io_
|
||||
where uq_id = '{$od['uq_id']}'
|
||||
order by ct_id ";
|
||||
$result = sql_query($sql);
|
||||
|
||||
$qstr2 = $qstr.'&rq_type='.$rq_type.'&save_stx='.$stx;
|
||||
?>
|
||||
|
||||
<section>
|
||||
@ -231,9 +229,7 @@ $qstr2 = $qstr.'&rq_type='.$rq_type.'&save_stx='.$stx;
|
||||
</table>
|
||||
<div>
|
||||
<button type="submit" id="request_submit">확인</button>
|
||||
<?php if($disp_list) { ?>
|
||||
<a href="./orderrequestlist.php?<?php echo $qstr2; ?>">목록</a>
|
||||
<?php } ?>
|
||||
<a href="./orderrequestlist.php?<?php echo $rq_qstr; ?>">목록</a>
|
||||
</div>
|
||||
</form>
|
||||
</section>
|
||||
|
||||
@ -164,6 +164,8 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
$tmp = sql_fetch($sql);
|
||||
if($tmp['rq_time'])
|
||||
$done_date = substr($tmp['rq_time'], 2, 8);
|
||||
|
||||
$order_href = './orderform.php?od_id='.$row['od_id'].'&uq_id='.$row['uq_id'].'&rq_type='.$rq_type.'&'.$qstr;
|
||||
?>
|
||||
|
||||
<tr>
|
||||
@ -173,14 +175,14 @@ if ($sfl || $stx) // 검색렬일 때만 처음 버튼을 보여줌
|
||||
<input type="hidden" name="rq_id[<?php echo $i; ?>]" value="<?php echo $row['rq_id']; ?>">
|
||||
</td>
|
||||
<td><?php echo $type; ?></td>
|
||||
<td><?php echo $row['od_id']; ?></td>
|
||||
<td><a href="<?php echo $order_href; ?>"><?php echo $row['od_id']; ?></a></td>
|
||||
<td><?php echo number_format($row['od_temp_amount']); ?></td>
|
||||
<td><?php echo $row['od_name']; ?></td>
|
||||
<td><?php echo $it_name; ?></td>
|
||||
<td><?php echo $reg_date; ?></td>
|
||||
<td><?php echo $done_date; ?></td>
|
||||
<td>
|
||||
<a href="./orderrequestview.php?rq_id=<?php echo $row['rq_id']; ?>&<?php echo $qstr; ?>"><span class="sound_only"><?php echo $it_name. ' '.$type.'요청'; ?> </span>보기</a>
|
||||
<a href="<?php echo $order_href; ?>"><span class="sound_only"><?php echo $it_name. ' '.$type.'요청'; ?> </span>보기</a>
|
||||
<a href="./orderrequestdelete.php?w=d&rq_id=<?php echo $row['rq_id']; ?>&<?php echo $qstr; ?>" onclick="return del_confirm();"><span class="sound_only"><?php echo $it_name. ' '.$type.'요청'; ?> </span>삭제</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@ -1,35 +0,0 @@
|
||||
<?php
|
||||
$sub_menu = '400430';
|
||||
include_once('./_common.php');
|
||||
|
||||
auth_check($auth[$sub_menu], "w");
|
||||
|
||||
$sql = " select * from {$g4['shop_request_table']} where rq_id = '$rq_id' ";
|
||||
$rq = sql_fetch($sql);
|
||||
if(!$rq['rq_id'])
|
||||
alert('등록된 자료가 없습니다.');
|
||||
|
||||
switch($rq['rq_type']) {
|
||||
case 0:
|
||||
$type = '취소';
|
||||
break;
|
||||
case 1:
|
||||
$type = '교환';
|
||||
break;
|
||||
case 2:
|
||||
$type = '반품';
|
||||
break;
|
||||
default:
|
||||
$type = '';
|
||||
break;
|
||||
}
|
||||
|
||||
$g4['title'] = $type.'요청 상세내용';
|
||||
include_once (G4_ADMIN_PATH.'/admin.head.php');
|
||||
?>
|
||||
|
||||
<?php include_once('./orderrequestview.inc.php'); ?>
|
||||
|
||||
<?php
|
||||
include_once (G4_ADMIN_PATH.'/admin.tail.php');
|
||||
?>
|
||||
Reference in New Issue
Block a user