@extends('admin.layouts.form') @section('content')
# | Leave type | Reason | From date | To date | Duration | Submitted At | Status |
---|---|---|---|---|---|---|---|
{!! ($i+1) !!} | {!! $result->leave_type !!} | {!! $result->reason !!} | {!! $result->from_date !!} | {!! $result->to_date !!} | {!! $result->duration !!} | {!! $result->created_at->toDateString() !!} | @if($result->status == 'Pending') edit remove @else {!! $result->status !!} @endif |