@extends('layouts/contentLayoutMaster') @section('title', 'Update Fixed Asset Transfer Note') @section('vendor-style') @endsection @section('page-style') @endsection @section('content') {{-- Add Dispatch Point --}} Transfer Note : {{$tn->code ? $tn->code : 'None'}} @if ($message = Session::get('success')) {{ $message }} @endif @if ($errorMessage = Session::get('errorMessage')) {{ $errorMessage }} @endif @csrf Asset Code : {{$tn->asset ? $tn->asset->code : 'N/A'}} From Plant : {{$tn->from_ao ? 'N/A' : ($tn->from_plant ? $tn->from_plant->name : 'N/A')}} From Area Office : {{$tn->from_ao ? $tn->from_ao->ao_name : 'N/A'}} From Store : {{ $tn->from_store ? $tn->from_store->name : 'N/A' }} Type : {{$tn->type ? $tn->type : 'N/A'}} Status : @if ($tn->status == 1) Completed @elseif ($tn->status == 3) Rejected @elseif ($tn->status == 4) Reverted @else Pending @endif Created By : {{$tn->createdBy ? $tn->createdBy->name : 'N/A'}} Note : {{$tn->note ? $tn->note : 'N/A'}} Asset Name : {{$tn->asset ? $tn->asset->name : 'N/A'}} To Plant : {{$tn->to_ao ? 'N/A' : ($tn->to_plant ? $tn->to_plant->name : 'N/A')}} To Area Office : {{$tn->to_ao ? $tn->to_ao->ao_name : 'N/A'}} To Store : {{$tn->to_store ? $tn->to_store->name : 'N/A'}} Updated By : {{$tn->updatedBy ? $tn->updatedBy->name : 'N/A'}} Remarks : {{$tn->remarks ? $tn->remarks : 'N/A'}} Date : {{$tn->date ? $tn->date . ' ' . $tn->time : 'N/A'}} Select Type (Optional) Select Type @if($store->plant) { Plant To Area Office } @else { Area Office To Area Office Area Office To Plant } @endif WEF Date @error('wef') {{ $message }} @enderror Note (Optional) @error('note') {{ $message }} @enderror @include('content._partials._sections.transfers_filter') Submit {{-- Reset Cancel --}} @endsection @section('vendor-script') @endsection @section('page-script') {{-- --}} @endsection