@forelse($items as $it) @empty @endforelse
Fecha Manguera Tipo combustible Turno Usuario Saldo inicial Saldo final Galones Consumidos Precio galón Total
{{ optional($it['fecha'])->format('d/m/Y') }} {{ $it['manguera']?->cara?->estacion?->nombre ?? '-' }} - {{ $it['manguera']?->cara?->nombre ?? '-' }} - MANGUERA #{{ $it['manguera']?->numero_manguera ?? '-' }} {{ $it['manguera']?->tipoCombustible?->nombre ?? '-' }} {{ $it['turno']?->turnos ?? $it['turno']?->nombre ?? '-' }} {{ $it['usuario_nombre'] ?? '-' }} {{ is_null($it['saldo_inicial']) ? '-' : number_format((float)$it['saldo_inicial'], 3, '.', '') }} {{ is_null($it['saldo_final']) ? '-' : number_format((float)$it['saldo_final'], 3, '.', '') }} {{ is_null($it['galones_vendidos']) ? '-' : number_format((float)$it['galones_vendidos'], 3) }} {{ is_null($it['precio_galon']) || (float)$it['precio_galon'] <= 0 ? '-' : number_format((float)$it['precio_galon'], 3) }} {{ is_null($it['total_registro']) ? '-' : number_format((float)$it['total_registro'], 2) }}
No hay datos para el rango seleccionado.
TOTAL GENERAL {{ number_format((float)($totalGeneralVentas ?? 0), 2) }}
@if(!empty($idTurno))
Totales de cierre
Total de efectivo{{ number_format((float)($totalesCierre['efectivo'] ?? 0), 2) }}
Total Crédito{{ number_format((float)($totalesCierre['credito'] ?? 0), 2) }}
Total Visa{{ number_format((float)($totalesCierre['visa'] ?? 0), 2) }}
Total Descuentos{{ number_format((float)($totalesCierre['descuentos'] ?? 0), 2) }}
Total Diferencia{{ number_format((float)($totalesCierre['diferencia'] ?? 0), 2) }}
Resta final (Total general - campos){{ number_format((float)($totalesCierre['resta_final'] ?? 0), 2) }}
@endif