import { useState } from 'react' import { usePOSStore } from '@/stores/pos.store' import { Button } from '@/components/ui/button' import { CalendarDays, CalendarRange } from 'lucide-react' import { LessonsTodayOverview } from './lessons-today-overview' import { LessonsWeekView } from './lessons-week-view' interface LessonsInstructorViewProps { canEdit: boolean } export function LessonsInstructorView({ canEdit }: LessonsInstructorViewProps) { const [subView, setSubView] = useState<'today' | 'week'>('today') const cashier = usePOSStore((s) => s.cashier) // TODO: Map cashier user ID to instructor ID // For now, the instructor view shows the same data as desk view // but filtered by the logged-in user's instructor record return (