@extends('layouts.appnew') @section('title') @endsection @section('content') @include ('common.errors') @include ('common.flash')
Work Planner Report {{$date}}
{!! Form::open(['url' => route('reports.monthly_planner_dept.dss_report'), 'method' => 'GET' , 'id' => 'idThisForm']) !!} {{ Form::hidden('month',$month) }} {{ Form::hidden('year',$year) }} {{ Form::hidden('depts','',['id'=>'dept']) }} {{ Form::select('month', ['' => 'Month'] + AppHelper::options('months'), $month ) }} {{ Form::select('year', ['' => 'Year'] + AppHelper::options('years'), $year) }} {!! Form::submit('Submit', ['class' => 'btn btn-info btn-sm px-2']) !!} {{ Form::button('Reset', ['class' => 'btn btn-outline-info btn-sm', 'style'=>'padding: 0.125em 0.5em; margin: 0em 0.1em', 'onclick' => 'clearForm(document.getElementById("idThisForm"))']) }}
@foreach ($report as $dept => $deptData) @endforeach
Sno Zone/Department Planner Accomplishments of Previous Month
{{ Form::checkbox("depts[]", $dept) }} {{ $i++ }} {{ $dept}} @if($deptData['planner'] == 'Yes') {{ $deptData['planner']}} @else {{ $deptData['planner']}} @endif @if($deptData['report'] == 'Yes') {{ $deptData['report']}} @else {{ $deptData['report']}} @endif
{!! Form::close() !!} @if (Auth::user()->hasAnyRole(['ad_esther'])) @endif @endsection