@if(count($ventas) > 0) @foreach($ventas as $v) {{ $v->usuario_nombre }}@if(!empty($v->rut)) {{ \FCR::num_cl($v->rut).'-'.$v->rut_digito_verificador }}@endif {{ $v->folio }} {{ $v->dte_tipo_nombre }} ${{ \FCR::num_cl($v->dte_total) }} {{ \FCR::solo_fecha($v->dte_fecha_emision) }} @if($v->dte_estado == 'pagado') {{ ucwords($v->dte_estado) }} @if(!empty($v->dte_fecha_pago))
Fecha de Pago: {{ \FCR::solo_fecha($v->dte_fecha_pago) }} @endif @elseif($v->dte_estado == 'pendiente') {{ ucwords($v->dte_estado) }} @elseif($v->dte_estado == 'abonado') {{ ucwords($v->dte_estado) }} @if(!empty($v->dte_fecha_pago))
Fecha de Abono: {{ \FCR::solo_fecha($v->dte_fecha_pago) }} @endif @elseif($v->dte_estado == 'anulado') {{ ucwords($v->dte_estado) }} @endif @if(isset($_COOKIE['empresa'])) @if($v->dte_estado != 'pagado') @endif @endif @endforeach @else No hay ventas ingresadas @endif