mirror of
https://github.com/Tria-plc/emaui.git
synced 2026-08-26 19:12:50 +00:00
Add SEAFARER_REGISTRATION type and update translations and navigation
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
import {
|
||||
IconAnchor,
|
||||
IconFileDescription,
|
||||
IconId,
|
||||
IconShip,
|
||||
IconTruck,
|
||||
IconUsers,
|
||||
@@ -77,6 +78,12 @@ const PRESENTATION: Record<string, LicenseTypePresentation> = {
|
||||
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. */
|
||||
|
||||
@@ -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: 'ትንታኔ',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user