Suriya 1c24e93a7a feat: date-range endpoints for hub inbound, bookings, and batches
Adds GET /hub/inbound, GET /hub/bookings (both new), and extends the
existing GET /hub/batches with optional from/to (YYYY-MM-DD, inclusive)
query params, backing the Hub Console's date-range picker on the Pickup
Requests, Receive Parcels, and Dispatch & Transfer pages. Reuses the same
range-parsing helper (renamed from parseHubDashboardRange to
parseHubDateRange) added for GET /hub/dashboard, defaulting to today when
omitted. The existing live endpoints (/inbound/today, /bookings/unassigned)
are untouched.

GET /hub/bookings also surfaces each booking's assignment status, mapped
to a small vocabulary (pending/assigned/picked_up/delivered/cancelled) via
the new hubBookingDisplayStatus, plus milername when assigned.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-07-09 15:14:36 +05:30
2026-06-22 17:43:40 +05:30
2026-07-04 11:10:52 +05:30
2026-06-22 17:43:40 +05:30
2026-07-04 11:10:52 +05:30
2026-07-07 12:47:26 +05:30
2026-07-08 20:31:25 +05:30
2026-07-04 11:10:52 +05:30
2026-07-04 11:10:52 +05:30
2026-06-22 17:43:40 +05:30
2026-07-04 11:10:52 +05:30
2026-06-30 12:03:04 +05:30
2026-06-22 17:43:40 +05:30
2026-06-22 17:43:40 +05:30
2026-06-22 17:43:40 +05:30
Description
No description provided
2.9 MiB
Languages
Go 94.4%
PLpgSQL 4.3%
Python 1.1%
Dockerfile 0.2%