pelagia-portal/App/app/(portal)/admin
Hardik 1071cb226f
All checks were successful
PR checks / checks (pull_request) Successful in 31s
feat(po): per-company logo, stamp & brand bar on exported POs
Companies can upload a logo and a stamp/seal (Admin → Companies → Edit →
Branding); both render on exported PDF and XLSX purchase orders. A fixed
brand-colour bar (#92D050, matching the sample PO) runs along the bottom of
every export.

- Company.logoKey / stampKey + migration
- buildCompanyAssetKey() deterministic storage keys (overwrite-in-place)
- uploadCompanyAsset / removeCompanyAsset server actions (≤4MB PNG/JPG/WebP,
  manage_vessels_accounts gated)
- CompanyBrandingUploader in the company edit dialog with live previews
- Export route embeds logo (top-left), stamp (signatory block) and brand bar
  in both ExcelJS and print-HTML paths
- Unit test (storage keys) + integration test (branding actions)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-21 01:17:23 +05:30
..
accounts feat(accounts): hierarchical accounting codes with 6-digit format and category tree 2026-05-30 03:27:31 +05:30
companies feat(po): per-company logo, stamp & brand bar on exported POs 2026-06-21 01:17:23 +05:30
products feat(items): separate editable/read-only detail pages, same as vendors 2026-05-31 06:28:37 +05:30
sites feat: structured PO numbers, import closed, auto-vendor/product, company code, inventory flag 2026-05-31 01:56:33 +05:30
superuser-requests chore: restructure repo — flatten App/pelagia-portal to App, rename Prototype→Wireframe and Spec→Design 2026-05-18 23:18:58 +05:30
users feat(admin): confirm activate/deactivate via modal popup across all tables 2026-05-29 03:07:04 +05:30
vendors fix(profile+vendors): profile reachable for all roles incl SSO; submitter vendor creation 2026-06-08 18:53:33 +05:30
vessels feat(sidebar+vessels): Purchasing section, split Administration, Cost Centre rename 2026-05-31 02:53:33 +05:30