@extends('layouts.panel') @section('title', 'Registro Diario') @section('content')
Pedidos activos

{{ $activeOrders->count() }}

Registros del {{ $date->format('d-m-Y') }}

{{ $records->count() }}

Kilos lavados registrados

{{ number_format($totalWashedToday, 2) }} kg

Pedidos activos
@forelse ($activeOrders as $order) @empty @endforelse
Código Cliente Línea Estado actual Acción
{{ $order->order_code }} {{ $order->client->business_name ?: $order->client->contact_name }} {{ $order->serviceLineLabel() }} @php $statusColors = [ 'received' => 'secondary', 'washing' => 'info', 'drying' => 'info', 'folding' => 'warning', 'bagging' => 'warning', 'ready' => 'success', 'dispatched' => 'primary', ]; $color = $statusColors[$order->status] ?? 'secondary'; @endphp {{ $order->statusLabel() }}
No hay pedidos activos.
Historial de producción — {{ $date->format('d-m-Y') }}
@forelse ($records as $record) @empty @endforelse
Pedido Cliente Kilos lavados Operador Estado registrado Observaciones Acción
{{ $record->order->order_code }} {{ $record->order->client->business_name ?: $record->order->client->contact_name }} {{ $record->weight_washed_kg ? number_format($record->weight_washed_kg, 2) . ' kg' : '—' }} {{ $record->operator?->name ?? '—' }} {{ $record->statusLabel() }} {{ $record->observations ?? '—' }}
@csrf @method('DELETE')
Sin registros para esta fecha.
@push('scripts') @endpush @endsection