Editar valor venta
This commit is contained in:
@ -158,10 +158,10 @@
|
||||
return
|
||||
}
|
||||
const old_value = this.unidades[idx].valor
|
||||
if (old_value === parseFloat(value)) {
|
||||
if (old_value === parseFloat(valor)) {
|
||||
return
|
||||
}
|
||||
const url = '{{$urls->api}}/ventas/propiedades/unidad/' + id + '/edit'
|
||||
const url = '{{$urls->api}}/ventas/propiedades/unidad/' + pid + '/edit'
|
||||
const data = new FormData()
|
||||
data.set('valor', valor)
|
||||
return fetchAPI(url, {method: 'post', body: data}).then(response => {
|
||||
|
Reference in New Issue
Block a user