@php
$patient_address = trim($data[0]->patient_address);
@endphp
|
Patient Name: {{$data[0]->name}}
@if($patient_address)
Address: {{$data[0]->patient_address}}
@endif
@php
$gst_details = json_decode($data[0]->gst_details);
@endphp
GST No: @if(isset($gst_details[0]->gstno)){{$gst_details[0]->gstno}}@endif
|
Patient Id: {{$data[0]->patient_id}}
@if($data[0]->type == 'quotation')
Quotation No.: {{$data[0]->quatation_number}}
@elseif($data[0]->type == 'invoice')
Invoice No.: {{$data[0]->quatation_number}}
@endif
|