luoyang 6 years ago
parent 56a9d2ff61
commit 3c0c2aa944

@ -1911,9 +1911,14 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
$scope.init.skip_clearing = true; $scope.init.skip_clearing = true;
return; return;
} }
commonDialog.confirm({
title: 'Warning',
content: 'This operation will switch skip clearing status. Are you sure?'
}).then(function () {
$http.put('/sys/partners/' + $scope.partner.client_moniker + '/skip_clearing', {skip_clearing: skipClearing}).then(function (resp) { $http.put('/sys/partners/' + $scope.partner.client_moniker + '/skip_clearing', {skip_clearing: skipClearing}).then(function (resp) {
$scope.getBankAccount(); $scope.getBankAccount();
}); });
})
}; };
$scope.taxInSurcharge = function (taxInSurcharge) { $scope.taxInSurcharge = function (taxInSurcharge) {
if (!$scope.init.tax_in_surcharge) { if (!$scope.init.tax_in_surcharge) {

Loading…
Cancel
Save