- 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> |
||
|---|---|---|
| .. | ||
| [id] | ||
| actions.ts | ||
| page.tsx | ||
| vessel-form.tsx | ||
| vessels-table.tsx | ||