@extends('layouts.app') @section('title', 'Create Production Schedule') @section('content') Create Production Schedule @include('manufacturing.partials.navigation') Create New Production Schedule @csrf Schedule Code * Auto-generated Bill of Materials (BOM) * Select BOM @foreach($boms ?? [] as $bom) id ? 'selected' : '' }}> {{ $bom->bom_code }} - {{ $bom->name }} @if($bom->product) ({{ $bom->product->name }}) @endif @endforeach @error('bom_id') {{ $message }} @enderror Select a BOM to auto-fill product details Product * Select Product (auto-filled from BOM) @foreach($products ?? [] as $product) id ? 'selected' : '' }}> {{ $product->sku ?? $product->product_code }} - {{ $product->name }} @endforeach @error('product_id') {{ $message }} @enderror Automatically populated from selected BOM Quantity to Produce * @error('quantity_to_produce') {{ $message }} @enderror Unit of Measure * Select Unit @error('unit_of_measure') {{ $message }} @enderror Unit for the quantity to produce Planned Start Date * @error('planned_start_date') {{ $message }} @enderror Planned End Date * @error('planned_end_date') {{ $message }} @enderror Priority Low Medium High Urgent @error('priority') {{ $message }} @enderror Shift @error('shift') {{ $message }} @enderror Status Draft Approved In Production Completed On Hold Cancelled @error('status') {{ $message }} @enderror Set initial status for this schedule Select Machines Select machines... ▼ 0 machine(s) selected Select machines for this schedule @error('machines') {{ $message }} @enderror Select Areas / Locations Select areas... ▼ 0 area(s) selected Select areas/locations for this schedule @error('locations') {{ $message }} @enderror Assignment Options Assign Users to Machines (Assign specific users to each machine) Assign Users to Areas (Assign specific users to each area) Machine User Assignments Assign users to each selected machine Location/Area User Assignments Assign users to each selected area Notes {{ old('notes') }} @error('notes') {{ $message }} @enderror BOM Code: - BOM Name: - Product: - Product Unit: - BOM Quantity: - Create Schedule Cancel @endsection