@extends('layouts/contentLayoutMaster') @section('title', 'Create Fixed Asset Movement') @section('vendor-style') @endsection @section('page-style') @endsection @section('content') {{-- Add Dispatch Point --}} Asset Details @if ($message = Session::get('success')) {{ $message }} @endif @if ($errorMessage = Session::get('errorMessage')) {{ $errorMessage }} @endif @csrf Current Location : {{$note['location'] ? $note['location'] : 'N/A'}} Location Code : {{$note['location_code'] ? $note['location_code'] : 'N/A'}} @php $badges = [ 'store' => ['label' => 'Area Office Store', 'color' => '#419afa'], 'plant_store' => ['label' => 'Plant Store', 'color' => '#419afa'], 'plant' => ['label' => 'Plant', 'color' => '#db4243'], 'building' => ['label' => 'Plant Building', 'color' => '#e08465'], 'plant_mcc' => ['label' => 'Plant Collection Point', 'color' => '#eb7aa0'], 'ao' => ['label' => 'Area Office', 'color' => '#28A745'], 'dp' => ['label' => 'Dispatch Point', 'color' => '#20C997'], 'mcc' => ['label' => 'Collection Center', 'color' => '#007bff'], // Bootstrap primary color 'ao_building' => ['label' => 'Area Office Building', 'color' => '#008080'], ]; @endphp Type : {{ $badges[$note['type']]['label'] ?? 'N/A' }} Asset Code : {{$note['asset_code'] ? $note['asset_code'] : 'N/A'}} Asset Name : {{ $note['asset_name'] ? $note['asset_name'] : 'N/A' }} Movement Code * @error('code') {{ $message }} @enderror Movement Details Select Movement Type Select Movement Type @if ((auth()->user()->roles->first()->access_level == 6 || auth()->user()->roles->first()->access_level == 5 || auth()->user()->roles->first()->access_level == 4) && isset($note['store']) && $note['store']['plant_id'] != null) Plant Building (Plant) Collection Point (Plant) Area Office Store Stock @else Area Office Dispatch Point Collection Point Store Stock Building (Area Office) @endif WEF Date @error('wef') {{ $message }} @enderror Note (Optional) @error('note') {{ $message }} @enderror @include('content._partials._sections.fixed_movement_filter') Submit {{-- Reset Cancel --}} @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection