@extends('layouts.page') @section('title') Employee Resignation
{{ $employee_resignations->total() }}
@endsection @section('navs') @include ('search', ['model' => &$employee_resignation]) @if(Auth::user()->hasAnyDepartment(['hrd']) || Auth::user()->hasAnyRole(['admin'])) Total: {{ $employee_resignations->total() }} @endif @if(!Auth::user()->employee->resignation()) New @endif @endsection @section('content')
@foreach ($employee_resignations as $employee_resignation)   @endforeach
Staff Department Created By Record Is Status Resignation Date
{!! $employee_resignation->employee->name !!} {!! AppHelper::dropdown($employee_resignation->department, 'departments') !!} {{ \App\User::getUserName($employee_resignation->created_by) }} {!! AppHelper::dropdown($employee_resignation->record_status, 'active_status') !!} {!! AppHelper::dropdown($employee_resignation->status, $employee_resignation->workflow().'s') !!} {!! AppHelper::date(date('d M Y', strtotime($employee_resignation->created_at))) !!}
{{ $employee_resignations->appends(Input::except('page'))->links() }}
@include ('employee_resignation.filter', ['route' => route('employee_resignations')]) @endsection