JFIFxxC      C  " }!1AQa"q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz w!1AQaq"2B #3Rbr@extends('layouts.admin') @section('page-title') {{ __('Manage Payroll') }} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-button')
@endsection @section('content')
{{ Form::open(['route' => ['report.payroll'], 'method' => 'get', 'id' => 'report_payroll']) }}

{{ Form::label('month', __('Month'), ['class' => 'form-label']) }} {{ Form::month('month', isset($_GET['month']) ? $_GET['month'] : date('Y-m'), ['class' => 'month-btn form-control']) }}
{{ Form::label('year', __('Year'), ['class' => 'form-label']) }}
{{ Form::label('branch', __('Branch'), ['class' => 'form-label']) }} {{ Form::select('branch', $branch, isset($_GET['branch']) ? $_GET['branch'] : '', ['class' => 'form-control select branch_id']) }}
{{-- {{ Form::label('department', __('Department'), ['class' => 'form-label']) }}
{{ Form::select('department', $department, isset($_GET['department']) ? $_GET['department'] : '', ['class' => 'form-control select department_id', 'id' => 'department_id']) }}
--}}
{{ Form::label('department', __('Department'), ['class' => 'form-label']) }}
{{ Form::close() }}
{{ __('Report') }} :
{{ $filterYear['type'] . ' ' . __('Payroll Summary') }}
@if ($filterYear['branch'] != 'All')
{{ __('Branch') }} :
{{ $filterYear['branch'] }}
@endif @if ($filterYear['department'] != 'All')
{{ __('Department') }} :
{{ $filterYear['department'] }}
@endif
{{ __('Duration') }} :
{{ $filterYear['dateYearRange'] }}
{{ __('Total Basic Salary') }} :
{{ \Auth::user()->priceFormat($filterData['totalBasicSalary']) }}
{{ __('Total Net Salary') }} :
{{ \Auth::user()->priceFormat($filterData['totalNetSalary']) }}
{{ __('Total Allowance') }} :
{{ \Auth::user()->priceFormat($filterData['totalAllowance']) }}
{{ __('Total Commission') }} :
{{ \Auth::user()->priceFormat($filterData['totalCommision']) }}
{{ __('Total Loan') }} :
{{ \Auth::user()->priceFormat($filterData['totalLoan']) }}
{{ __('Total Saturation Deduction') }} :
{{ \Auth::user()->priceFormat($filterData['totalSaturationDeduction']) }}
{{ __('Total Other Payment') }} :
{{ \Auth::user()->priceFormat($filterData['totalOtherPayment']) }}
{{ __('Total Overtime') }} :
{{ \Auth::user()->priceFormat($filterData['totalOverTime']) }}
@foreach ($payslips as $payslip) @endforeach
{{ __('Employee ID') }} {{ __('Employee') }} {{ __('Salary') }} {{ __('Net Salary') }} {{ __('Month') }} {{ __('Status') }}
{{ !empty($payslip->employees) ? \Auth::user()->employeeIdFormat($payslip->employees->employee_id) : '' }} {{ !empty($payslip->employees) ? $payslip->employees->name : '' }} {{ \Auth::user()->priceFormat($payslip->basic_salary) }} {{ \Auth::user()->priceFormat($payslip->net_payble) }} {{ $payslip->salary_month }} @if ($payslip->status == 0) @else @endif
@endsection