feat(ui): booking redesign + auto-assign settings + specialist fields
Dynamic 3/4-step wizard (omits specialist step when auto-assign on), always-visible MonthCalendar, 2-column desktop layout with morning/afternoon slot grouping, confirmation reasons badges. Settings: auto-assign checkbox + business working-hours editor. Employee modal: specialties, efficiency, per-employee working hours. Fix icon/placeholder overlap app-wide via @layer components + pl-10.
This commit is contained in:
@@ -12,6 +12,7 @@ export interface PublicBusiness {
|
||||
cancel_penalty_pct: number;
|
||||
require_deposit: boolean;
|
||||
deposit_pct: number;
|
||||
auto_assign_specialist: number | boolean;
|
||||
}
|
||||
|
||||
export interface PublicService {
|
||||
@@ -58,7 +59,7 @@ export interface BookClient {
|
||||
|
||||
export interface BookPayload {
|
||||
service_id: number;
|
||||
employee_id: number;
|
||||
employee_id?: number;
|
||||
start_at: string;
|
||||
client: BookClient;
|
||||
}
|
||||
@@ -69,7 +70,9 @@ export interface BookResponse {
|
||||
start_at: string;
|
||||
price: number;
|
||||
service_name: string;
|
||||
employee_id: number;
|
||||
employee_name: string;
|
||||
reasons: string[];
|
||||
};
|
||||
business: { name: string; currency_symbol: string };
|
||||
client_created: boolean;
|
||||
|
||||
Reference in New Issue
Block a user