@extends('layouts.adminLayout.admin_design') @section('content')

{{ $title }}

{{ Form::open(['url'=>route('biweekly_payroll'),'method'=>'POST','name'=>'biweekly_payroll_report','id'=>'biweekly_payroll_report']) }}
{{ Form::select('weekly_range',[2=>2,3=>3,4=>4,5=>5,6=>6,7=>7,8=>8],'2',['class'=>'form-control select2 establishment input-sm','id'=>'weekly_range']) }}
{{ Form::select('userId', $users, null, ['class' => 'form-control select2 employees input-sm', 'id'=>'userId']) }}
{{ Form::select('establishmentIds[]',$establishments,$establishment_id,['class'=>'form-control select2 establishment input-sm','multiple'=>'multiple','id'=>'establishmentIds']) }}
{{ Form::button(' '. __('lbl.filter'),["class"=>"clickbtncommon btn btn-sm btn-primary","id"=>"dateSearch"]) }} @if(Helper::checkAccess('biweekly_payroll_export')) {{ Form::button(' '. __('lbl.pdf'), ["class"=>"clickbtncommon btn btn-sm btn-primary","value"=>"pdf","type"=>"submit","name"=>"export","id"=>"downloadPDF","style"=>"padding:3px !important"]) }} {{ Form::button(' '. __('lbl.xlsx'), ["class"=>"clickbtncommon btn btn-sm btn-primary","value"=>"xlsx","type"=>"submit","name"=>"export","style"=>"padding:3px !important"]) }} @endif

{{ __('lbl.biweekly_payroll') }}

{{Form::hidden("biweeklypayroll",route('biweekly_payroll'),['id'=>'biweeklypayroll'])}}
@endsection @section('pagescript') {!! Helper::pagejs([ 'js/lib/datatables.net/js/jquery.dataTables.min.js', 'js/lib/datatables.net-bs/js/dataTables.bootstrap.min.js', 'js/lib/select2/dist/js/select2.full.min.js', 'js/lib/moment/min/moment.min.js', 'js/lib/bootstrap-daterangepicker/daterangepicker.js', 'js/lib/bootstrap-datepicker/dist/js/bootstrap-datepicker.min.js', 'js/lib/plugins/timepicker/bootstrap-timepicker.min.js', 'js/backend/schedules/biweekly_payroll.js', ]) !!} @stop