|
@@ -763,7 +763,7 @@ class PatientController extends Controller
|
|
|
}
|
|
|
|
|
|
public function insuranceCards(Request $request, Client $patient){
|
|
|
- $insuranceCards = InsuranceCard::where('client_id', $patient->id)->orderBy('created_at', 'DESC')->get();
|
|
|
+ $insuranceCards = InsuranceCard::where('client_id', $patient->id)->orderBy('coverage_order', 'ASC')->get();
|
|
|
return view('app.patient.insurance-cards', compact('patient', 'insuranceCards'));
|
|
|
}
|
|
|
|