pelagia-portal/App/app/(portal)/admin/vessels
Hardik a1b77d8b00 feat(vessels): editable custom code when creating a vessel
- Add Vessel dialog now shows an editable Code field pre-filled with the
  next auto-generated code (e.g. SITE-004) — user can change it freely
- Edit Vessel dialog keeps the code read-only (changing codes on existing
  data would break PO references)
- createVessel action: uses submitted code if provided, auto-generates if
  left blank, and validates uniqueness before saving

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-30 04:14:03 +05:30
..
[id] feat: Cost Centre covers vessels and sites, vessel codes, Accounting Code rename, vessel-site assignment 2026-05-30 03:04:29 +05:30
actions.ts feat(vessels): editable custom code when creating a vessel 2026-05-30 04:14:03 +05:30
page.tsx feat(vessels): editable custom code when creating a vessel 2026-05-30 04:14:03 +05:30
vessel-form.tsx feat(vessels): editable custom code when creating a vessel 2026-05-30 04:14:03 +05:30
vessels-table.tsx feat(vessels): editable custom code when creating a vessel 2026-05-30 04:14:03 +05:30