Merge branch 'develop'
This commit is contained in:
@ -82,7 +82,7 @@
|
|||||||
?>
|
?>
|
||||||
@foreach ($venta->pie()->cuotas() as $cuota)
|
@foreach ($venta->pie()->cuotas() as $cuota)
|
||||||
<tr>
|
<tr>
|
||||||
<td class="@include('ventas.pies.cuotas.estado')">
|
<td class="@include('ventas.pies.cuotas.estado', compact('cuota'))">
|
||||||
<a href="{{url('', ['p' => 'cuotas', 'a' => 'show', 'cuota' => $cuota->id])}}">{{++$cnt}} <span class="glyphicon glyphicon-edit small"></span></a>
|
<a href="{{url('', ['p' => 'cuotas', 'a' => 'show', 'cuota' => $cuota->id])}}">{{++$cnt}} <span class="glyphicon glyphicon-edit small"></span></a>
|
||||||
</td>
|
</td>
|
||||||
<td>{{\App\Helper\Format::shortDate($cuota->pago()->fecha)}}</td>
|
<td>{{\App\Helper\Format::shortDate($cuota->pago()->fecha)}}</td>
|
||||||
@ -96,7 +96,7 @@
|
|||||||
</td>
|
</td>
|
||||||
<td class="text-right">$ {{\App\Helper\Format::pesos($cuota->valor())}}</td>
|
<td class="text-right">$ {{\App\Helper\Format::pesos($cuota->valor())}}</td>
|
||||||
<td class="text-right">{{\App\Helper\Format::ufs($cuota->valor('ufs'))}} UF</td>
|
<td class="text-right">{{\App\Helper\Format::ufs($cuota->valor('ufs'))}} UF</td>
|
||||||
<td class="text-center @include('ventas.pies.cuotas.estado')">
|
<td class="text-center @include('ventas.pies.cuotas.estado', ['cuota' => $cuota])">
|
||||||
{{\App\Helper\Format::shortDate($cuota->pago()->estado()->fecha)}}
|
{{\App\Helper\Format::shortDate($cuota->pago()->estado()->fecha)}}
|
||||||
<a href="{{url('', ['p' => 'pagos', 'a' => 'edit', 'pago' => $cuota->pago()->id, 'asociado' => 'venta', 'venta' => $venta->id])}}"><span class="glyphicon glyphicon-edit small"></span></a>
|
<a href="{{url('', ['p' => 'pagos', 'a' => 'edit', 'pago' => $cuota->pago()->id, 'asociado' => 'venta', 'venta' => $venta->id])}}"><span class="glyphicon glyphicon-edit small"></span></a>
|
||||||
</td>
|
</td>
|
||||||
@ -179,25 +179,25 @@
|
|||||||
'ufs' => $total->pagado_uf
|
'ufs' => $total->pagado_uf
|
||||||
];
|
];
|
||||||
?>
|
?>
|
||||||
@include('ventas.pies.totales')
|
@include('ventas.pies.totales', compact('valores'))
|
||||||
<?php
|
<?php
|
||||||
$valores->titulo = 'Por Pagar';
|
$valores->titulo = 'Por Pagar';
|
||||||
$valores->pesos = $total->por_pagar;
|
$valores->pesos = $total->por_pagar;
|
||||||
$valores->ufs = $total->por_pagar_uf;
|
$valores->ufs = $total->por_pagar_uf;
|
||||||
?>
|
?>
|
||||||
@include('ventas.pies.totales')
|
@include('ventas.pies.totales', compact('valores'))
|
||||||
<?php
|
<?php
|
||||||
$valores->titulo = 'Total Cuotas';
|
$valores->titulo = 'Total Cuotas';
|
||||||
$valores->pesos = $total->cuotas;
|
$valores->pesos = $total->cuotas;
|
||||||
$valores->ufs = $total->cuotas_uf;
|
$valores->ufs = $total->cuotas_uf;
|
||||||
?>
|
?>
|
||||||
@include('ventas.pies.totales')
|
@include('ventas.pies.totales', compact('valores'))
|
||||||
<?php
|
<?php
|
||||||
$valores->titulo = 'Diferencia c/Pie';
|
$valores->titulo = 'Diferencia c/Pie';
|
||||||
$valores->pesos = $total->dif;
|
$valores->pesos = $total->dif;
|
||||||
$valores->ufs = $total->dif_uf;
|
$valores->ufs = $total->dif_uf;
|
||||||
?>
|
?>
|
||||||
@include('ventas.pies.totales')
|
@include('ventas.pies.totales', compact('valores'))
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
<a href="{{nUrl('informes', 'cuotas', ['venta' => $venta->id])}}">Exportar</a>
|
<a href="{{nUrl('informes', 'cuotas', ['venta' => $venta->id])}}">Exportar</a>
|
||||||
|
Reference in New Issue
Block a user