@extends('layouts.admin') @section('page-title') {{__('Manage Payroll')}} @endsection @section('breadcrumb') @endsection @push('script-page') @endpush @section('action-btn')
{{-- --}}
@endsection @section('content')
{{ Form::open(array('route' => array('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'),array('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']:'', array('class' => 'form-control select')) }}
{{ Form::label('department', __('Department'),['class'=>'form-label'])}} {{ Form::select('department', $department,isset($_GET['department'])?$_GET['department']:'', array('class' => 'form-control select')) }}
{{ 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