diff --git a/app/resources/views/ventas/add.blade.php b/app/resources/views/ventas/add.blade.php index 7f84505..0efc33a 100644 --- a/app/resources/views/ventas/add.blade.php +++ b/app/resources/views/ventas/add.blade.php @@ -793,7 +793,9 @@ button.prop('disabled', true) button.css('cursor', 'wait') const body = new FormData(event.currentTarget) - if (body.get('unidad')) + /*const unidades = event.currentTarget.querySelectorAll("[name^='unidad_']") + console.debug(unidades) + return;*/ const uri = '{{$urls->api}}/ventas/add' return fetchAPI(uri, {method: 'post', body}).then(response => { if (!response) {