feat: final foot-pedal flow,, duplicate-scan protection, and improved CSV report layout
This release finalizes the worker kiosk flow and improves reporting:
-
Correction with timestamps.
- Duplicate barcode scans before step completion no longer create extra arrivals or zero-time station visits.
-
KPI filtering:
- Only complete station visits (with both arrival and departure) are included in KPI calculations.
- Prevents scan-only events from being counted as completed work with 0 minutes processing time.
-
Per-station output & finished goods:
- Added logic to compute:
-
Station Output (ST-xx): number of units that completed all steps at that station. -
Finished Goods: number of units that completed all steps in the job.
-
- These are now included in production reports and can be used in dashboards.
- Added logic to compute:
-
Improved CSV report layout:
- Summary section at the top:
- Job Name, Barcode, Date, Planned Quantity, Completed Units, Finished Goods, Station Outputs, Completion Method, Activated At, Finished At.
- Timeline section below:
- Per-unit rows:
Production Started,Step Completed,Unit Completed. - Timestamps shown as
HH:MM:SS, date stored once in summary.
- Per-unit rows:
- Summary section at the top: