@extends('layouts.page') @section('title') Monthly Work Planner
{{ $monthly_work_planners->total() }}
@endsection @section('navs') @include ('search', ['model' => &$monthly_work_planner]) @if (Auth::user()->can('create', $monthly_work_planner)) @endif @endsection @section('content')
@foreach ($monthly_work_planners as $planner) @if($planner->status == 'sent_action_plan') @elseif($planner->status == 'sent_accomplishments') @else @endif @endforeach
Monthly Report Department Status Created By Updated By
{!! AppHelper::dropdown($planner->month, 'planner_months') !!} - {!! AppHelper::dropdown($planner->year, 'years') !!} {!! AppHelper::dropdown($planner->department, 'departments') !!}Action plan sent Accomplishments sent {!! ucwords(str_replace("_", " ", $planner->status)) !!} {{ ($planner->created_user->name) }}
{!! date('d M Y', strtotime($planner->created_at)) !!}
{{ \App\User::getUserName($planner->updated_by) }}
{!! date('d M Y', strtotime($planner->updated_at)) !!}
{{ $monthly_work_planners->appends(Input::except('page'))->links() }}
@include ('monthly_work_planner.filter', ['route' => route('monthly_work_planners')]) @endsection