FIX: If pendiente
This commit is contained in:
@ -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) {
|
||||
|
Reference in New Issue
Block a user