#252 관리자 주문 취소요청 기능 작업 중

This commit is contained in:
chicpro
2013-07-12 09:18:08 +09:00
parent 2f06d7c854
commit 85ddc13c20
2 changed files with 7 additions and 5 deletions

View File

@ -7,6 +7,7 @@ $menu['menu400'] = array (
array('400400', '주문내역', G4_ADMIN_URL.'/shop_admin/orderlist.php', 'scf_order', 1), array('400400', '주문내역', G4_ADMIN_URL.'/shop_admin/orderlist.php', 'scf_order', 1),
array('400410', '주문개별내역', G4_ADMIN_URL.'/shop_admin/orderstatuslist.php', 'scf_order_by', 1), array('400410', '주문개별내역', G4_ADMIN_URL.'/shop_admin/orderstatuslist.php', 'scf_order_by', 1),
array('400420', '주문통합내역', G4_ADMIN_URL.'/shop_admin/orderlist2.php', 'scf_order_all', 1), array('400420', '주문통합내역', G4_ADMIN_URL.'/shop_admin/orderlist2.php', 'scf_order_all', 1),
array('400430', '취소교환반품내역', G4_ADMIN_URL.'/shop_admin/orderrequestlist.php', 'scf_request', 1),
array('400200', '분류관리', G4_ADMIN_URL.'/shop_admin/categorylist.php', 'scf_cate'), array('400200', '분류관리', G4_ADMIN_URL.'/shop_admin/categorylist.php', 'scf_cate'),
array('400300', '상품관리', G4_ADMIN_URL.'/shop_admin/itemlist.php', 'scf_item'), array('400300', '상품관리', G4_ADMIN_URL.'/shop_admin/itemlist.php', 'scf_item'),
array('400660', '상품문의', G4_ADMIN_URL.'/shop_admin/itemqalist.php', 'scf_item_qna'), array('400660', '상품문의', G4_ADMIN_URL.'/shop_admin/itemqalist.php', 'scf_item_qna'),

View File

@ -167,7 +167,7 @@ if(openwin != null) {
<label for="rq_content">요청내용</label> <label for="rq_content">요청내용</label>
<input type="text" name="rq_content" value="" id="rq_content" required class="required frm_input"> <input type="text" name="rq_content" value="" id="rq_content" required class="required frm_input">
<input type="submit" value="확인" class="btn_frmline"> <input type="submit" value="확인" class="btn_frmline">
<button type="button" id="request_cancel" class="btn_cancel">닫기</button> <button type="button" id="request_close" class="btn_cancel">닫기</button>
</div> </div>
</div> </div>
@ -584,7 +584,7 @@ if(openwin != null) {
<?php <?php
// 취소한 내역이 없다면 // 취소한 내역이 없다면
if ($tot_cancel_amount == 0) { if ($tot_cancel_amount == 0) {
if ($od_count1 == $od_count2 && ($od['od_settle_case'] != '가상계좌' || $od['od_receipt_amount'] == 0)) { if ($dsp_request && $od_count1 == $od_count2 && ($od['od_settle_case'] != '가상계좌' || $od['od_receipt_amount'] == 0)) {
?> ?>
<button type="button" onclick="document.getElementById('sod_fin_cancelfrm').style.display='block';">주문 취소하기</button> <button type="button" onclick="document.getElementById('sod_fin_cancelfrm').style.display='block';">주문 취소하기</button>
@ -647,12 +647,13 @@ $(function() {
} }
$("input[name=rq_content]").val(""); $("input[name=rq_content]").val("");
$("#request_form").show(); $("#request_form label").text(req_act+"내용");
$("#request_form div").css("display", "block");
}); });
$("#request_cancel").click(function() { $("#request_close").click(function() {
$("#request_form").hide(); $("#request_form div").css("display", "none");
}); });
}); });