feat(clinic-services): two-page section→services flow matching Figma

Restructure clinic-services from two-pane to Figma two-view flow:
sections card grid (name, edit, activate/deactivate, 'بخش جدید' modal) →
click a section → its services card grid with breadcrumb back. Service
card matches Figma: overflow menu, active badge, base price, average
time badge, staff chip. Add duration_minutes to ServiceItem (migration
+ create/update + form field). Update clinic-services.md.

(Version20260713050014 syncs pre-existing entity/schema drift.)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
hamed
2026-07-13 08:41:29 +03:30
co-authored by Claude Opus 4.8
parent 5852890819
commit 9e491ae6b9
7 changed files with 267 additions and 227 deletions
+1
View File
@@ -431,6 +431,7 @@ export interface ServiceItem {
active: boolean;
insurance_covered?: boolean;
insurance_price_rials?: number | null;
duration_minutes?: number | null;
}
export interface SmsWalletBalance {