|
|
@ -1422,6 +1422,7 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
$scope.ctrl.editMaxOrderAmount = false;
|
|
|
|
$scope.ctrl.editMaxOrderAmount = false;
|
|
|
|
$scope.ctrl.editOrderExpiryConfig = false;
|
|
|
|
$scope.ctrl.editOrderExpiryConfig = false;
|
|
|
|
$scope.ctrl.editRefundPwd = false;
|
|
|
|
$scope.ctrl.editRefundPwd = false;
|
|
|
|
|
|
|
|
$scope.ctrl.editRefundCreditLine = false;
|
|
|
|
})
|
|
|
|
})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
$scope.qrConfig = {currency: 'AUD'};
|
|
|
|
$scope.qrConfig = {currency: 'AUD'};
|
|
|
@ -1502,6 +1503,17 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
})
|
|
|
|
})
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$scope.setRefundCreditLine = function () {
|
|
|
|
|
|
|
|
if (!$scope.paymentInfo) {
|
|
|
|
|
|
|
|
return;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
$http.put('/sys/partners/' + $scope.partner.client_moniker + '/refund_credit_line', {refund_credit_line: $scope.paymentInfo.refund_credit_line}).then(function (resp) {
|
|
|
|
|
|
|
|
$scope.loadPartnerPaymentInfo();
|
|
|
|
|
|
|
|
}, function (resp) {
|
|
|
|
|
|
|
|
commonDialog.alert({title: 'Error', content: resp.data.message, type: 'error'})
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
$scope.updateClientQRCodePaySurCharge = function () {
|
|
|
|
$scope.updateClientQRCodePaySurCharge = function () {
|
|
|
|
if (!$scope.paymentInfo) {
|
|
|
|
if (!$scope.paymentInfo) {
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|