style(admin): reorder patient tabs to match Figma design
This commit is contained in:
@@ -112,15 +112,15 @@ const EMPTY_RECORDS: PatientRecord[] = [];
|
||||
const EMPTY_SESSIONS: PatientSession[] = [];
|
||||
|
||||
const PATIENT_TABS = [
|
||||
{ key: "records", label: "پرونده پزشکی", icon: ClipboardDocumentListIcon },
|
||||
{ key: "attach", label: "ضمیمه", icon: PaperClipIcon },
|
||||
{ key: "callcenter", label: "کال سنتر", icon: PhoneArrowUpRightIcon },
|
||||
{ key: "messages", label: "پیام ها", icon: ChatBubbleLeftRightIcon },
|
||||
{ key: "wallet", label: "کیف پول", icon: BanknotesIcon },
|
||||
{ key: "payments", label: "پرداخت ها", icon: CreditCardIcon },
|
||||
{ key: "appointments", label: "نوبت ها", icon: CalendarDaysIcon },
|
||||
{ key: "info", label: "اطلاعات پرونده", icon: DocumentTextIcon },
|
||||
{ key: "visits", label: "مراجعات", icon: ClipboardDocumentCheckIcon },
|
||||
{ key: "info", label: "اطلاعات پرونده", icon: DocumentTextIcon },
|
||||
{ key: "appointments", label: "نوبت ها", icon: CalendarDaysIcon },
|
||||
{ key: "payments", label: "پرداخت ها", icon: CreditCardIcon },
|
||||
{ key: "wallet", label: "کیف پول", icon: BanknotesIcon },
|
||||
{ key: "messages", label: "پیام ها", icon: ChatBubbleLeftRightIcon },
|
||||
{ key: "callcenter", label: "کال سنتر", icon: PhoneArrowUpRightIcon },
|
||||
{ key: "attach", label: "ضمیمه", icon: PaperClipIcon },
|
||||
{ key: "records", label: "پرونده پزشکی", icon: ClipboardDocumentListIcon },
|
||||
] as const;
|
||||
|
||||
const PLACEHOLDER_TABS: Record<string, string> = {
|
||||
@@ -198,7 +198,7 @@ function MyPatientsPageInner() {
|
||||
| "callcenter"
|
||||
| "messages"
|
||||
| "wallet"
|
||||
>("info");
|
||||
>("visits");
|
||||
const [expandedVisit, setExpandedVisit] = useState<string | null>(null);
|
||||
const [invoiceUuid, setInvoiceUuid] = useState<string | null>(null);
|
||||
const [sessionPage, setSessionPage] = useState(1);
|
||||
|
||||
Reference in New Issue
Block a user