| Patient Name: | p_fname . ' ' . ($invoice->p_rname ?? '')); ?> |
|---|---|
| Patient Code: | p_code ?? 'N/A'); ?> |
| Gender: | gender ?? 'N/A'); ?> |
| Age: | age_in_month) && intval($invoice->age_in_month) > 0) { echo htmlspecialchars($invoice->age_in_month . ' months'); } elseif (!empty($invoice->age)) { echo htmlspecialchars($invoice->age . ' years'); } else { echo 'N/A'; } ?> |
| Aadhar: | udai ?? 'N/A'); ?> |
| Phone: | phone_number ?? 'N/A'); ?> |
| Email: | email ?? 'N/A'); ?> |
| Address: | address_line1)) $address[] = $invoice->address_line1; if (!empty($invoice->city)) $address[] = $invoice->city; if (!empty($invoice->state)) $address[] = $invoice->state; echo htmlspecialchars(implode(', ', $address) ?: 'N/A'); ?> |
| Invoice Date: | inv_date ?? ''))); ?> |