feat: the staff, cancellations/discounts, technical, prep zones and expenses reports on v2; reports all on v2 (platform-v2 step 6.12c)
- Reports -> Staff (src/pages/reports/staff): shifts (pay, collected, to hand over, the counted difference, cancellations; a shift opens the overview's shift dialog; the owner deletes one), cash handover (starting cash, cash, card, refunds, to hand over, counted), sales by person (orders, units, cancellations, hours, sales net of refunds, per hour, share; ranked) - the v1 activity and leaderboard views merged into it - Reports -> Cancellations and discounts (src/pages/reports/misc), with totals per person; Technical (printing: tickets, failed, printed first time, per printer, every ticket with its error, the receipt-printer summary; logs for the owner) - v1 printer history + printer health merged - Prep zones report (per zone: items, value, products, orders; per-zone Excel downloads built in the browser with the server's Excel rules; print a zone) and Expenses report (period, status, category; split by category or supplier; payments) - its categories now match what Finance saves (the v1 report listed categories that never existed) - kit: csvText() / download(); PrintDialog modes for the printer summary - v1 report kit (reports/shared) and every v1 report view deleted; src/pages/reports is v2 (all but LogsPanel strict) - tests: reports.test.mjs (+1), e2e manager.mjs (every report opens, a shift's details, the ranking) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -47,12 +47,12 @@ import StockPage from './pages/inventory/StockPage'
|
||||
// Reports
|
||||
import TodayPage from './pages/reports/today/TodayReport'
|
||||
import StorePage from './pages/reports/store/StorePage'
|
||||
import StaffReportPage from './pages/reports/StaffReportPage'
|
||||
import StaffReportPage from './pages/reports/staff/StaffReport'
|
||||
import ProductsReportPage from './pages/reports/products/ProductsReport'
|
||||
import PrepZonesPage from './pages/reports/PrepZonesPage'
|
||||
import ExpensesReportPage from './pages/reports/ExpensesReportPage'
|
||||
import TechnicalPage from './pages/reports/TechnicalPage'
|
||||
import MiscPage from './pages/reports/MiscPage'
|
||||
import PrepZonesPage from './pages/reports/prepzones/PrepZonesReport'
|
||||
import ExpensesReportPage from './pages/reports/expenses/ExpensesReport'
|
||||
import TechnicalPage from './pages/reports/technical/TechnicalReport'
|
||||
import MiscPage from './pages/reports/misc/MiscReport'
|
||||
|
||||
// Other
|
||||
import { AppsPage, IntegrationsPage } from './pages/platform/ModulesPage'
|
||||
|
||||
Reference in New Issue
Block a user