This commit is contained in:
Juan Pablo Vial
2023-09-28 21:05:16 -03:00
parent 2e2d0f07b4
commit 3141f1e7c4
16 changed files with 556 additions and 19 deletions

View File

@ -19,7 +19,7 @@
<td class="right aligned">
{{$format->pesos($credito->pago->valor)}}
</td>
<td id="credito_pago" class="{{$credito->pago->currentEstado->tipoEstadoPago->descripcion === 'no pagado' ? 'warning' : ($credito->pago->currentEstado->tipoEstado->descripcion === 'depositado' ? 'positive' : '')}}">
<td id="credito_pago" class="{{$credito->pago->currentEstado->tipoEstadoPago->descripcion === 'no pagado' ? 'warning' : ($credito->pago->currentEstado->tipoEstadoPago->descripcion === 'depositado' ? 'positive' : '')}}">
<span class="text">{{$credito->pago->currentEstado->fecha->format('d-m-Y')}}</span>
@if ($credito->pago->currentEstado->tipoEstadoPago->descripcion === 'no pagado')
<a href="javascript: depositar({row_id: '#credito_pago', pago_id: {{$credito->pago->id}}});" title="Depositar">

View File

@ -9,7 +9,7 @@
</a>
{{$venta->propietario()->rut()}}
<div class="meta">
{{$venta->propietario()->datos->direccion}}
{{$venta->propietario()->datos->direccion ?? ''}}
</div>
</div>
</div>