Cambio en diseño de inicio

This commit is contained in:
Juan Pablo Vial
2024-06-11 13:21:50 -04:00
parent 5864e7ee94
commit 61533b5a4c
2 changed files with 2 additions and 19 deletions

View File

@ -10,13 +10,11 @@
<div class="ui two column grid">
<div class="column">
@include('home.cuotas_por_vencer')
@include('home.cierres_vigentes')
</div>
<div class="column">
@include('home.alertas')
</div>
<div class="column">
@include('home.cierres_vigentes')
</div>
</div>
</div>
@endsection

View File

@ -68,21 +68,6 @@
const index = this.data.proyectos.findIndex(proyecto => proyecto.id === data.proyecto_id)
this.data.proyectos[index].escrituras = data.escrituras
})
/*const index = this.data.proyectos.findIndex(proyecto => proyecto.id === proyecto_id)
if (proyecto_id === 3) {
this.data.proyectos[index].escrituras = {
firmar: 20,
pagar: 70,
abonar: 3
}
}
if (proyecto_id === 4) {
this.data.proyectos[index].escrituras = {
firmar: 0,
pagar: 0,
abonar: 2
}
}*/
}
}
},
@ -132,7 +117,7 @@
$('<div></div>').addClass('event').append(
$('<div></div>').addClass('content').html(tipo)
).append(
$('<div></div>').addClass('meta').html(total + '/' + full + ' ' + formatter.format(Math.round(total / full * 10000) / 100).padStart(2, ' ') + '%')
$('<div></div>').addClass('meta').html(total + '/' + full + ' [' + formatter.format(Math.round(total / full * 10000) / 100).padStart(2, ' ') + '%]')
)
)
})