From 6b7c40cd3f332c89a4f0d37b8b699130a75dc34c Mon Sep 17 00:00:00 2001 From: estifanos Date: Mon, 10 Aug 2026 10:59:14 +0000 Subject: [PATCH] Add SEAFARER_REGISTRATION type and update translations and navigation --- .../app/features/license-review/config/license-types.ts | 7 +++++++ apps/backoffice/src/app/i18n/locales/am.ts | 2 ++ apps/backoffice/src/app/i18n/locales/en.ts | 2 ++ apps/backoffice/src/app/layouts/nav-config.ts | 2 ++ 4 files changed, 13 insertions(+) diff --git a/apps/backoffice/src/app/features/license-review/config/license-types.ts b/apps/backoffice/src/app/features/license-review/config/license-types.ts index 98ced4ea4..39894ea44 100644 --- a/apps/backoffice/src/app/features/license-review/config/license-types.ts +++ b/apps/backoffice/src/app/features/license-review/config/license-types.ts @@ -1,6 +1,7 @@ import { IconAnchor, IconFileDescription, + IconId, IconShip, IconTruck, IconUsers, @@ -77,6 +78,12 @@ const PRESENTATION: Record = { icon: IconAnchor, detailSections: DEFAULT_SECTIONS, }, + SEAFARER_REGISTRATION: { + key: 'SEAFARER_REGISTRATION', + icon: IconId, + // Person-centric: no company entity, no capital threshold, no staff roles. + detailSections: ['overview', 'documents'], + }, }; /** Falls back to a generic presentation so an unseeded type still renders. */ diff --git a/apps/backoffice/src/app/i18n/locales/am.ts b/apps/backoffice/src/app/i18n/locales/am.ts index a75d91e96..d25a4f80d 100644 --- a/apps/backoffice/src/app/i18n/locales/am.ts +++ b/apps/backoffice/src/app/i18n/locales/am.ts @@ -36,6 +36,7 @@ export const am: Translations = { typeCombined: 'ጥምር የመርከብ ወኪል እና ጭነት አስተላላፊ', typeJointInvestment: 'የጋራ ኢንቨስትመንት', typeMto: 'የብዝሃ-ሁነታ ትራንስፖርት አንቀሳቃሽ', + typeSEAFARER_REGISTRATION: 'የመርከበኞች ምዝገባ', primary: 'ዋና', destinations: 'ወደ', noResults: 'ምንም አልተገኘም', @@ -75,6 +76,7 @@ export const am: Translations = { vesselRegistrationReport: 'የምዝገባ ሪፖርት', vesselTransfers: 'የመርከብ ባለቤትነት ዝውውር', seafarerRegistry: 'የመርከበኞች መዝገብ', + seafarerRegistrationQueue: 'የመርከበኞች ምዝገባ ወረፋ', applications: 'ማመልከቻዎች', paymentConfig: 'የክፍያ ውቅረት', analytics: 'ትንታኔ', diff --git a/apps/backoffice/src/app/i18n/locales/en.ts b/apps/backoffice/src/app/i18n/locales/en.ts index 043343728..9f80021e9 100644 --- a/apps/backoffice/src/app/i18n/locales/en.ts +++ b/apps/backoffice/src/app/i18n/locales/en.ts @@ -34,6 +34,7 @@ export const en = { typeCombined: 'Combined SA + FF', typeJointInvestment: 'Joint Investment', typeMto: 'Multimodal Transport Operator', + typeSEAFARER_REGISTRATION: 'Seafarer Registration', primary: 'Primary', destinations: 'Go to', noResults: 'Nothing found', @@ -72,6 +73,7 @@ export const en = { vesselRegistrations: 'Vessel Registration', vesselTransfers: 'Vessel Ownership Transfer', seafarerRegistry: 'Seafarer Registry', + seafarerRegistrationQueue: 'Seafarer Registration Queue', applications: 'Applications', paymentConfig: 'Payment Config', analytics: 'Analytics', diff --git a/apps/backoffice/src/app/layouts/nav-config.ts b/apps/backoffice/src/app/layouts/nav-config.ts index 001ba78ad..6a4c5b0af 100644 --- a/apps/backoffice/src/app/layouts/nav-config.ts +++ b/apps/backoffice/src/app/layouts/nav-config.ts @@ -9,6 +9,7 @@ import { IconGauge, IconGavel, IconHeart, + IconId, IconLayoutDashboard, IconListCheck, IconMapPin, @@ -109,6 +110,7 @@ export const NAV_SECTIONS: NavSection[] = [ label: 'nav.groupSeafarer', items: [ { to: '/seafarer-registry', label: 'nav.seafarerRegistry', icon: IconUsers }, + { to: '/licence-review/type/SEAFARER_REGISTRATION', label: 'nav.seafarerRegistrationQueue', icon: IconId }, { to: '/licence-review/type/CERTIFICATE_OF_COMPETENCY', label: 'nav.cocQueue', icon: IconShieldCheck }, { to: '/seaman-book-queue', label: 'nav.seamanBookQueue', icon: IconBook2, soon: true }, { to: '/endorsement-queue', label: 'nav.endorsementQueue', icon: IconRubberStamp, soon: true },