@vite('resources/css/app.css') @if (auth()->user()->employee_type === 'Accounting') @include('sidebar.users_sidebar') @else @include('Admin.sidebar') @endif

Request Forms

@if ($errors->any())
{{ $errors->first('error') }}
@endif
Monthly Project Report
@if (auth()->user()->employee_type === 'Accounting' || auth()->user()->employee_type === 'Top_Management') @endif @if (auth()->user()->employee_type === 'OperationAdmin' || auth()->user()->employee_type === 'Top_Management') @endif @foreach ($history as $entry) @if (auth()->user()->employee_type === 'OperationAdmin' || auth()->user()->employee_type === 'Top_Management') @endif @if ($user = auth()->user()) @if ($user->employee_type === 'OperationAdmin' || $user->roleschannel->pluck('permission')->contains('Top Management')) @endif @endif @if (auth()->user()->employee_type === 'Accounting' || auth()->user()->employee_type === 'Top_Management') @endif @endforeach
Edit Delete Request No. Employee Name Particulars Status Description Date Created
@if ($user = auth()->user()) @if ($user->roleschannel->isNotEmpty() && $user->roleschannel->pluck('permission')->contains('Top Management')) View Request @elseif(auth()->user()->employee_type === 'Accounting' && $entry->status !== null) View Request @elseif(auth()->user()->employee_type === 'Accounting' && $entry->status == null) Waiting for Top Management Approval @else View Request @endif @endif @if ($user = auth()->user()) @if ( $user->roleschannel->isNotEmpty() && $user->roleschannel->pluck('permission')->contains('Top Management') && $entry->status == null)
@csrf
@elseif(auth()->user()->employee_type === 'Accounting' && $entry->status == 'Management Accepted' && $user->roleschannel->isNotEmpty() && $user->roleschannel->pluck('permission')->contains('RequestReciever'))
@csrf
@elseif($entry->status == null) Pending @else Accepted @endif @endif
No. 000{{ $entry->request_id }} @if ($entry->user) {{ $entry->user->employee_name }}
{{ $entry->user->employee_type }} @else N/A @endif
    @foreach ($entry->particulars as $particular)
  • {{ $particular->particulars }}
  • @endforeach
{{ $entry->status }} {!! $entry->description !!} {{ \Carbon\Carbon::parse($entry->created_at)->format('F j, Y g:i A') }}