Skip to content

Commit

Permalink
Reorder Patient Search buttons
Browse files Browse the repository at this point in the history
  • Loading branch information
shivankacker committed Dec 6, 2024
1 parent ee725b0 commit 026b6a0
Show file tree
Hide file tree
Showing 2 changed files with 45 additions and 9 deletions.
38 changes: 37 additions & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 8 additions & 8 deletions src/components/Patient/ManagePatients.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -749,14 +749,6 @@ export const PatientManager = () => {
permittedFacilities?.count === 1 ? permittedFacilities.results[0] : null;

const searchOptions = [
{
key: "phone_number",
label: "Phone Number",
type: "phone" as const,
placeholder: "Search_by_phone_number",
value: qParams.phone_number || "",
shortcutKey: "p",
},
{
key: "name",
label: "Name",
Expand All @@ -773,6 +765,14 @@ export const PatientManager = () => {
value: qParams.patient_no || "",
shortcutKey: "u",
},
{
key: "phone_number",
label: "Phone Number",
type: "phone" as const,
placeholder: "Search_by_phone_number",
value: qParams.phone_number || "",
shortcutKey: "p",
},
{
key: "emergency_contact_number",
label: "Emergency Contact Phone Number",
Expand Down

0 comments on commit 026b6a0

Please sign in to comment.