@@ -5,6 +5,9 @@ app.controller('facturaCtrl', function ($scope, $http, $window, notify,$location
var user = $location.search().user;
if (user == undefined)
user="";
+ $scope.modificar = function() {
+ $scope.cero=true;
+ }
$scope.confirmar = function() {
$scope.cero=false;
};
@@ -51,7 +51,7 @@
<div class="row">
<div class="col-md-12">
<button ng-show="cero==true" class="css-button" ng-click="confirmar()">Confirmar</button>
- <button ng-show="cero==false" class="css-button" ng-click="cero=true">Modificar</button>
+ <button ng-show="cero==false" class="css-button" ng-click="modificar()">Modificar</button>
<!--
<button class="css-button" ng-click="">Ver pedido</button>
-->