@extends('admin.layouts.layouts') @section('title', 'Details | Conveyance Master') @section('content')
Conveyance Details
Effective Month:
{{ date('F Y', strtotime($conveyance->effective_from)) ?? '-' }}
Created At:
{{ $conveyance->created_at->format('d-m-Y') }}
Created By:
{{ $conveyance->createdBy?->name }}
Updated At:
{{ !empty($conveyance->updated_at) ? $conveyance->updated_at->format('d-m-Y h:i:s A') : '-' }}
Updated By:
{{ !empty($conveyance->updated_at) ? $conveyance->updatedBy->name ?? '-' : '-' }}
Employee Conveyances
@if (!isset($conveyance->employeeConveyances) || $conveyance->employeeConveyances->isEmpty())

Records not found!

@else
@foreach ($conveyance->employeeConveyances as $employeeConveyance) @endforeach
Employee Code Conveyance Type Amount
{{ $employeeConveyance->employee->employee_name ?? '-' }} ({{ $employeeConveyance->employee->employeeDesignation->name ?? '' }}) {{ $employeeConveyance->employee->employee_code ?? '-' }} {{ $employeeConveyance->conveyance_type ?? '-' }} {{ number_format($employeeConveyance->amount, 2) }}
@endif
@endsection