@php $medicineBill = App\Models\MedicineBill::whereModelType('App\Models\OpdPrescription')->whereModelId($row->id)->first(); @endphp @if (!getLoggedinPatient()) @if(isset($medicineBill->payment_status) && $medicineBill->payment_status == false)