@foreach($venta as $v)
Historial de pago
{{ $v->usuario_nombre }}@if(!empty($v->rut)) {{ \FCR::num_cl($v->rut).'-'.$v->rut_digito_verificador }}@endif
{{ $v->folio }} {{ $v->dte_tipo_nombre }}
{{ \FCR::solo_fecha($v->dte_fecha_emision) }}
{{ \FCR::solo_fecha($v->dte_fecha_emision) }}
${{ \FCR::num_cl($monto) }}
${{ \FCR::num_cl($saldo) }}
Historial
@foreach($historial as $h)
{{ \FCR::solo_fecha($h->dte_historial_fecha_pago) }}
{{ ucwords($h->dte_historial_estado) }} de {{ \FCR::num_cl($h->dte_historial_monto) }} ({{ $h->forma_pago_nombre }}) realizado por {{ $h->usuario_nombre }} @if(!empty($h->dte_historial_comentarios))

"{{ $h->dte_historial_comentarios }}"

@endif
@if($h->dte_historial_estado != 'pendiente') @endif
@endforeach
@endforeach