@extends('layouts/contentLayoutMaster') @section('title', 'Fixed Asset Allocation') @section('vendor-style') @endsection @section('page-style') @endsection @section('content') {{-- Add Dispatch Point --}} From : {{$store->plant ? $store->plant->name : ($store->ao ? $store->ao->ao_name : 'N/A')}} Store : {{$store->name ? $store->name : 'None'}} @if ($message = Session::get('success')) {{ $message }} @endif @if ($errorMessage = Session::get('errorMessage')) {{ $errorMessage }} @endif @csrf Allocation Code * @error('code') {{ $message }} @enderror Select Allocation Type Select Allocation Type @if ((auth()->user()->roles->first()->access_level == 6 || auth()->user()->roles->first()->access_level == 5 || auth()->user()->roles->first()->access_level == 4) && $store->plant_id != null) Plant Building (Plant) Collection Point (Plant) Area Office @else Area Office Dispatch Point Collection Point Building (Area Office) @endif @include('content._partials._sections.fixed_allocation_filter') Asset Details {{-- From Store @error('storeName') {{ $message }} @enderror --}} Select Asset Select Item @foreach ($items as $item) item_id ? 'selected' : '' }} value="{{ $item->item_id }}" > {{-- {{ $item->item->code .' '. ucfirst($item->item->name) }} --}} {{ ucfirst($item->item->name) .' ('. $item->item->sap_code .')' }} @endforeach Allocation WEF Date @error('wef') {{ $message }} @enderror Installation Date @error('install_date') {{ $message }} @enderror Note (Optional) @error('note') {{ $message }} @enderror Submit {{-- Reset Cancel --}} @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection