Components/Shift Summary

Shift Summary

Snapshot of the current shift - open time, sales total, transaction count, and cash variance against the expected drawer total.


Turno

Maria Silva

Aberto
24/05, 08:00em andamento
Vendas totais
R$ 1.247,50
Transações
28

Turno

João Santos

Conferindo
24/05, 14:0024/05, 22:00
Vendas totais
R$ 3.128,40
Transações
67

Conferência de caixa

Esperado
R$ 812,40
Contado
R$ 810,00
Falta
R$ 2,40

Installation

npx @ajax-ui/cli add shift-summary

Props

  • status "open" | "closing" | "closed" - drives badge color.
  • openedAt · closedAt - Date or pre-formatted string.
  • totalSales · transactionCount - the two main KPIs.
  • expectedCash + countedCash - when both set, the variance is calculated and color-coded.
  • cashier - optional operator name.