@php $contact=ContactList(); $contactList = $contact[0]['email_address']; $is_disable = $contact[1]['is_disable']; $address=addressList(); $addressesList = implode(', ', json_decode($address[0]->name)); @endphp @if($item_data) @php $itemcount=0; $crsname=[]; @endphp @foreach($item_data as $item) @php $courseIds = explode(',', $item->course_id); $itemcount=count($courseIds); $courses = DB::table('courses')->whereIn('id', $courseIds)->pluck('name')->all(); $crsname=implode(',',$courses) @endphp @endforeach @endif
INVOICE
Cert Path LLC
{{$addressesList ?? ''}}
{{$contact[1]['email_address']}}
Date : {{ now()->format('m-d-Y') }}
Amount : ${{$data->amount}}
Invoice Number : {{$invoiceData->id}}
Cert Path LLC
{{$addressesList ?? ''}}
Bill To
Customer Name {{$data->name}}
Customer Email {{$data->email }}
Customer Contact Number {{ $data->mobile_no }}
Item Quantity HSN/SAC Rate
@if($itemcount>1){{ $crsname }} (Bundle)@else{{ $crsname }}@endif {{$itemcount}} 999294 ${{$data->amount}}


Amount Paid : ${{$data->amount}}