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'];
|
export const NOT_VISITED_STATUSES = ['pending', 'confirmed'];
|
||||||
|
|
||||||
const STATUS_OPTIONS: { value: string; label: string }[] = [
|
const STATUS_OPTIONS: { value: string; label: string }[] = [
|
||||||
{ value: '', label: 'ویزیتنشدهها (پیشفرض)' },
|
{ value: '', label: 'ویزیتنشدهها: ثبت شده + قطعی شده (پیشفرض)' },
|
||||||
{ value: 'pending', label: 'ثبت شده' },
|
{ value: 'pending', label: 'ثبت شده' },
|
||||||
{ value: 'confirmed', label: 'قطعی شده' },
|
{ value: 'confirmed', label: 'قطعی شده' },
|
||||||
{ value: 'following_up', 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
|
present the response is the standard paginated envelope
|
||||||
(`{ success, data: [...], meta: { totalRecords, totalPages, currentPage, limit } }`).
|
(`{ success, data: [...], meta: { totalRecords, totalPages, currentPage, limit } }`).
|
||||||
The doctor dashboard filter bar uses the paginated form, defaulting `statuses` to
|
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`
|
### Response `200`
|
||||||
```json
|
```json
|
||||||
|
|||||||
Reference in New Issue
Block a user