@extends('layouts.page')
@section('title')
Monthly Work Planner
View
@endsection
@section('navs')
@if (Auth::user()->can('update', $monthly_work_planner))
@endif
@if (Auth::user()->can('add_attachment', $monthly_work_planner))
Add Attachment
@endif
@if (Auth::user()->id == $monthly_work_planner->created_by && $monthly_work_planner->status == 'created')
@endif
@endsection
@section('content')
Warning: Undefined variable $monthly_work_planner in /var/www/html/pruthvi/resources/views/monthly_work_planner/view.blade.php on line 24
{{ Form::open(['id' => 'idForm']) }}
| Month | Year | Status | @if (Auth::user()->can('view_attachment', $monthly_work_planner))Attachment | @endif||
|---|---|---|---|---|---|
| {!! AppHelper::dropdown($monthly_work_planner->month, 'planner_months') !!} | {!! AppHelper::dropdown($monthly_work_planner->year, 'years') !!} | @if($monthly_work_planner->status == 'sent_action_plan')Action plan sent | @elseif($monthly_work_planner->status == 'sent_accomplishments')Accomplishments sent | @else{!! ucwords(str_replace("_", " ", $monthly_work_planner->status)) !!} | @endif @if (Auth::user()->can('view_attachment', $monthly_work_planner)){!! EasyForm::viewFile('', '', $monthly_work_planner->attachment)!!} | @endif