FIX: Search venta
This commit is contained in:
@ -45,7 +45,7 @@
|
|||||||
draw() {
|
draw() {
|
||||||
const tipo = this.unidad.proyecto_tipo_unidad.tipo_unidad.descripcion
|
const tipo = this.unidad.proyecto_tipo_unidad.tipo_unidad.descripcion
|
||||||
let unidad = tipo.charAt(0).toUpperCase() + tipo.slice(1) + ' ' + this.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
|
unidad = this.venta.propiedad.tipologia
|
||||||
}
|
}
|
||||||
let precio = 0
|
let precio = 0
|
||||||
|
Reference in New Issue
Block a user