[Issue]: Dropdown for Place of Delivery (admin-managed delivery locations) #19

Open
opened 2026-06-18 21:25:57 +00:00 by shad0w · 2 comments
Owner

Raised by

Kaushal — user feedback, dev review 2026-06-10

Description

Currently the place of delivery is free text. Provide a dropdown to select it instead.

Priority

P2 — Medium

Context

Original request: "Can we have a dropdown on place of delivery?"

### Raised by Kaushal — user feedback, dev review 2026-06-10 ### Description Currently the place of delivery is free text. Provide a dropdown to select it instead. ### Priority P2 — Medium ### Context Original request: "Can we have a dropdown on place of delivery?"
shad0w added the
feature
label 2026-06-18 21:25:57 +00:00
Author
Owner

Dev comments (scope): Add an admin screen for Delivery Locations, each with:

  • Company name — picked from the existing list of Companies (FK to Company).
  • Delivery address — free text.

The PO create/edit form's Place of Delivery field should become a dropdown populated from these delivery locations.

Access: the admin screen must be accessible to the Manager role as well (not admin-only). Follow the existing admin-page pattern under app/(portal)/admin/ and gate with the appropriate permission in lib/permissions.ts so MANAGER is allowed.

**Dev comments (scope):** Add an admin screen for **Delivery Locations**, each with: - **Company name** — picked from the existing list of Companies (FK to Company). - **Delivery address** — free text. The PO create/edit form's *Place of Delivery* field should become a dropdown populated from these delivery locations. **Access:** the admin screen must be accessible to the **Manager** role as well (not admin-only). Follow the existing admin-page pattern under app/(portal)/admin/ and gate with the appropriate permission in lib/permissions.ts so MANAGER is allowed.
shad0w added the
interactive
label 2026-06-18 21:50:00 +00:00
Author
Owner

[triage] Marked interactive — new Prisma model + DB migration + a permissions change (Manager access) — migrations and permissions are explicitly risky for unattended runs. Do not add the claude-queue label; run this one with Claude in a steered session instead.

<!-- ppms-bot --> [triage] Marked **interactive** — new Prisma model + DB migration + a permissions change (Manager access) — migrations and permissions are explicitly risky for unattended runs. Do not add the `claude-queue` label; run this one with Claude in a steered session instead.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: shad0w/pelagia-portal#19
No description provided.