@extends('admin.layout.master') @section('home')

Employee Salary

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf
@if(!empty($emp_type_info) && $emp_type_info==5) @elseif(!empty($emp_type_info) && $emp_type_info==6) @else @endif @if (!empty($allowances)) @foreach($allowances as $allowance) @endforeach @endif @if(!empty($all_other_allowance)) @foreach($all_other_allowance as $other_allow) @endforeach @endif @if(count($all_leave_type)>0) @foreach($all_leave_type as $leave_type_val) @endforeach @else @endif {{-- @dd($salary_info)--}} @if(!empty($salary_info)) @foreach($salary_info as $val) @if(count($allowances)> 0) @foreach($allowances as $allowance) @endforeach @endif @foreach($all_leave_type as $leave_type_val) @endforeach {{-- @foreach($val['leave_type'] as $leave_val) {{$leave_val['name']}} @endforeach--}} {{--{{$val['leave']}}--}}

Mitali Traders

Salary sheet for the month of {{--From @if(!empty($start_date)){{date('d-m-Y',strtotime($start_date))}}@endif--}} @if(!empty($end_date)){{date('F\'Y',strtotime($end_date))}}@endif
@if(!empty($emp_department)){{$emp_department->name}}@endif
#SL Name Designation{{'Station'}}{{'Vehicle'}}{{'Station'}}Basic{{$allowance->name}}Gross OT Hour OT Day Leave Deduction{{$other_allow->name}}Total Salary Tax Adjustment Net Payable Signature
Salary Hour Tk Day Tk{{$leave_type_val->name}}DayTk Abs L/E Tk Bank Loan DN/PN Suspense
{{++$i}} {{$val['name'] }} - {{$val['code']}} {{$val['designation']}} {{$val['station_vehicle_no']}} {{number_format($val['basic'])}} @if(!empty($val['allowance']) && count($val['allowance'])>0) @foreach($val['allowance'] as $key=>$value) @if($allowance->id == $value->allowance_id) {{$value->amount}} @endif @endforeach @else {{0}} @endif {{number_format($val['gross'])}} @if(!empty($val['ot_settings'])) @if(!empty($ot_policy->hour_limit)) @else @endif @endif {{$ot_hour}} {{-- @if(!empty($val['ot_settings'])) @if(!empty($val['manual_ot_info']) && !empty($val['manual_ot_info'][0])) @else @if($ot_policy->amount_type == 1) @else @if($ot_policy->salary_type==1) @php($ot_day_salary = $per_day_basic_salary) @else @php($ot_day_salary = $per_day_gross_salary) @endif @endif @endif @endif --}} @if(!empty($val['ot_settings'])) @if(!empty($val['manual_ot_info']) && !empty($val['manual_ot_info'][0])) @else @endif {{$ot_day}} @endif @if(!empty($val['ot_settings'])) @if(!empty($val['manual_ot_info']) && !empty($val['manual_ot_info'][0])) @else @if($ot_policy->amount_type == 1) @else @if($ot_policy->salary_type==1) @php($ot_day_salary = $per_day_basic_salary) @else @php($ot_day_salary = $per_day_gross_salary) @endif @endif @endif @endif {{number_format($ot_day_amount)}} @if(!empty($val['total_leave_info']) && count($val['total_leave_info'])>0) @foreach($val['total_leave_info'] as $leave_key=>$leave_val) @if($leave_key==$leave_type_val['id']) {{$leave_val}} @endif @endforeach @else 0 @endif @foreach($all_leave_type as $leave_type_val) @if(!empty($val['total_leave_info']) && count($val['total_leave_info'])>0) @foreach($val['total_leave_info'] as $leave_key=>$leave_val) @if($leave_key==$leave_type_val['id']) @if($leave_type_val['pay_type']==1) @if($leave_type_val['deduction_type']==1) @else @endif @endif @endif @endforeach @endif @endforeach {{number_format($leave_amount)}} {{$total_absent}} @if(!empty($val['get_deduct_policy']))