@extends('layouts.app') @section('title', __('essentials::lang.payroll')) @section('content') @include('essentials::layouts.nav_hrm')

@lang('essentials::lang.payroll')

@component('components.filters', ['title' => __('report.filters'), 'class' => 'box-solid']) @if($is_admin)
{!! Form::label('user_id_filter', __('essentials::lang.employee') . ':') !!} {!! Form::select('user_id_filter', $employees, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('department_id', __('essentials::lang.department') . ':') !!} {!! Form::select('department_id', $departments, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
{!! Form::label('designation_id', __('essentials::lang.designation') . ':') !!} {!! Form::select('designation_id', $designations, null, ['class' => 'form-control select2', 'style' => 'width:100%', 'placeholder' => __('lang_v1.all')]); !!}
@endif
{!! Form::label('month_year_filter', __( 'essentials::lang.month_year' ) . ':') !!}
{!! Form::text('month_year_filter', null, ['class' => 'form-control', 'placeholder' => __( 'essentials::lang.month_year' ) ]); !!}
@endcomponent
@component('components.widget', ['class' => 'box-solid', 'title' => __( 'essentials::lang.all_payrolls' )]) @if($is_admin) @slot('tool')
@endslot @endif
@lang( 'essentials::lang.employee' ) @lang( 'essentials::lang.department' ) @lang( 'essentials::lang.designation' ) @lang( 'essentials::lang.month_year' ) @lang( 'purchase.ref_no' ) @lang( 'sale.total_amount' ) @lang( 'sale.payment_status' ) @lang( 'messages.action' )
@endcomponent
@if($is_admin) @includeIf('essentials::payroll.payroll_modal') @endif
@endsection @section('javascript') @endsection