diff --git a/app/resources/views/ventas/facturacion/show/unidad.blade.php b/app/resources/views/ventas/facturacion/show/unidad.blade.php
index e2aa9b6..76c0d60 100644
--- a/app/resources/views/ventas/facturacion/show/unidad.blade.php
+++ b/app/resources/views/ventas/facturacion/show/unidad.blade.php
@@ -29,6 +29,7 @@
}
return response.json().then(json => {
if (!json.edited) {
+ alert('No se pudo editar la unidad.')
return
}
this.props.valor = parseFloat(json.input.valor)
@@ -68,8 +69,7 @@
return
}
this.update().precio(newValue).then(() => {
- facturas.venta.update().totalUnidades()
- facturas.draw().facturas()
+ window.location.reload()
})
})
},
diff --git a/app/resources/views/ventas/show/escritura.blade.php b/app/resources/views/ventas/show/escritura.blade.php
index 7e2aade..b627919 100644
--- a/app/resources/views/ventas/show/escritura.blade.php
+++ b/app/resources/views/ventas/show/escritura.blade.php
@@ -18,8 +18,8 @@
Firmar
-
- Factura
+
+ Factura
@else