주문폼과 개인결제폼의 공통되는 필드 통합사용하도록 수정
This commit is contained in:
@ -17,15 +17,6 @@ $settle_case = $pp['pp_settle_case'];
|
||||
|
||||
$g5['title'] = '개인결제상세내역';
|
||||
include_once('./_head.php');
|
||||
|
||||
// LG 현금영수증 JS
|
||||
if($od['od_pg'] == 'lg') {
|
||||
if($default['de_card_test']) {
|
||||
echo '<script language="JavaScript" src="http://pgweb.uplus.co.kr:7085/WEB_SERVER/js/receipt_link.js"></script>'.PHP_EOL;
|
||||
} else {
|
||||
echo '<script language="JavaScript" src="http://pgweb.uplus.co.kr/WEB_SERVER/js/receipt_link.js"></script>'.PHP_EOL;
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
<!-- 주문상세내역 시작 { -->
|
||||
@ -140,16 +131,7 @@ if($od['od_pg'] == 'lg') {
|
||||
<?php
|
||||
if($pp['pp_settle_case'] == '휴대폰')
|
||||
{
|
||||
if($pp['pp_pg'] == 'lg') {
|
||||
require_once G5_SHOP_PATH.'/settle_lg.inc.php';
|
||||
$LGD_TID = $pp['pp_tno'];
|
||||
$LGD_MERTKEY = $default['de_lg_mert_key'];
|
||||
$LGD_HASHDATA = md5($LGD_MID.$LGD_TID.$LGD_MERTKEY);
|
||||
|
||||
$hp_receipt_script = 'showReceiptByTID(\''.$LGD_MID.'\', \''.$LGD_TID.'\', \''.$LGD_HASHDATA.'\');';
|
||||
} else {
|
||||
$hp_receipt_script = 'window.open(\''.G5_BILL_RECEIPT_URL.'mcash_bill&tno='.$pp['pp_tno'].'&order_no='.$pp['pp_id'].'&trade_mony='.$pp['pp_receipt_price'].'\', \'winreceipt\', \'width=500,height=690,scrollbars=yes,resizable=yes\');';
|
||||
}
|
||||
$hp_receipt_script = 'window.open(\''.G5_BILL_RECEIPT_URL.'mcash_bill&tno='.$pp['pp_tno'].'&order_no='.$pp['pp_id'].'&trade_mony='.$pp['pp_receipt_price'].'\', \'winreceipt\', \'width=500,height=690,scrollbars=yes,resizable=yes\');';
|
||||
?>
|
||||
<a href="javascript:;" onclick="<?php echo $hp_receipt_script; ?>">영수증 출력</a>
|
||||
<?php
|
||||
@ -157,16 +139,7 @@ if($od['od_pg'] == 'lg') {
|
||||
|
||||
if($pp['pp_settle_case'] == '신용카드')
|
||||
{
|
||||
if($pp['pp_pg'] == 'lg') {
|
||||
require_once G5_SHOP_PATH.'/settle_lg.inc.php';
|
||||
$LGD_TID = $pp['pp_tno'];
|
||||
$LGD_MERTKEY = $default['de_lg_mert_key'];
|
||||
$LGD_HASHDATA = md5($LGD_MID.$LGD_TID.$LGD_MERTKEY);
|
||||
|
||||
$card_receipt_script = 'showReceiptByTID(\''.$LGD_MID.'\', \''.$LGD_TID.'\', \''.$LGD_HASHDATA.'\');';
|
||||
} else {
|
||||
$card_receipt_script = 'window.open(\''.G5_BILL_RECEIPT_URL.'card_bill&tno='.$pp['pp_tno'].'&order_no='.$pp['pp_id'].'&trade_mony='.$pp['pp_receipt_price'].'\', \'winreceipt\', \'width=470,height=815,scrollbars=yes,resizable=yes\');';
|
||||
}
|
||||
$card_receipt_script = 'window.open(\''.G5_BILL_RECEIPT_URL.'card_bill&tno='.$pp['pp_tno'].'&order_no='.$pp['pp_id'].'&trade_mony='.$pp['pp_receipt_price'].'\', \'winreceipt\', \'width=470,height=815,scrollbars=yes,resizable=yes\');';
|
||||
?>
|
||||
<a href="javascript:;" onclick="<?php echo $card_receipt_script; ?>">영수증 출력</a>
|
||||
<?php
|
||||
@ -207,8 +180,8 @@ if($od['od_pg'] == 'lg') {
|
||||
</ul>
|
||||
</section>
|
||||
|
||||
<?php if ($pp['pp_settle_case'] == '가상계좌' && $default['de_card_test'] && $is_admin && $default['de_pg_service'] == 'kcp') {
|
||||
preg_match("/(\s[^\s]+\s)/", $pp['pp_bank_account'], $matchs);
|
||||
<?php if ($pp['pp_settle_case'] == '가상계좌' && $default['de_card_test'] && $is_admin) {
|
||||
preg_match("/(\s[^\s]+\s?)/", $pp['pp_bank_account'], $matchs);
|
||||
$deposit_no = trim($matchs[1]);
|
||||
?>
|
||||
<div class="tbl_frm01 tbl_wrap">
|
||||
|
||||
Reference in New Issue
Block a user