@extends('hr_main') @section('title', '| Monthly Income Tax Statement') @section('stylesheets') @endsection @section('content')

Monthly Income Tax Statement

@php $userAccessibleBranchIds = App\Service\Service::getEngagedBranchesByUserId(Auth::user()->id); $branchOptions = ['' => 'All (with HO)', 'withOutHeadOffice' => 'All (without HO)'] + DB::table('gnr_branch') ->select(DB::raw("CONCAT(LPAD(branchCode, 3, 0), ' - ', name) AS nameWithCode"), 'id') ->whereIn('id', $userAccessibleBranchIds) ->pluck('nameWithCode', 'id') ->all(); $searchElements = [['element' => 'branchId', 'options' => $branchOptions, 'col' => 2, 'attributes' => ['print_order' => '1']], ['element' => 'custom', 'type' => 'text', 'name' => 'fillStartMonth', 'id' => 'fillStartMonth', 'label' => 'Start Month:', 'col' => 2, 'attributes' => ['class' => 'pickMonth form-control', 'autocomplete' => 'off', 'readonly' => 'readonly','print_order' => '3']], ['element' => 'custom', 'type' => 'text', 'name' => 'fillEndMonth', 'id' => 'fillEndMonth', 'label' => 'End Month:', 'col' => 2, 'attributes' => ['class' => 'pickMonth form-control', 'autocomplete' => 'off', 'readonly' => 'readonly','print_order' => '3']], ['element' => 'custom', 'type' => 'select', 'name' => 'fillWithZeroIncomeTax', 'id' => 'fillWithZeroIncomeTax', 'options' => ['yes' => 'Yes', 'no' => 'No'], 'label' => 'With Zero Income Tax:', 'col' => 2, 'attributes' => ['print_order' => '3']]]; @endphp @include('partials.searchPanel.main', [ 'searchElements' => $searchElements, 'buttonLevel' => 'Show', ])
{{-- ./row --}}
{{-- ./panel-body --}}
{{-- ./col-md-12 --}}
{{-- ./row --}} @endsection @section('footerAssets') @endsection