| @@ 1-35 (lines=35) @@ | ||
| 1 | "use strict"; |
|
| 2 | app.controller('thirdPartyEntry2ListController', ['$scope', '$state', 'Security', function ($scope, $state, Security, $rootScope) { |
|
| 3 | function Initialize(){ |
|
| 4 | var entryForm = {}; |
|
| 5 | ||
| 6 | $scope.entryForm = entryForm; |
|
| 7 | } |
|
| 8 | Initialize(); |
|
| 9 | ||
| 10 | $scope.EventListener = function(scope, iElement, iAttrs, controller){ |
|
| 11 | iElement.ready(function() { |
|
| 12 | ||
| 13 | }) |
|
| 14 | } |
|
| 15 | ||
| 16 | $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){ |
|
| 17 | ||
| 18 | } |
|
| 19 | ||
| 20 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
|
| 21 | ||
| 22 | } |
|
| 23 | ||
| 24 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
|
| 25 | return true; |
|
| 26 | } |
|
| 27 | ||
| 28 | $scope.CustomPointedToRecord = function(pRecord, rowScope, scope, iElement, controller){ |
|
| 29 | } |
|
| 30 | ||
| 31 | $scope.CustomSelectedToRecord = function(sRecord, rowScope, scope, iElement, controller){ |
|
| 32 | var thirdPartyID = sRecord.ThirdPartyID; |
|
| 33 | $state.go("rc-55-list-third-party.rc-55-entry-third-party", {thirdPartyID:thirdPartyID} ); |
|
| 34 | } |
|
| 35 | }]); |
|
| 36 | ||
| @@ 1-35 (lines=35) @@ | ||
| 1 | "use strict"; |
|
| 2 | app.controller('thirdPartyListController', ['$scope', '$state', 'Security', function ($scope, $state, Security, $rootScope) { |
|
| 3 | function Initialize(){ |
|
| 4 | var entryForm = {}; |
|
| 5 | ||
| 6 | $scope.entryForm = entryForm; |
|
| 7 | } |
|
| 8 | Initialize(); |
|
| 9 | ||
| 10 | $scope.EventListener = function(scope, iElement, iAttrs, controller){ |
|
| 11 | iElement.ready(function() { |
|
| 12 | ||
| 13 | }) |
|
| 14 | } |
|
| 15 | ||
| 16 | $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){ |
|
| 17 | ||
| 18 | } |
|
| 19 | ||
| 20 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
|
| 21 | ||
| 22 | } |
|
| 23 | ||
| 24 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
|
| 25 | return true; |
|
| 26 | } |
|
| 27 | ||
| 28 | $scope.CustomPointedToRecord = function(pRecord, rowScope, scope, iElement, controller){ |
|
| 29 | } |
|
| 30 | ||
| 31 | $scope.CustomSelectedToRecord = function(sRecord, rowScope, scope, iElement, controller){ |
|
| 32 | var thirdPartyID = sRecord.ThirdPartyID; |
|
| 33 | $state.go("rc-54-list-third-party.rc-54-entry-third-party", {thirdPartyID:thirdPartyID} ); |
|
| 34 | } |
|
| 35 | }]); |
|
| 36 | ||