@extends(!$download ? 'layouts.app' : 'layouts.app_with_out_nav',['dashBoardTitle'=>'ARTICLE 33']) @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))}}
Non - deductible Expenditure
@php $donationsCount = 0; @endphp @foreach($donations as $donation) @php $data = json_decode($donation->data); $donationsCount += $data->value; @endphp @if(empty($donation->deleted_at)) @endif @endforeach @php $fineCount = 0; @endphp @foreach($panelties as $panelty) @php $data = json_decode($panelty->data); $fineCount += $data->value; @endphp @if(empty($panelty->deleted_at)) @endif @endforeach @csrf @php $bribeCount = 0; @endphp @foreach($bribes as $bribe) @php $data = json_decode($bribe->data); $bribeCount += $data->value; @endphp @if(empty($bribe->deleted_at)) @endif @endforeach @csrf @php $dividendCount = 0; @endphp @foreach($dividends as $dividend) @php $data = json_decode($dividend->data); $dividendCount += $data->value; @endphp @if(empty($dividend->deleted_at)) @endif @endforeach @csrf @php $amount_withdrawanCount = 0; @endphp @foreach($amount_withdrawans as $amount_withdrawan) @php $data = json_decode($amount_withdrawan->data); $amount_withdrawanCount += $data->value; @endphp@if(empty($amount_withdrawan->deleted_at)) @endif @endforeach @csrf @php $corporate_taxCount = 0; @endphp @foreach($corporate_taxs as $corporate_tax) @php $data = json_decode($corporate_tax->data); $corporate_taxCount += $data->value; @endphp @if(empty($corporate_tax->deleted_at)) @endif @endforeach @csrf @php $recoverableConut = 0; @endphp @foreach($recoverables as $recoverable) @php $data = json_decode($recoverable->data); $recoverableConut += $data->value; @endphp @if(empty($recoverable->deleted_at)) @endif @endforeach @csrf @php $foreign_taxConut = 0; @endphp @foreach($foreign_taxs as $foreign_tax) @php $data = json_decode($foreign_tax->data); $foreign_taxConut += $data->value; @endphp @if(empty($foreign_tax->deleted_at)) @endif @endforeach @csrf @php $other_expConut = 0; @endphp @foreach($other_exps as $other_exp) @php $data = json_decode($other_exp->data); $other_expConut += $data->value; @endphp @if(empty($other_exp->deleted_at)) @endif @endforeach @csrf
Description Disallowance Action
Donation, grants or gifts to non-public benefit entities
{{$data->description}} {{number_format($data->value,2)}} @if($loop->last) {{number_format($donationsCount,2)}} @endif
@csrf
Fines & Penalties
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($fineCount,2)}} @endif
Bribes and illicit payment
{{$data->description}} {{$data->value}} {{number_format($bribeCount,2)}}
Dividend,profit distribution paid to an owner
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($dividendCount,2)}} @endif
Amount withdrawan by a natural person
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($amount_withdrawanCount,2)}} @endif
Corporate taxes paid
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($corporate_taxCount,2)}} @endif
Recoverable VAT
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($recoverableConut,2)}} @endif
Foreign taxes paid
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($foreign_taxConut,2)}} @endif
Any other expenditure
{{$data->description}} {{$data->value}} @if($loop->last) {{number_format($other_expConut,2)}} @endif
Total disallowance {{number_format($other_expConut+$foreign_taxConut+$recoverableConut+$corporate_taxCount+$amount_withdrawanCount+$dividendCount+$bribeCount+$fineCount+$donationsCount,2)}}
@endsection