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

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

{{--
--}}
@foreach ($allowances as $allowance) @endforeach @php $i = 1; @endphp @foreach ($employees as $employee ) @php $total_taxable_amount = 0; @endphp @foreach ($allowances as $list) @endforeach @endforeach
{{__('obs.sl_number')}} {{__('obs.name')}} {{__('obs.calculation_type')}} {{__('obs.basic')}}{{$allowance->name}}{{__('obs.taxable_amount')}} {{__('obs.yearly_amount')}} {{__('obs.yearly_deduct')}} {{__('obs.due')}}
{{$i++}} {{$employee['name']}} {{$employee['calculation_type']}} {{$employee['basic']}} @php $total_taxable_amount += $employee['basic']; @endphp @if(!empty($employee['employee_allowances']) && count($employee['employee_allowances'])>0) @foreach($employee['employee_allowances'] as $key=>$value) @if($list->id == $value->allowance_id) @php $allowance = $value->amount*12; @endphp @if($list->taxable ==1) @php $total_taxable_amount += $allowance; @endphp {{$allowance}} @else {{$allowance}} @endif @endif @endforeach @else {{0}} @endif {{$employee['yearly_taxable_amount']}} {{$employee['yearly_tax_amount']}} {{$employee['yearly_paid']}} {{$employee['yearly_due']}}
@endsection