Total Complexity | 8 |
Complexity/F | 1 |
Lines of Code | 34 |
Function Count | 8 |
Duplicated Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | "use strict"; |
||
2 | app.controller('thirdPartyCreateController', ['$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.BackToParentState = function(){ |
||
11 | $state.go('rc-54-list-third-party'); |
||
12 | } |
||
13 | |||
14 | $scope.EventListener = function(scope, iElement, iAttrs, controller){ |
||
15 | iElement.ready(function() { |
||
16 | |||
17 | }) |
||
18 | } |
||
19 | |||
20 | $scope.SetDefaultValue = function(scope, iElement, iAttrs, controller){ |
||
21 | |||
22 | } |
||
23 | |||
24 | $scope.StatusChange = function(fieldName, newValue, newObj, scope, iElement, iAttrs, controller){ |
||
25 | /* |
||
26 | if(fieldName == "Name") |
||
27 | newObj.Name = newObj.Name.toUpperCase(); |
||
28 | */ |
||
29 | } |
||
30 | |||
31 | $scope.ValidateBuffer = function(scope, iElement, iAttrs, controller){ |
||
32 | return true; |
||
33 | } |
||
34 | }]); |
||
35 |