@php $contact=ContactList(); $contactList = $contact[0]['email_address']; $is_disable = $contact[1]['is_disable']; $address=addressList(); $addressesList = implode(', ', json_decode($address[0]->name)); @endphp @php $total_amount=0; @endphp @if($item_data) @foreach($item_data as $item_amt) @php $total_amount+=$item_amt->course_amount; @endphp @endforeach @endif @if($item_data) @foreach($item_data as $item) @endforeach @endif
INVOICE
Cert Path LLC
{{$contact[0]['address']}}
{{$contact[1]['email_address']}}
Date : {{ now()->format('m-d-y') }}
Amount : ${{$total_amount}}
Invoice Number : {{$invoiceData->id}}
Certpath Solutions Pvt. Ltd
{{$addressesList ?? ''}}
Bill To
Customer Name {{$data->name}}
Customer Email {{$data->email }}
Customer Contact Number {{ $data->mobile_no }}
Item Quantity HSN/SAC Rate Amount
{{ $item->name }} 1 999294 ${{$item->price}} ${{$item->course_amount}}


Amount Paid : ${{$total_amount}}