|
|
@@ -90,7 +90,7 @@ app.controller('editPedidoCtrl', function ($scope, $http, $routeParams, notify,
|
|
|
|
|
|
$http.post('back/pedido', { pedido: pedido } )
|
|
|
.success(function(data, status, headers, config) {
|
|
|
- notify("Actualizado correctamente");
|
|
|
+ notify({messageTemplate:"<span>Pedido Guardado. <br/> Recuerde <b>confirmarlo</b> una vez que este finalizado.</span>"});
|
|
|
$timeout(function() { $location.url("/"+$routeParams.hash); }, 2000);
|
|
|
})
|
|
|
.error(function(data, status, headers, config) {
|