@extends('layouts.app') @section('title', 'Add Machine Area Allocation') @section('content') Add Machine Area Allocation @include('manufacturing.partials.navigation') Create New Allocation @csrf Machine * Select Machine @foreach($machines ?? [] as $machine) id ? 'selected' : '' }}> {{ $machine->asset_code ?? $machine->code }} - {{ $machine->name }} @endforeach @error('machine_id') {{ $message }} @enderror Manufacturing Location * Select Location @foreach($locations ?? [] as $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 Active Inactive allocations won't be available for production scheduling Create Allocation Cancel @endsection