{% extends "shopyo_base/module_base.html" %} {% set active_page = 'pos' %} {% block pagehead %}
Open and close cash register shifts
Shift #{{ active_shift.id }} — Open
Since {{ active_shift.opened_at.strftime('%Y-%m-%d %H:%M') }}
{{ currency_symbol }}{{ '%.2f'|format(active_shift.total_sales()) }}
Sales this shift
{{ shifts|length }} total
| # | Opened | Closed | Starting | Expected | Actual | Variance |
|---|---|---|---|---|---|---|
| #{{ s.id }} | {{ s.opened_at.strftime('%Y-%m-%d %H:%M') if s.opened_at else '-' }} | {{ s.closed_at.strftime('%Y-%m-%d %H:%M') if s.closed_at else 'open' }} | {{ currency_symbol }}{{ '%.2f'|format(s.starting_cash|float) }} | {{ currency_symbol }}{{ '%.2f'|format(s.expected_cash|float) }} | {{ currency_symbol }}{{ '%.2f'|format(s.actual_cash|float) if s.actual_cash else '-' }} | {% if s.variance_cash %} {{ currency_symbol }}{{ '%.2f'|format(s.variance_cash|float|abs) }} {% else %}-{% endif %} |
| No shifts recorded | ||||||