@extends('layouts.app') @section('title', 'Production Schedules') @section('content')

Production Schedules

@include('manufacturing.partials.navigation')
@if(session('success'))
{{ session('success') }}
@endif
Schedule Management
Plan and manage production schedules
@forelse($data as $schedule) @empty @endforelse
Schedule Code Product Quantity Start Date End Date Priority Status Actions
{{ $schedule->schedule_code }} {{ $schedule->product->name ?? 'N/A' }} {{ number_format($schedule->quantity_to_produce) }} {{ $schedule->planned_start_date->format('d M Y H:i') }} {{ $schedule->planned_end_date->format('d M Y H:i') }} @php $priorityColors = ['low' => 'secondary', 'medium' => 'info', 'high' => 'warning', 'urgent' => 'danger']; $color = $priorityColors[$schedule->priority] ?? 'secondary'; @endphp {{ ucfirst($schedule->priority) }} @php $statusClasses = [ 'draft' => 'badge-secondary', 'approved' => 'badge-info', 'in_production' => 'badge-primary', 'completed' => 'badge-success', 'on_hold' => 'badge-warning', 'cancelled' => 'badge-danger' ]; $class = $statusClasses[$schedule->status] ?? 'badge-secondary'; @endphp {{ ucfirst(str_replace('_', ' ', $schedule->status)) }}

No production schedules found

Create First Schedule
Showing {{ $data->firstItem() ?? 0 }} to {{ $data->lastItem() ?? 0 }} of {{ $data->total() }} entries
{{ $data->appends(request()->query())->links() }}
@endsection