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