From 47d08ee7f211e32e6ac255f0c796b013533a3d9c Mon Sep 17 00:00:00 2001 From: mpuebla Date: Tue, 23 Jul 2019 18:04:26 -0300 Subject: [PATCH] Borrado if. --- src/js/controller.js | 17 ----------------- 1 file changed, 17 deletions(-) diff --git a/src/js/controller.js b/src/js/controller.js index b798f0e..2378400 100644 --- a/src/js/controller.js +++ b/src/js/controller.js @@ -87,23 +87,6 @@ angular.module('focaCrearFactura').controller('facturaController', [ ); $scope.inicial = angular.copy($scope.factura); - if (APP === 'facturador') { - var modalInstance = $uibModal.open( - { - templateUrl: 'modal-estado-cuenta.html', - controller: 'focaModalEstadoCuentaController', - size: 'lg' - } - ); - modalInstance.result - .then(function (data) { - $scope.$broadcast('addCabecera', { - label: 'Tipo de pago: ', - valor: data - }); - }) - .catch(function (e) { console.error(e); }); - } } $scope.$watch('factura', function (newValue) { -- 1.9.1