{% set page_group = "admin" %}
{% include 'components/head.html' %}
{% include 'components/nav-account.html' %}
{% include 'components/alerts.html' %}
{# Premium Trial Banner (Spec 035) - Shows trial status with days remaining #}
{% include 'premium/partials/trial-banner.html' %}
{# Migration Banner - Shows when hours not configured but legacy localStorage exists #}
{# Banner is controlled by JavaScript based on storeHoursLastUpdated #}
Store hours found in browser storage.
Visit Store Configuration
to import or discard these settings.
{# ================================================================
SCHEDULE HEADER - Two-Tier Design (Option C)
Primary bar: Brand gradient with high-value actions
Secondary bar: Compact contextual controls
================================================================ #}
{# Primary Bar - Title and High-Value Actions #}
{{ page.title }}
Timesheets
{% if checkAccess('uri_schedule_ai') and isPremiumActive(typeNum) %}
{# AI Generation Status Indicator - shown during processing #}
AI is generating schedule...
{% endif %}
{# Secondary Bar - Contextual Controls #}
{# Navigation - Date arrows and Today #}
Jan 05 - 11, 2026
{# View Switcher #}
{# Schedule Actions #}
{# Copy Day Button - Only visible in Day view #}
{# Templates Dropdown #}
Schedule Templates
Loading templates...
{# Display Toggles #}
{# Open Shifts Toggle #}
{# Overlays Dropdown #}
Calendar Overlays
{# TODO: Uncomment when Wait Time and Sales Volume overlays are implemented
#}
{# Colors Dropdown #}
Shift Coloring
Store Hours
OpenStarts at open
MidMiddle shift
CloseEnds at close
{# Status & Utilities #}
{# Schedule Calendar Container #}
{# Schedule container - Syncfusion will mount here #}
{# Overlay Legend Bar - Spec 025 T6.3 #}
{# Shows the legend for the currently active overlay (only visible when overlay is active) #}
Overlay
{# Legend items will be dynamically inserted here #}
{# Quick Stats Row #}
0
Employees Scheduled
0
Shifts This Week
0
Open Shifts
0
With Overtime
$0.00
Avg Cost/Hour
{# ========== DAILY TASK ASSIGNMENTS PANEL (Spec 039, Phase 8) ========== #}
{# Collapsible panel showing task assignments for today. Manager-only, BuyerKiosk scheduling only. #}
{% if checkAccess('workbook_manage_tasks') and store.schedulingProvider is defined and store.schedulingProvider == 'buyerkiosk' %}
{# Meta tags for DailyAssignmentView (not present on schedule page by default) #}
Task Assignments0 groups
{% include 'workbook/partials/daily-assignment-panel.html' %}