mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 12:41:04 +00:00
Reproduces the monthly count sheet a port warehouse publishes: trains, containers by size and laden state, wagons, TEU and bulk wagons per cargo type, each split into export and import beside an overall total. Two departures from the spreadsheet it replaces: - Wagons are counted distinctly from the marshalling record rather than derived as 20ft/2 + 40ft + bulk wagons, which overstates whenever a wagon ran part-loaded. - Total is counted over everything rather than summed across the direction columns — a train carrying both an import and an export booking belongs to both and would otherwise count twice. Demurrage is billed on invoice lines and is left to Revenue by Category. Adds a station filter matching either end of the corridor, so one warehouse can report the trains it worked in both directions.