{# ========== WORKBOOK PAGE HEADER ========== #}
{# ========== CONFIGURABLE LAYOUT CONTAINER ========== #}
{# Row-based layout: Each row can have two side-by-side columns or a single full-width panel #}
{# ===== ROW 1: Tasks + Notes side by side ===== #}
{# TASKS PANEL #}
{% include 'workbook/partials/task-list-content.html' %}
{# NOTES PANEL #}
{% include 'workbook/partials/notes-feed-content.html' %}
{# ===== ROW 1.5: Daily Task Assignments (Spec 039, Phase 8) ===== #}
{# Only visible for managers with workbook_manage_tasks and BuyerKiosk native scheduling #}
{% if user.checkAccess('workbook_manage_tasks') and store.schedulingProvider == 'buyerkiosk' %}
{% include 'workbook/partials/daily-assignment-panel.html' %}
{% endif %}
{# ===== ROW 2: Schedule + Backstock side by side ===== #}
{# SCHEDULE PANEL #}
{% include 'workbook/partials/schedule-panel-content.html' %}
{# BACKSTOCK PANEL #}
{% include 'workbook/partials/backstock-summary-content.html' %}
{# No resize handle for backstock - auto height #}
{# ===== ROW 3: Whiteboard (Full Width) ===== #}
{# WHITEBOARD PANEL #}
{% include 'workbook/partials/whiteboard-panel-content.html' %}
{# ===== ROW 4: Floor Plan (Full Width) ===== #}
{# FLOOR PLAN PANEL #}
{% include 'workspace/partials/floor-plan/floor-panel.html' %}
{# KPI Bar at bottom #}
{% include 'workbook/partials/kpi-bar.html' %}
{# ========== MODALS ========== #}
{% include 'workbook/modals/add-note-modal.html' %}
{% include 'workbook/modals/task-detail-modal.html' %}
{% include 'workbook/modals/employee-selector-modal.html' %}
{% include 'workbook/modals/completed-tasks-modal.html' %}
{% include 'workbook/modals/clock-in-modal.html' %}
{% include 'workbook/modals/backstock-bin-detail-modal.html' %}
{# Include the workspace foot (JS libraries) #}
{% include 'workspace/layouts/workspace-foot.html' %}
{# ========== LAYOUT MANAGER (must load first) ========== #}
{# ========== WORKBOOK JAVASCRIPT ========== #}
{# Hide Reamaze chat widget on Workbook page and restyle collapse button #}