feat: update default label for not visited statuses in doctor appointments panel
This commit is contained in:
@@ -19,7 +19,7 @@ const PER_PAGE = 20;
|
||||
export const NOT_VISITED_STATUSES = ['pending', 'confirmed'];
|
||||
|
||||
const STATUS_OPTIONS: { value: string; label: string }[] = [
|
||||
{ value: '', label: 'ویزیتنشدهها (پیشفرض)' },
|
||||
{ value: '', label: 'ویزیتنشدهها: ثبت شده + قطعی شده (پیشفرض)' },
|
||||
{ value: 'pending', label: 'ثبت شده' },
|
||||
{ value: 'confirmed', label: 'قطعی شده' },
|
||||
{ value: 'following_up', label: 'در حال پیگیری' },
|
||||
|
||||
@@ -389,7 +389,7 @@ present, the legacy nested-array response below is returned unchanged. With **an
|
||||
present the response is the standard paginated envelope
|
||||
(`{ success, data: [...], meta: { totalRecords, totalPages, currentPage, limit } }`).
|
||||
The doctor dashboard filter bar uses the paginated form, defaulting `statuses` to
|
||||
`pending`, `confirmed`, `following_up`, `salon` (i.e. "not yet visited").
|
||||
`pending` + `confirmed` (i.e. "not yet visited").
|
||||
|
||||
### Response `200`
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user