{{ $namesistema }}
R.F.C. {{ $cabecera->rfc }}
SUCURSAL: {{ $corteciego[0]->sucursal }}
{{ $cabecera->ledireccion }} NO.{{ $cabecera->lenumExterior }}, COL. {{ $cabecera->lecolonia}}. {{ strtoupper($cabecera->lemunicipio) }}, {{ strtoupper($cabecera->leestado) }}, {{ strtoupper($cabecera->lepais) }}. CP. {{ $cabecera->lecp }}.
{{ $cabecera->letelefono }}

CORTE DE CAJA DEL DIA {{ $corteciego[0]->fechacorte }}
@php $totalDiario = 0; @endphp @foreach($ventas as $venta) @if($venta->pagoAnticipo == 1 && $venta->pagoDeposito == 1) @elseif($venta->pagoAnticipo == 0 && $venta->pagoDeposito == 1) @elseif($venta->pagoAnticipo == 1 && $venta->pagoDeposito == 0) @else @endif @if($venta->status != 13) @else @endif @php $totalDiario = $totalDiario + $venta->formapagomonto; @endphp @endforeach
DIARIO DE VENTA DE CONTADO
Hora Documento Folio Cod. Vendedor Cliente F.Pago Total Monto
{{ $venta->hora }} {{ $venta->documento }} {{ $venta->serie."-".$venta->folio }} {{ $venta->id_tpv_vendedor }} {{ $venta->cliente }}DEP ANTICIPO {{ $venta->formapago }}DEPOSITO EN {{ $venta->formapago }}ANTICIPO {{ $venta->formapago }}{{ $venta->formapago }}$ {{ number_format($venta->total,2) }}$ {{ number_format($venta->anticipo,2) }}$ {{ number_format($venta->formapagomonto,2) }}
TOTAL: $ {{ number_format($totalDiario,2) }}


@php $totalDiarioCredito = 0; @endphp @foreach($ventasCredito as $venta) @if($venta->fechaanticipo == '0000-00-00') @else @endif @php $totalDiarioCredito = $totalDiarioCredito + $venta->anticipo; @endphp @endforeach
DIARIO DE VENTA DE CREDITO
Hora Documento Folio Cod. Vendedor Cliente Total financiado Fecha Eng. Enganche
{{ $venta->hora }} {{ $venta->documento }} {{ $venta->serie."-".$venta->folio }} {{ $venta->id_tpv_vendedor }} {{ $venta->cliente }} $ {{ number_format($venta->total,2) }} $ {{ number_format($venta->total-$venta->anticipo,2) }}{{ date('d/m/Y', strtotime($venta->fecha)) }}{{ date('d/m/Y', strtotime($venta->fechaanticipo)) }}$ {{ number_format($venta->anticipo,2) }}
TOTAL: $ {{ number_format($totalDiarioCredito,2) }}


@php $totalAbonosPagos = 0; @endphp @foreach($abonos as $abono) @if($abono->numpago > 0) @else @endif @if($abono->numpago > 0) @else @endif @if($abono->id_sat_formapago!="201" && $abono->id_sat_formapago!="30") @if($abono->numpago > 0) @php $totalAbonosPagos = $totalAbonosPagos + $abono->pagototal; @endphp @else @php $totalAbonosPagos = $totalAbonosPagos + $abono->importepagado; @endphp @endif @endif @endforeach
ABONOS A CUENTA
Hora Folio Tipo Cliente UUID F.Pago Importe
{{ $abono->hora }} {{ $abono->folio }}PAGOS {{ $abono->numpago }}ENGANCHE{{ $abono->cliente }} {{ $abono->UUID }} {{ $abono->formapago }}$ {{ $abono->pagototal }}$ {{ $abono->importepagado }}
TOTAL: $ {{ number_format($totalAbonosPagos,2) }}


@php $totalAnticipos = 0; @endphp @foreach($anticipos as $anticipo) @php $totalAnticipos = $totalAnticipos + $anticipo->monto; @endphp @endforeach
ANTICIPOS DE CLIENTES
Hora Folio Cliente Concepto F.Pago Importe
{{ $anticipo->hora }} {{ $anticipo->folio }} {{ $anticipo->cliente }} {{ $anticipo->concepto }} {{ $anticipo->formapago }} $ {{ $anticipo->monto }}
TOTAL: $ {{ number_format($totalAnticipos,2) }}


ABONOS A APARTADOS
Hora Folio Cliente Artículo F.Pago Importe
TOTAL: $ {{ number_format(0,2) }}


@php $totalMovCaja = 0; @endphp @foreach($movimientos as $movimiento) @php $totalMovCaja = $totalMovCaja + $movimiento->monto; @endphp @endforeach
MOVIMIENTOS DE CAJA
Hora Folio Turno Tipo Concepto F.Pago Monto
{{ $movimiento->hora }} {{ $movimiento->folio }} {{ $movimiento->turno }} {{ $movimiento->tipo }} {{ $movimiento->observaciones }} {{ $movimiento->formapago }} $ {{ $movimiento->monto }}
TOTAL: $ {{ number_format($totalMovCaja,2) }}


@php $totalIngresos = 0; @endphp @foreach($ingresos as $idxsucursal => $sucursal) @foreach($sucursal as $idxturno => $tipom) @foreach($tipom as $idxtip => $tip) @foreach($tip as $idxfp => $fp) @if($idxfp!="201") @endif @php $totalIngresos = $totalIngresos + $fp; @endphp @endforeach @endforeach @endforeach @endforeach
INGRESOS
Turno Origen F.Pago Total
{{ $idxturno }} {{ $idxtip }} {{ $idxfp }} $ {{ number_format($fp,2) }}
TOTAL: $ {{ number_format($totalIngresos,2) }}


@php $totalEgresos = 0; @endphp @foreach($egresos as $idxsucursal => $sucursal) @foreach($sucursal as $idxturno => $tipom) @foreach($tipom as $idxtip => $tip) @foreach($tip as $idxfp => $fp) @php $totalEgresos = $totalEgresos + $fp; @endphp @endforeach @endforeach @endforeach @endforeach
EGRESOS
Turno Origen Total F.Pago
{{ $idxturno }} {{ $idxtip }} $ {{ number_format($fp,2) }} {{ $idxfp }}
TOTAL: $ {{ number_format($totalEgresos, 2) }}


@php $total = 0; $totalDepositado= 0;@endphp @foreach($formaspago as $dxformapago => $formapago) @if($dxformapago=='EFECTIVO') @php $totalDepositado = $formapago;@endphp @endif @php $total = $total + $formapago; @endphp @endforeach
FORMAS DE PAGO
F.Pago Total
{{ $dxformapago }} $ {{ number_format($formapago,2) }}
TOTAL INGRESADO: $ {{ number_format($totalIngresos,2,'.',',') }}
TOTAL RETIROS: $ {{ number_format($totalEgresos,2,'.',',') }}
TOTAL FINAL: $ {{ number_format($total,2,'.',',') }}
TOTAL EFECTIVO DEP.: $ {{ number_format($totalDepositado,2,'.',',') }}






{{ $corteciego[0]->elabora }}





GERENTE DE TIENDA





DIRECCION
________________________________
ELABORA
________________________________
REVISA
________________________________
Vo.Bo.