@extends('layouts.app') @section('content')
{{ __('Tax Reportttt') }}
@if (session('status')) @endif
Name: {{$trial_data->companyRelationShip->taxpayer}}
Period:
Tax Registration Number: {{$trial_data->companyRelationShip->tax_registration_number}}
Residential Status: @if($trial_data->companyRelationShip->residential_status) Resident @else Non resident @endif
Tax Group : @if($trial_data->companyRelationShip->legal_status) Yes @else No @endif
Legal Status: @if($trial_data->companyRelationShip->legal_status) Legal Person @else Natural Person @endif
Due Date: {{$trial_data->companyRelationShip->date_of_incorporation}}


@foreach($audit_report as $key => $reports)

{{ucfirst(str_replace('_',' ',$key))}}

@foreach($reports as $report) @if($report['key_type'] == "input") @if(in_array(strtolower($report['key_word']),$template_headList)) @php $currentSection = array_search(strtolower($report['key_word']),$template_headList); $currentSection = $data_headList[$currentSection]; @endphp @else @php $currentSection = ""; @endphp @endif @endif @endforeach
Particulars Amount
{{$report['label_name']}} @if(array_key_exists($report['key_word'],$other_report)) ... @else @if($report['amount']) {{number_format(round($report['amount']))}} @endif @endif
@csrf  
@endforeach
@endsection