@extends('hr_main') @section('title', '| Gratuity register Report') @section('stylesheets') @include('hr.report.reportStyle') @endsection @section('content')

{{ $data['reportLabel'] }}

Reset

{{-- Project --}}
{{ Form::label('projects','Projects',['class'=>'control-label']) }} {{ Form::select('project', $data['projects'],@$_GET['project'] ?? null,['class'=>'form-control','id'=>'project']) }}
{{-- Project Type --}}
{{ Form::label('project_type','Project Type',['class'=>'control-label']) }} {{ Form::select('project_type', [],@$_GET['project_type'] ?? null,['class'=>'form-control','id'=>'project_type']) }}
{{-- Branch --}}
{{ Form::label('branch','Branch',['class'=>'control-label']) }} {{ Form::select('branch', [],null,['class'=>'form-control hr-select2','id'=>'branch']) }}
{{-- User --}}
{{ Form::label('user','User',['class'=>'control-label']) }} {{ Form::select('user', [],@$_GET['user'] ?? null,['class'=>'form-control','id'=>'user']) }}
{{-- Start Date --}}
{{ Form::label('start_date','Start Date',['class'=>'control-label']) }} {{ Form::text('start_date',empty($data['filter']['start_date']) ? '':$data['filter']['start_date'], ['class'=>'form-control datepicker','id'=>'start_date', 'autocomplete' => 'off']) }}
{{-- End Date --}}
{{ Form::label('end_date','End Date',['class'=>'control-label']) }} {{ Form::text('end_date',empty($data['filter']['end_date']) ? '':$data['filter']['end_date'], ['class'=>'form-control datepicker','id'=>'end_date', 'autocomplete' => 'off']) }}
{{-- Submit Button --}}
{{-- ./row --}}
@if( $data['filtered'] )

{{ $data['foundationName'] }}

{{ $data['foundationAddress'] }}

{{ $data['reportLabel'] }}

Project: {{ $data['selectedProject'] }}

Reporting period: {{ date('M Y',strtotime($data['startDate'])) }} to {{ date('M Y',strtotime($data['endDate'])) }}

@include('hr.report.gratuityRegister.table')
Prepared by
Checked by
Approved by
@endif
{{-- ./panel-body --}}
@endsection @section('footerAssets') @endsection