@if($franchise) @else @endif @if($order->company) @endif
{{ $franchise->company_name }}
@if($franchiseTaxes && count($franchiseTaxes) > 0) @foreach($franchiseTaxes as $reg) {{ $reg->registration_title }}: {{ $reg->registration_value }}
@endforeach @else Your Taxation Details @endif
Your Company Details

{{ $order->company->name }}
@if(count($taxList) > 0) @php $companyTax = $order->company->registrations->pluck('registration_value', 'registration_title')->toArray(); @endphp @foreach($taxList as $tax) @isset($companyTax[$tax]) {{ $tax }}: {{ $companyTax[$tax] }}
@else {{ $tax }}: -
@endisset @endforeach @endif