pelagia-portal/App/app/(portal)
Hardik add0f3c19c feat(payments): compulsory payment date when Accounts records payment
- New PurchaseOrder.paymentDate field (migration 20260531000002)
- Backfill: existing POs use paidAt, else the earliest payment action date
- Accounts must enter a payment date with the payment reference
- Date input pre-selected to today, max=today (no future dates)
- Validated server-side (required + not in future) in processPaymentSchema
- paymentDate stored on both full and partial payments; paidAt set from it
- Shown on PO detail (Payment Date) and payment history (prefers paymentDate)
- Integration tests updated; added future-date rejection test

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-10 08:59:25 +05:30
..
admin fix(profile+vendors): profile reachable for all roles incl SSO; submitter vendor creation 2026-06-08 18:53:33 +05:30
approvals feat: structured PO numbers, import closed, auto-vendor/product, company code, inventory flag 2026-05-31 01:56:33 +05:30
dashboard refactor: revert cost centre to vessels only, remove vessel-site link 2026-05-30 18:14:24 +05:30
history refactor: revert cost centre to vessels only, remove vessel-site link 2026-05-30 18:14:24 +05:30
inventory fix(profile+vendors): profile reachable for all roles incl SSO; submitter vendor creation 2026-06-08 18:53:33 +05:30
my-orders refactor: revert cost centre to vessels only, remove vessel-site link 2026-05-30 18:14:24 +05:30
payments feat(payments): compulsory payment date when Accounts records payment 2026-06-10 08:59:25 +05:30
po fix(profile+vendors): profile reachable for all roles incl SSO; submitter vendor creation 2026-06-08 18:53:33 +05:30
profile fix(profile+vendors): profile reachable for all roles incl SSO; submitter vendor creation 2026-06-08 18:53:33 +05:30
layout.tsx chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30