|
|
@@ -357,8 +357,16 @@ var fnChangeDeliveryMemo = function(param) {
|
|
|
|
|
|
// 신용카드 전표 및 현금영수증 버튼 클릭 이벤트
|
|
|
var fnReceipt = function(param) {
|
|
|
- let receiptWin = kcpReceiptUrl;
|
|
|
+ let receiptWin = '';
|
|
|
let option = '';
|
|
|
+
|
|
|
+ // APP일때 추가
|
|
|
+ if (_isApp != null && _isApp == 'true') {
|
|
|
+ receiptWin = 'public://?link=';
|
|
|
+ }
|
|
|
+
|
|
|
+ receiptWin += kcpReceiptUrl;
|
|
|
+
|
|
|
if (param == 'card') {
|
|
|
let order_no = ordNo;
|
|
|
if (!gagajf.isNull(paymentInfo.ordChgSq)) {
|
|
|
@@ -408,7 +416,12 @@ var fnReceipt = function(param) {
|
|
|
}
|
|
|
|
|
|
// 팝업 생성
|
|
|
- window.open(receiptWin, "", option);
|
|
|
+ // APP일때 추가
|
|
|
+ if (_isApp != null && _isApp == 'true') {
|
|
|
+ location.href = receiptWin;
|
|
|
+ } else {
|
|
|
+ window.open(receiptWin, "", option);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
// 문자열 길이를 체크
|