diff --git a/app/resources/views/ventas/facturacion/show/unidad.blade.php b/app/resources/views/ventas/facturacion/show/unidad.blade.php index 76c0d60..dc17fbb 100644 --- a/app/resources/views/ventas/facturacion/show/unidad.blade.php +++ b/app/resources/views/ventas/facturacion/show/unidad.blade.php @@ -40,7 +40,7 @@ const url = '{{$urls->api}}/ventas/unidad/' + this.props.id + '/prorrateo' const method = 'post' const body = new FormData() - body.set('prorrateo', newValue) + body.set('prorrateo', (parseFloat(newValue) / 100).toFixed(8)) return fetchAPI(url, {method, body}).then(response => { if (!response) { return