feature/working-hours #42

Merged
admin merged 3 commits from feature/working-hours into master 2026-06-20 00:46:41 +03:30
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 97f7e015b4 - Show all commits

View File

@@ -48,7 +48,7 @@ export function formatMinuteLabel(minute: number): string {
export function emptyWorkingHoursEditorDays(): WorkingHoursEditorDay[] {
return WEEKDAY_LABELS.map((_, dayOfWeek) => ({
dayOfWeek,
isWorking: dayOfWeek <= 4,
isWorking: false,
shifts: [{ startMinute: 9 * 60, endMinute: 17 * 60 }],
}));
}

View File

@@ -21,7 +21,7 @@ import { purposeStyle } from '@/components/ui/appointments/appointmentPurposeSty
import { AppointmentOverlapPopover } from '@/components/ui/appointments/AppointmentOverlapPopover';
import { startOfLocalDay } from '@/components/appointments/appointmentTime';
const HOUR_PX = 40;
const HOUR_PX = 80;
const SLOT_PX = (HOUR_PX * SCHEDULE_SLOT_MINUTES) / 60;
function layoutBlockInRange(