|
@@ -114,6 +114,11 @@ class McpController extends Controller
|
|
|
});
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ if ($request->input('chart_number')) {
|
|
|
+ $patients = $patients->where('chart_number', 'ILIKE' , '%'.$request->input('chart_number').'%');
|
|
|
+ }
|
|
|
+
|
|
|
$patients = $patients->orderBy('created_at', 'DESC')->paginate(50);
|
|
|
return view('app.mcp.patients', compact('patients', 'filters'));
|
|
|
}
|