|
|
|
@ -128,6 +128,9 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload','uiBoot
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toggleClientPayType = function (type) {
|
|
|
|
|
if (!$scope.partner.client_pay_type) {
|
|
|
|
|
$scope.partner.client_pay_type = [];
|
|
|
|
|
}
|
|
|
|
|
var $idx = $scope.partner.client_pay_type.indexOf(type);
|
|
|
|
|
if ($idx >= 0) {
|
|
|
|
|
$scope.partner.client_pay_type.splice($idx, 1);
|
|
|
|
@ -148,6 +151,9 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload','uiBoot
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toggleClientPayDesc = function (type) {
|
|
|
|
|
if (!$scope.partner.client_pay_desc) {
|
|
|
|
|
$scope.partner.client_pay_desc = [];
|
|
|
|
|
}
|
|
|
|
|
var $idx = $scope.partner.client_pay_desc.indexOf(type);
|
|
|
|
|
if ($idx >= 0) {
|
|
|
|
|
if (type == '203') {
|
|
|
|
@ -384,6 +390,9 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload','uiBoot
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toggleClientPayType = function (type) {
|
|
|
|
|
if (!$scope.partner.client_pay_type) {
|
|
|
|
|
$scope.partner.client_pay_type = [];
|
|
|
|
|
}
|
|
|
|
|
var $idx = $scope.partner.client_pay_type.indexOf(type);
|
|
|
|
|
if ($idx >= 0) {
|
|
|
|
|
$scope.partner.client_pay_type.splice($idx, 1);
|
|
|
|
@ -404,6 +413,9 @@ define(['angular', 'decimal', 'uiRouter', 'ngBootSwitch', 'ngFileUpload','uiBoot
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
$scope.toggleClientPayDesc = function (type) {
|
|
|
|
|
if (!$scope.partner.client_pay_desc) {
|
|
|
|
|
$scope.partner.client_pay_desc = [];
|
|
|
|
|
}
|
|
|
|
|
var $idx = $scope.partner.client_pay_desc.indexOf(type);
|
|
|
|
|
if ($idx >= 0) {
|
|
|
|
|
if (type == '203') {
|
|
|
|
|