@if (!empty($formasDePago)) @foreach ($formasDePago as $formaDePago) @endforeach @else @endif @php // echo '
';
                    //     print_r($ventas);
                    // echo '
'; @endphp @if (count($ventas) > 0) @foreach ($ventas as $v) @php $textDanger = ''; if (isset($v['dte_tipo_id']) && !empty($v['dte_tipo_id']) && $v['dte_tipo_id'] == 19) { $textDanger = 'text-danger'; } @endphp @foreach ($v['forma_pago_valores'] as $totalFormaPago) @endforeach @endforeach @else @endif
Sucursal / Folio{{ $formaDePago['forma_pago_nombre'] }}Forma de PagoTotal
@if (isset($v['punto_venta_id']) && !empty($v['punto_venta_id'])) @php $numero_comprobande = \FCRD::obtenerNumeroComprobanteReporteCaja( $v['punto_venta_id'], ); @endphp @endif @if (empty($v['folio'])) {!! \ICO::icon_chevron_down(' icon-down') !!} @endif {{ $v['sucursal'] }} @if (!empty($v['folio'])) / @if ($v['tipo'] == 'abono') Abono @endif DTE {{ $v['folio'] }} @if (in_array($v['tipo'], ['total', 'sucursal'])) @else @if (isset($numero_comprobande) && !empty($numero_comprobande)) / N° {{ $numero_comprobande }} @endif @if (isset($v['dte_tipo_id']) && !empty($v['dte_tipo_id']) && $v['dte_tipo_id'] == 19) (NC) @endif @endif @endif {{-- @if ($totalFormaPago != 0) --}} @if (isset($v['dte_tipo_id']) && !empty($v['dte_tipo_id']) && $v['dte_tipo_id'] == 19 && $totalFormaPago != 0) - ${{ \FCR::num_cl($totalFormaPago) }} @else ${{ \FCR::num_cl($totalFormaPago) }} @endif {{-- @endif --}} {{-- @if ($v['total'] != 0) --}} @if (isset($v['dte_tipo_id']) && !empty($v['dte_tipo_id']) && $v['dte_tipo_id'] == 19 && $v['total'] != 0) - ${{ \FCR::num_cl($v['total']) }} @else ${{ \FCR::num_cl($v['total']) }} @endif {{-- @endif --}}
No hay ventas registradas