@extends('layouts.page') @section('title') Leaves View @if($employee_leave->status == 'inactive')
{{AppHelper::dropdown($employee_leave->status, $employee_leave->workflow().'s')}}
@endif @endsection @section('navs') @if (in_array($employee_leave->status, ['created', 'need_clarifications']) && Auth::user()->id == $employee_leave->created_by)   @endif @if (Auth::user()->can('deduct', $employee_leave))   @endif @if (Auth::user()->can('inactive', $employee_leave))
Fatal error: Uncaught Error: Call to undefined function route() in /var/www/html/pruthvi/resources/views/employee/leaves/employee_leave/view.blade.php:23 Stack trace: #0 {main} thrown in /var/www/html/pruthvi/resources/views/employee/leaves/employee_leave/view.blade.php on line 23