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

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

@component('components.filters', ['title' => __('report.filters')]) @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')]); !!}
@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-primary', 'title' => __( 'essentials::lang.all_payrolls' )]) @if($is_admin) @slot('tool')
@endslot @endif
@lang( 'essentials::lang.employee' ) @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