@extends(!$download ? 'layouts.app' : 'layouts.app_with_out_nav',['dashBoardTitle'=>'ARTICLE 28']) @section('script') @endsection @section('buttons') @if(!$download)
 TB  P&L  BS  TR
@endif @endsection @section('content')
{{strtoUpper($trialBalanceDetails->companyRelationShip->taxpayer)}} T.R.NO : {{($trialBalanceDetails->companyRelationShip->tax_registration_number)}} Tax Period: {{date('d-M-Y',strtotime(@$trialBalanceDetails->from))}} to {{date('d-M-Y',strtotime(@$trialBalanceDetails->to))}}
@php $totalExpenditure = 0; @endphp @foreach($expenditures as $expenditure) @php $data = json_decode($expenditure->data); $totalExpenditure += $data->disallowance; @endphp @if(empty($expenditure->deleted_at)) @endif @endforeach @csrf
Dual purpose expenditure Expenditure % Disallowed Disallowance Action
{{$data->dual_purpose_expenditure}} {{number_format($data->expenditure,2)}} {{$data->disallowed}} % {{number_format($data->disallowance,2)}}
Total {{number_format($totalExpenditure,2)}}

@php $other1_total_expenditure = 0; @endphp @foreach($other1_expenditures as $other1_expenditure) @php $data = json_decode($other1_expenditure->data); $other1_total_expenditure += $data->disallowance; @endphp @if(empty($other1_expenditure->deleted_at)) @endif @endforeach @php $other2_total_expenditure = 0; @endphp @foreach($other2_expenditures as $other2_expenditure) @php $data = json_decode($other2_expenditure->data); $other2_total_expenditure += $data->disallowance; @endphp @if(empty($other2_expenditure->deleted_at)) @endif @endforeach @php $other3_total_expenditure = 0; @endphp @foreach($other3_expenditures as $other3_expenditure) @php $data = json_decode($other3_expenditure->data); $other3_total_expenditure += $data->disallowance; @endphp @if(empty($other3_expenditure->deleted_at)) @endif @endforeach @php $other4_total_expenditure = 0; @endphp @foreach($other4_expenditures as $other4_expenditure) @php $data = json_decode($other4_expenditure->data); $other4_total_expenditure += $data->disallowance; @endphp @if(empty($other4_expenditure->deleted_at)) @endif @endforeach @php $other5_total_expenditure = 0; @endphp @foreach($other5_expenditures as $other5_expenditure) @php $data = json_decode($other5_expenditure->data); $other5_total_expenditure += $data->disallowance; @endphp @if(empty($other5_expenditure->deleted_at)) @endif @endforeach @php $other6_total_expenditure = 0; @endphp @foreach($other6_expenditures as $other6_expenditure) @php $data = json_decode($other6_expenditure->data); $other6_total_expenditure += $data->disallowance; @endphp @if(empty($other6_expenditure->deleted_at)) @endif @endforeach @php $other7_total_expenditure = 0; @endphp @foreach($other7_expenditures as $other7_expenditure) @php $data = json_decode($other7_expenditure->data); $other7_total_expenditure += $data->disallowance; @endphp @if(empty($other_7expenditure->deleted_at)) @endif @endforeach
Other expenditure Disallowance
Expenditure not actually incurred Action
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other1_total_expenditure,2)}} @endif
@csrf
Expenditure of a capital nature
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other2_total_expenditure,2)}} @endif
@csrf
Expenditure not wholly & exclusively incurred for Taxable person's business
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other3_total_expenditure,2)}} @endif
@csrf
Expenditure of a personal nature
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other4_total_expenditure,2)}} @endif
@csrf
Expenditure incurred in relation to exempt income
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other5_total_expenditure,2)}} @endif
@csrf
Losses not connected with Taxable person's business
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other6_total_expenditure,2)}} @endif
@csrf
Any other expenditure
{{$data->name}} {{number_format($data->disallowance,2)}} @if($loop->last) {{number_format($other7_total_expenditure,2)}} @endif
@csrf
Total disallowance {{number_format($other1_total_expenditure+$other2_total_expenditure+$other3_total_expenditure+$other4_total_expenditure+$other5_total_expenditure+$other6_total_expenditure+$other7_total_expenditure+$totalExpenditure,2)}}
@endsection