|
|
|
@ -1911,9 +1911,14 @@ define(['angular', 'decimal', 'static/commons/commons', 'uiBootstrap', 'uiRouter
|
|
|
|
|
$scope.init.skip_clearing = true;
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
$http.put('/sys/partners/' + $scope.partner.client_moniker + '/skip_clearing', {skip_clearing: skipClearing}).then(function (resp) {
|
|
|
|
|
$scope.getBankAccount();
|
|
|
|
|
});
|
|
|
|
|
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) {
|
|
|
|
|
$scope.getBankAccount();
|
|
|
|
|
});
|
|
|
|
|
})
|
|
|
|
|
};
|
|
|
|
|
$scope.taxInSurcharge = function (taxInSurcharge) {
|
|
|
|
|
if (!$scope.init.tax_in_surcharge) {
|
|
|
|
|