Valor de UF de hoy cuando no se encuentra valor.
This commit is contained in:
@ -61,6 +61,9 @@
|
|||||||
<tbody>@php
|
<tbody>@php
|
||||||
$now = new DateTimeImmutable();
|
$now = new DateTimeImmutable();
|
||||||
$uf_venta = $venta->uf === 0.0 ? $UF->get($venta->currentEstado()->fecha) : $venta->uf;
|
$uf_venta = $venta->uf === 0.0 ? $UF->get($venta->currentEstado()->fecha) : $venta->uf;
|
||||||
|
if ($uf_venta === 0.0) {
|
||||||
|
$uf_venta = $UF->get();
|
||||||
|
}
|
||||||
@endphp
|
@endphp
|
||||||
@foreach ($venta->formaPago()->pie->cuotas() as $cuota)
|
@foreach ($venta->formaPago()->pie->cuotas() as $cuota)
|
||||||
<tr data-pago="{{$cuota->pago->id}}"
|
<tr data-pago="{{$cuota->pago->id}}"
|
||||||
|
Reference in New Issue
Block a user