From 907c756aa2274a6a49a640987dee3c8e2f349720 Mon Sep 17 00:00:00 2001 From: Aldarien Date: Mon, 13 Feb 2023 17:18:26 -0300 Subject: [PATCH] FIX: cuotas --- resources/views/ventas/pies/resumen.blade.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/resources/views/ventas/pies/resumen.blade.php b/resources/views/ventas/pies/resumen.blade.php index 39dfe3e..2ebf3a4 100644 --- a/resources/views/ventas/pies/resumen.blade.php +++ b/resources/views/ventas/pies/resumen.blade.php @@ -82,7 +82,7 @@ ?> @foreach ($venta->pie()->cuotas() as $cuota) - + {{++$cnt}} {{\App\Helper\Format::shortDate($cuota->pago()->fecha)}} @@ -96,7 +96,7 @@ $ {{\App\Helper\Format::pesos($cuota->valor())}} {{\App\Helper\Format::ufs($cuota->valor('ufs'))}} UF - + {{\App\Helper\Format::shortDate($cuota->pago()->estado()->fecha)}} @@ -179,25 +179,25 @@ 'ufs' => $total->pagado_uf ]; ?> - @include('ventas.pies.totales') + @include('ventas.pies.totales', compact('valores')) titulo = 'Por Pagar'; $valores->pesos = $total->por_pagar; $valores->ufs = $total->por_pagar_uf; ?> - @include('ventas.pies.totales') + @include('ventas.pies.totales', compact('valores')) titulo = 'Total Cuotas'; $valores->pesos = $total->cuotas; $valores->ufs = $total->cuotas_uf; ?> - @include('ventas.pies.totales') + @include('ventas.pies.totales', compact('valores')) titulo = 'Diferencia c/Pie'; $valores->pesos = $total->dif; $valores->ufs = $total->dif_uf; ?> - @include('ventas.pies.totales') + @include('ventas.pies.totales', compact('valores')) Exportar