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

{{__('obs.employee_salary')}}

@if (count($errors) > 0)
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@include('payroll.includes.printAndExcel')
@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 @foreach($all_other_allowance as $other_allow) @endforeach {{-- conveyance --}} @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']}}--}} @if(!empty($all_other_allowance)) @foreach($all_other_allowance as $other_allow) @php if (count(collect($val['other_allowance'])) > 0 ) { $other_allowance_info = collect($val['other_allowance'])->where('allowance_id', $other_allow->id)->first(); $other_allowance_amount = $other_allowance_info ? $other_allowance_info->allowance_amount : 0; }else{ $other_allowance_amount=0; } @endphp @endforeach @else @endif {{-- conveyance --}} {{-- Tax --}}

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 SalaryConveyance 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 {{round($val['gross'])}} {{$val['total_ot_hour']}} {{$val['ot_hour_amount']}} @php $total_ot_amount += $val['ot_hour_amount'] ;@endphp {{$val['total_ot_day']}} {{round($val['total_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}} {{$val['late_count']}} @php $late_amount = $val['late_amount']; $total_deduction_amount += ($late_amount + $absent_amount); @endphp {{round($late_amount + $absent_amount)}} {{$other_allowance_amount}} {{number_format($total_salary)}} {{$val['conveyance_amount']}} {{number_format($val['income_tax'])}} {{number_format($val['bank_amount'])}}