@extends('layouts.app') @section('title', 'Edit Machine Area Allocation') @section('content') Edit Machine Area Allocation @include('manufacturing.partials.navigation') Edit Allocation: {{ $allocation->area_code }} {{ $allocation->status_label }} @csrf @method('PUT') Machine * Select Machine @foreach($machines ?? [] as $machine) machine_id) == $machine->id ? 'selected' : '' }}> {{ $machine->asset_code ?? $machine->code }} - {{ $machine->name }} @endforeach @error('machine_id') {{ $message }} @enderror Manufacturing Location * Select Location @foreach($locations ?? [] as $location) manufacturing_location_id) == $location->id ? 'selected' : '' }}> {{ $location->code }} - {{ $location->name }} @endforeach @error('manufacturing_location_id') {{ $message }} @enderror Area Code * @error('area_code') {{ $message }} @enderror Unique code for this area Area Name * @error('area_name') {{ $message }} @enderror Allocation Date * @error('allocation_date') {{ $message }} @enderror Description @error('description') {{ $message }} @enderror is_active) ? 'checked' : '' }}> Active Inactive allocations won't be available for production scheduling Update Allocation Cancel @endsection