@extends('layouts.template') @section('content')

Acting Requests

@foreach ($data as $item) @if ($item->acting_status === 'pending') @if ($item->acting_officer === Auth::user()->id) @if ($item->acting_status === 'pending') @elseif ($item->acting_status === 'approved') @else @endif @if ($item->acting_status === 'pending') @else @endif @endif @endif @endforeach
Requested By Type From To Status Remark
{{ $item->user_name }} {{ $item->type }} {{ $item->leave_from }} {{ $item->leave_to }}Pending Approved Rejected
@endsection