PATH:
home
/
letacommog
/
letaweb
/
scripts
/
editor
/
popup
angular.module('ui.popup') .service('popup_address', ['popup_product_option_combination','popup_product_bulk_price','$file_manager','communication','popup_form','$templateCache','$filter','$sce', function(popup_product_option_combination,popup_product_bulk_price,$file_manager,communication,popup_form,$templateCache,$filter, $sce) { this.open = function(opt) { opt = opt || {}; return popup_form.open({ name:'address', data:opt.data, controller: function($scope) { $scope.countries = []; communication.getList("country", {}, "ecommerce").then(function(json) { $scope.countries = json; }); $scope.to_trusted = function(html_code) { return $sce.trustAsHtml(html_code); } $scope.filterZoneList = function(index) { if(index == 1) $scope.data.zone_code=''; var country_code = $scope.data.country_code; $scope.filter_zones = []; for(var i in $scope.zones) { if(!$scope.zones[i]) continue; if($scope.zones[i].country_code == country_code) { $scope.filter_zones.push($scope.zones[i]); } } var country_code = ''; if($scope.data != undefined && $scope.data.customer != undefined && $scope.data.customer.country_code != undefined) { country_code = $scope.data.customer.country_code; } } $scope.zones = []; communication.getList("zone", {}, "ecommerce").then(function(json) { $scope.zones = json; $scope.filterZoneList(); }); $templateCache.put("uib/template/tabs/tab2.html", "<li ng-class=\"[{active: active, disabled: disabled}, classes]\" class=\"uib-tab nav-item\">\n" + " <a href ng-click=\"select()\" class=\"nav-link\" uib-tab-heading-transclude><i class=\"fa fa-minus-circle\"></i>{{heading}}</a>\n" + "</li>\n" + ""); $templateCache.put('uib/template/tabs/tabset2.html', "<div>\n" + "<div class=\"col-md-2\">\n" + " <ul class=\"nav nav-{{tabset.type || 'tabs'}}\" ng-class=\"{'nav-stacked': vertical, 'nav-justified': justified}\" ng-transclude></ul>\n" + " </div>\n" + "<div class=\"col-md-10\">\n" + " <div class=\"tab-content\">\n" + " <div class=\"tab-pane\"\n" + " ng-repeat=\"tab in tabset.tabs\"\n" + " ng-class=\"{active: tabset.active === tab.index}\"\n" + " uib-tab-content-transclude=\"tab\">\n" + " </div>\n" + " </div>\n" + " </div>\n" + "</div>\n" + ""); }, size:'lg', execute_path:'ecommerce.customer.address', form_name:'AddressForm' }); } }]);
[+]
..
[-] profile.js
[edit]
[-] pagelist.js
[edit]
[-] order.js
[edit]
[-] customer_group.js
[edit]
[-] module_list.js
[edit]
[-] backgroundeditor.js
[edit]
[-] product.js
[edit]
[-] visualcsseditor.js
[edit]
[-] shipping_rule.js
[edit]
[-] profile_change_password.js
[edit]
[-] review.js
[edit]
[-] contributor_invite.js
[edit]
[-] dbfilter.js
[edit]
[-] tax_class.js
[edit]
[-] special_module_style_editor.js
[edit]
[-] idletimeout.js
[edit]
[-] address.js
[edit]
[-] contributor.js
[edit]
[-] login.js
[edit]
[-] skin.js
[edit]
[-] mail.js
[edit]
[-] discount.js
[edit]
[-] customer.js
[edit]
[-] productgrid.js
[edit]
[-] socialsharebuttonconfig.js
[edit]
[-] news.js
[edit]
[-] color.js
[edit]
[-] palette.js
[edit]
[-] newsgrid.js
[edit]
[-] product_option_combination_grid.js
[edit]
[-] page.js
[edit]
[-] product_option.js
[edit]
[-] tax_rate.js
[edit]
[-] coupons.js
[edit]
[-] zone.js
[edit]
[-] product_bulk_price.js
[edit]
[-] option_set.js
[edit]
[-] product_option_combination.js
[edit]