@if (!$general) @if (!$reporteEca) {{-- @foreach ($datos as $key => $dato) --}} @php $total = 0; $totalP = 0; $totalC = 0; @endphp
Ruta | Fecha | Vehiculo | Conductor | Lider | Usuario | Lista de precios | Material | Código Material | Cantidad | Toneladas | Precio | Total |
---|---|---|---|---|---|---|---|---|---|---|---|---|
{{$d?->programacion?->ruta?->nombre ?? 'N/A'}} | {{$d?->created_at ?? 'N/A'}} | {{$d?->programacion?->vehiculo?->placa ?? 'N/A'}} | {{$nombreConductores[$d?->programacion?->conductor] ?? 'N/A'}} | {{$d?->programacion?->recolector1?->nombre_completo ?? 'N/A'}} | {{$d?->usuario?->nombre_completo ?? 'N/A'}} | {{$d?->lista?->nombre ?? 'N/A'}} | {{$d?->material?->nombre ?? 0}} | {{$d?->material?->codigo ?? 0}} | {{$d?->cantidad_total ?? 0}} | {{$d?->cantidad_total ? ($d?->cantidad_total / 1000) : 0}} | {{$d?->precio ?? 0}} | {{$d?->precio ? ($d?->precio * $d?->cantidad_total) : 0}} |
Total | {{$totalC}} | {{$totalC ? ($totalC / 1000) : 0}} | {{$totalP}} | {{$total}} |
Fecha | ECA | Recolector | Vehiculo | Materiales | Cantidad Recibida ECA | Tonelada Recibida ECA | Cantidad Recolectada | Tonelada Recolectada | Diferencia | Diferencia en Tonelada |
---|---|---|---|---|---|---|---|---|---|---|
{{ $dato?->created_at ?? 'N/A' }} | {{ $dato?->eca?->nombre_completo ?? 'N/A' }} | {{ $dato?->recolector?->nombre_completo ?? 'N/A' }} | {{ $dato?->vehiculo?->placa ?? 'N/A' }} | {{ $dato?->material?->nombre ?? 'N/A' }} | {{ $dato?->cantidad ?? 0 }} | {{ $dato?->cantidad ? $dato?->cantidad / 1000 : 0 }} | {{ $dato?->cantidad_1 ?? 0 }} | {{ $dato?->cantidad_1 ? $dato?->cantidad_1 / 1000 : 0 }} | {{ round(($dato?->cantidad ?? 0) - ($dato?->cantidad_1 ?? 0), 1) }} | {{ round(($dato?->cantidad ?? 0) - ($dato?->cantidad_1 ?? 0), 1) ? round(($dato?->cantidad ?? 0) - ($dato?->cantidad_1 ?? 0), 1) / 1000 : 0 }} |
Total | {{ $totalC }} | {{ $totalC ? $totalC / 1000 : 0 }} | {{ $totalC1 }} | {{ $totalC1 ? $totalC1 / 1000 : 0 }} | {{ $totalD }} | {{ $totalD ? $totalD / 1000 : 0 }} |
Material | Cantidad | Toneladas |
---|---|---|
{{ $dato?->material?->nombre ?? 0 }} | {{ $dato?->cantidad_total ?? 0 }} | {{ $dato?->cantidad_total ? $dato?->cantidad_total / 1000 : 0 }} |
Total | {{ $total ? $total / 1000 : 0 }} |