{{ $cabecera->descripcion }}
R.F.C. {{ $cabecera->rfc }}
Sucursal: {{ $cabecera->sucursal }}
{{ $cabecera->ledireccion }} NO.{{ $cabecera->lenumExterior }}, COL. {{ $cabecera->lecolonia}}. {{ strtoupper($cabecera->lemunicipio) }}, {{ strtoupper($cabecera->leestado) }}, {{ strtoupper($cabecera->lepais) }}. CP. {{ $cabecera->lecp }}.
COMPROBACION DE GASTOS PERIODO: {{ $fechainicio }} AL {{ $fechafin }} FECHA: {{ $date }}



@if($detalle[0]->is_confactura == 1) @else @endif
Fecha Folio Proveedor Concepto Cantidad Subtotal IVA TOTALFecha Folio Proveedor Concepto TOTAL


@php $total = 0; $iva = 0; $subtotal=0; $descuento=0; @endphp @foreach($detalle as $gasto) @if($gasto->is_confactura == 1) @else @endif @php $total = $total + $gasto->total; $iva = $iva + $gasto->iva; $subtotal = $subtotal + $gasto->subtotal; $descuento = $descuento + $gasto->descuento; @endphp @endforeach
{{ $gasto->fecha }} {{ $gasto->folio }} {{ $gasto->proveedor }} {{ $gasto->concepto }} {{ $gasto->cantidad }} {{ $gasto->subtotal }} {{ $gasto->iva }} {{ $gasto->total }}{{ $gasto->fecha }} {{ $gasto->folio }} {{ $gasto->proveedor }} {{ $gasto->concepto }} {{ $gasto->total }}


@if($gasto->is_confactura == 1) @endif
SUBTOTAL: $ {{ number_format($subtotal,2) }}
IVA: $ {{ number_format($iva,2) }}
DESCUENTO: $ {{ number_format($descuento,2) }}
TOTAL: $ {{ number_format(($total-$descuento),2) }}








NOMBRE Y FIRMA RESPONSABLE DE CAJA NOMBRE Y FIRMA GERENTE DE SUCURSAL