WFDASH-WEBAPP/src/app
Dave 2014814c84 feat(deliveries): click-to-expand DN items panel
Adds a chevron button at the left edge of every delivery-note row on
/deliveries. Clicking reveals an inline items panel (description +
qty) so the operator can match against the printed DN paper in their
hand before loading.

Items come from a client-side filter of the order group's items array
(items.filter(i => i.delivery_note === dn.id)). No new server endpoint.
DNs whose items aren't in the order group's slice show a 'See full DN →'
link to /delivery-notes/[id].

Expand state is held at the OrderGroupView level as a Set<string> of
expanded DN ids — independent per DN, resets on refresh. (State lifted
to OrderGroupView rather than DeliveriesPage because order.items is
already in scope there; avoids prop-drilling through CustomerGroupView.)

Service change: deliveries-service.listDeliveryItems now fetches the
delivery_note (relation id) + unit fields on each item, so the page
can filter and render units without an extra round-trip.

Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-09-01 12:15:35 +02:00
..
(app) feat(deliveries): click-to-expand DN items panel 2026-09-01 12:15:35 +02:00
(auth) chore(login): simplify to login-only, remove register/reset tabs 2026-09-01 02:11:28 +02:00
(counter) feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
(mobile) fix(boss-dashboard): show raw claim count + fix stale window on tab switch 2026-08-31 22:38:41 +02:00
(tv) feat(tv-dashboard): enhance TV dashboard with driver stops and performance metrics 2026-08-19 10:16:49 +02:00
api fix(dashboard2): surface PocketBase error details in /api/v1/rep-dashboard 2026-09-01 02:00:55 +02:00
favicon.ico
globals.css
layout.tsx feat(counter): add standalone counter order PWA 2026-08-13 09:27:20 +02:00
offline.tsx
page.tsx