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

Income Tax Calculation 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' => 'fiscal_year', 'col' => 2, 'label' => 'Income Year', 'attributes' => ['print_order' => '2']], ['element' => 'custom', 'type' => 'select', 'name' => 'fillWithZeroIncomeTax', 'id' => 'fillWithZeroIncomeTax', 'options' => ['yes' => 'Yes', 'no' => 'No'], 'label' => 'With Zero Income Tax:', 'col' => 2, 'attributes' => ['print_order' => '3']], ['element' => 'custom', 'type' => 'select', 'name' => 'fillEmployeeStatus', 'options' => ['' => 'All', 'active' => 'Active', 'inactive' => 'Inactive'], 'label' => 'Employee Status:', 'col' => 2, 'attributes' => ['print_order' => '4']] ]; @endphp @include('partials.searchPanel.main', ['searchElements' => $searchElements, 'buttonLevel' => 'Show'])
{{-- ./row --}}
{{-- ./panel-body --}}
{{-- ./col-md-12 --}}
{{-- ./row --}} @endsection @section('footerAssets') @endsection