@extends('admin.layouts.layouts') @section('title', 'View Expanse Request') @section('page-css') @endsection @section('content')
View Expanse Request
← Back
Employee Name:
{{ $showDetails->employeeMaster->employee_name ?? '-' }}
Expanse Type:
{{ $showDetails->expanseType->name ?? '' }}
Expanse Sub Type:
{{ $showDetails->expanseSubType->name ?? '' }}
Transaction Type:
{{ $showDetails->transaction_type ?? '-' }}
Created At:
{{ $showDetails->created_at->format('d-m-Y h:i A') ?? '' }}
@can('employee-expanse-request-status')
Status:
@endcan
Date:
{{ date('d-m-Y', strtotime($showDetails->date)) ?? '-' }}
Amount:
{{ $showDetails->amount ?? '-' }}
Mode Of Payment:
{{ $showDetails->mode_of_payment ?? '-' }}
Created By:
{{ $showDetails->users->name ?? '-' }}
Document:
@if ($showDetails->document) @else No document available @endif
@if (isset($showDetails->expenseImages) && count($showDetails->expenseImages) > 0)
Attachments @if (isset($showDetails->expenseImages) && count($showDetails->expenseImages) > 0)
@foreach ($showDetails->expenseImages as $expenseImage) @if (!empty($expenseImage->attachment)) @if ($expenseImage->extension == '.heic' || $expenseImage->extension == '.heif')
@else
@if (file_exists('storage/' . $expenseImage->attachment)) @else @endif
@endif @endif @endforeach
@endif
@endif
Expense History
No Status Remark Created Date Created By Updated Date Updated By
{{-- Image View Modal --}} {{-- Expense Status modal --}} @endsection @section('page-js') @endsection