{# Workspace Template - Combined Queue + Workbook with SPA Navigation #} {# Include the workspace head (CSS, meta tags, slim header, opens body/sidebar wrappers) #} {% include 'workspace/layouts/workspace-head.html' %} {# Sidebar Navigation #} {% include 'workspace/partials/sidebar-nav.html' %} {# Event Awareness Banner - Shows active events for staff #} {% include 'workspace/partials/event-indicator.html' %} {# ========== QUEUE VIEW ========== #}
{# ========== QUEUE PAGE HEADER (with wait time controls) ========== #}

Queue

{{ store.city }}
{# Wait Time Display #}
{# Wait Time Buttons - MPC Controls #}
{% include 'workspace/partials/queue/mpc-buttons.html' %}
{# Queue Layout Selector - 3-icon compact button group #}
{# ========== QUEUE CONTENT ========== #}
{# Classic Queue View - 5 UL lists #} {% include 'workspace/partials/queue/queue-classic.html' %} {# Enhanced Panel View - Bootstrap tabs #} {% include 'workspace/partials/queue/queue-enhanced.html' %} {# Kanban Board View - Horizontal columns #} {% include 'workspace/partials/queue/queue-kanban.html' %}
{# ========== WORKBOOK VIEW ========== #}
{# ========== WORKBOOK PAGE HEADER ========== #}

Workbook

{{ store.city }}
{# Date Navigation #}
{# Will be populated by JS #}
{# Layout Controls #}
{# Connection Status #}
{# ========== CONFIGURABLE LAYOUT CONTAINER ========== #}
{# ===== ROW 1: Tasks + Notes side by side ===== #}
{# TASKS PANEL #}
Today's Tasks
{% include 'workbook/partials/task-list-content.html' %}
{# NOTES PANEL #}
Notes
{% if user.checkAccess('task-lists') %} {% endif %}
{% 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' %}
{# DAILY ASSIGNMENTS PANEL #}
Task Assignments
{% include 'workbook/partials/daily-assignment-panel.html' %}
{% endif %} {# ===== ROW 2: Rack Maintenance + Backstock side by side ===== #}
{# RACK MAINTENANCE PANEL #}
Rack Maintenance
{% include 'workspace/partials/floor-plan/floor-panel.html' %}
{# BACKSTOCK PANEL #}
Backstock
{% include 'workbook/partials/backstock-summary-content.html' %}
{# ===== ROW 3: Whiteboard (Full Width) ===== #}
{# WHITEBOARD PANEL #}
Whiteboard
{% include 'workbook/partials/whiteboard-panel-content.html' %}
{# ========== COMPLETED BUYS VIEW ========== #}
{# ========== COMPLETED BUYS PAGE HEADER ========== #}

Completed Buys

{{ store.city }}
{# Refresh Button #}
{# ========== COMPLETED BUYS CONTENT ========== #} {% if embedded_chat_enabled|default(false) %} {# Syncfusion Grid for completed buys with SMS status column (Spec 030) #}
{% else %} {# Legacy DataTable for completed buys #}

Today's Processed Buys

{% for buy in completedBuys %} {% if buy.checkedOut == false %} {% else %} {% endif %} {% if buy.wasToday == false %} {% else %} {% endif %} {% if buy.wasToday == false %} {% else %} {% endif %} {% endfor %}
Buy # Name # Bins Dropped Off Sort Completed Processed Sorter Buyer
{{ buy.buyNumber }}{{ buy.buyNumber }}{{ buy.customerFullName }} {{ buy.numContainers }}{{ buy.timeDroppedOff }}**{{ buy.timeDroppedOff }}{{ buy.sortCompleted }} {{ buy.timeCompleted }} {{ buy.sorterFullName }} {{ buy.buyerFullName }}
** Denotes a buy from a previous day
{% endif %}
{# ========== PRINT LOG VIEW ========== #}
{# ========== PRINT LOG PAGE HEADER ========== #}

Buy Log

{{ store.city }}
{# Date Display #} {# Date Picker Button #} {# Print Button #}
{# ========== PRINT LOG CONTENT ========== #}
{# Today's Buyers/Sorters Summary #}
    Today's Buyers
    Today's Sorters

{# Buy Log Table #}
Buy # Name # Bins Dropped Off Sorter Buyer SD ST PT PT/C Resend SMS
** Denotes a buy from a previous day

{# Buyer Stats #}

Buyer Stats

Buyer Name Average Process Time Average Per Container Buys Processed Bins Processed
{# Sorter Stats #}

Sorter Stats

Sorter Name Average Sort Time Average Per Container Buys Sorted Bins Sorted
{# Store Info (for print) #}
{{ breadcrumb.storeType }} - {{ store.city }}
{{ store.address }}
{{ store.city }}, {{ store.state }} {{ store.zipcode }}
P: {{ store.phone }}
{# ========== SUPPORT/HELP CENTER VIEW ========== #}
{# ========== SUPPORT PAGE HEADER ========== #}

Help Center

{{ store.city }}
{# Search within help center #}
{# ========== SUPPORT CONTENT ========== #}
{# Main support portal content - loaded dynamically #}
{# Hero Search Section #}

How can we help you?

Search our knowledge base or browse categories below

{# Categories Grid #}

Browse by Category

{# Categories loaded via JS #}
Loading categories...
{# Featured Articles #}

Featured Articles

{# Featured articles loaded via JS #}
Loading articles...
{# Recent Articles #}

Recently Updated

{# Recent articles loaded via JS #}
{# Article Detail View (hidden by default) #} {# Category View (hidden by default) #} {# Search Results View (hidden by default) #}
{# ========== COMEBACK CASH VIEW REMOVED ========== #} {# Comeback Cash management has been moved to Admin panel: /admin/{typeNum}/comeback-cash/ #} {# Workspace users can use Quick Redeem popup via sidebar button #} {# KPI Bar at bottom - shown for all views - use workbook KPI bar with expand/collapse #} {% include 'workbook/partials/kpi-bar.html' %} {# ========== HANDLEBARS TEMPLATES ========== #} {% include 'workspace/partials/queue/queue-item-template.html' %} {# ========== QUEUE MODALS ========== #} {% include 'workspace/partials/modals/add-buy-modal.html' %} {% include 'workspace/partials/modals/clock-in-modal.html' %} {% include 'workspace/partials/modals/schedule-modal.html' %} {# ========== WORKBOOK 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 'backstock/modals/manageBin.html' %} {# ========== FLOOR PLAN MODALS ========== #} {% include 'workspace/partials/floor-plan/rack-detail-modal.html' %} {# ========== COMEBACK CASH MODALS ========== #} {% if user.checkAccess('uri_comeback_cash') %} {% include 'modals/comeback-cash-redeem-modal.html' %} {% endif %} {# ========== FIVESTARS MODAL ========== #} {% if fiveStarsEnabled|default(false) %} {% include 'workspace/partials/modals/fivestars-modal.html' %} {% endif %} {# Include the workspace foot (JS libraries, closes wrappers) #} {% include 'workspace/layouts/workspace-foot.html' %} {# ========== SYSTEM ALERT NOTIFICATIONS (Spec 040 T6) ========== #} {# ========== WORKBOOK LAYOUT MANAGER ========== #} {# ========== WORKBOOK JAVASCRIPT ========== #} {# ========== BACKSTOCK MANAGE BIN MODAL JS ========== #} {# ========== SPA NAVIGATION MANAGER ========== #} {# ========== SUPPORT/HELP CENTER JAVASCRIPT ========== #} {# ========== COMEBACK CASH JAVASCRIPT ========== #} {# Note: comeback-cash.js module will be created separately - placeholder for now #} {# #} {# ========== COMBINED VIEW STYLES ========== #} {# ========== WORKBOOK INITIALIZATION ========== #} {# ========== COMPLETED BUYS INITIALIZATION ========== #} {% if embedded_chat_enabled|default(false) %} {# Syncfusion Grid mode (Spec 030) — data loaded from /api/:typeNum/chat/completed-data #} {% else %} {# Legacy DataTable mode #} {% endif %} {# ========== PRINT LOG INITIALIZATION ========== #} {# ========== COMEBACK CASH INITIALIZATION ========== #} {% if user.checkAccess('uri_comeback_cash') %} {% endif %} {# ========== FIVESTARS LOYALTY INTEGRATION ========== #} {% if fiveStarsEnabled|default(false) %} {% endif %}