FIX: Search venta

This commit is contained in:
Juan Pablo Vial
2024-11-19 15:54:14 -03:00
parent cb2edb1543
commit b1609465a9

View File

@ -45,7 +45,7 @@
draw() {
const tipo = this.unidad.proyecto_tipo_unidad.tipo_unidad.descripcion
let unidad = tipo.charAt(0).toUpperCase() + tipo.slice(1) + ' ' + this.unidad.descripcion
if (this.venta !== null) {
if (typeof this.venta !== 'undefined') {
unidad = this.venta.propiedad.tipologia
}
let precio = 0