pelagia-portal/App/prisma
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
..
migrations feat(po): per-company logo, stamp & brand bar on exported POs 2026-06-21 01:17:23 +05:30
accounting-codes-data.ts feat(accounts): hierarchical accounting codes with 6-digit format and category tree 2026-05-30 03:27:31 +05:30
schema.prisma feat(po): per-company logo, stamp & brand bar on exported POs 2026-06-21 01:17:23 +05:30
seed-prod.ts seed(prod): add 3 companies (PMS, HNR, DEI) with full GST/contact details 2026-05-31 06:42:58 +05:30
seed.ts refactor: revert cost centre to vessels only, remove vessel-site link 2026-05-30 18:14:24 +05:30