Summary
get_milestone_notes returns notes for one shipment/milestone at a time. A supplier or admin dashboard covering many shipments has to call it once per shipment. This proposes a batch query.
Proposed Behaviour
- New read-only function accepting a list of shipment IDs and returning each shipment's milestone notes together.
- No change to how notes are written (
add_milestone_note unchanged); this is a query-side convenience only.
Acceptance Criteria
Summary
get_milestone_notesreturns notes for one shipment/milestone at a time. A supplier or admin dashboard covering many shipments has to call it once per shipment. This proposes a batch query.Proposed Behaviour
add_milestone_noteunchanged); this is a query-side convenience only.Acceptance Criteria
get_milestone_notesreturns today