diff --git a/src/app/public/supplemental-info/[token]/page.tsx b/src/app/public/supplemental-info/[token]/page.tsx index 238e008b..dc946428 100644 --- a/src/app/public/supplemental-info/[token]/page.tsx +++ b/src/app/public/supplemental-info/[token]/page.tsx @@ -195,7 +195,7 @@ export default function SupplementalInfoPage({ params }: PageProps) {
- Your details + Your details
- Your yacht (optional) + + Your yacht (optional) +
- Mooring - Length (ft) - Width (ft) - Draft (ft) - Side pontoon - Price - Currency - + + Mooring + + + Length (ft) + + + Width (ft) + + + Draft (ft) + + + Side pontoon + + + Price + + + Currency + + apply to all → diff --git a/src/components/berths/berth-interests-tab.tsx b/src/components/berths/berth-interests-tab.tsx index cf90ff53..0a41f8be 100644 --- a/src/components/berths/berth-interests-tab.tsx +++ b/src/components/berths/berth-interests-tab.tsx @@ -146,12 +146,22 @@ export function BerthInterestsTab({ berthId }: BerthInterestsTabProps) { - - - - - - + + + + + diff --git a/src/components/clients/bulk-hard-delete-dialog.tsx b/src/components/clients/bulk-hard-delete-dialog.tsx index d650b056..79751dfb 100644 --- a/src/components/clients/bulk-hard-delete-dialog.tsx +++ b/src/components/clients/bulk-hard-delete-dialog.tsx @@ -182,8 +182,12 @@ function BulkHardDeleteDialogBody({ onOpenChange, clientIds, onDeleted }: Props)
ClientStageCategorySourceLast activity + + Client + + Stage + + Category + + Source + + Last activity +
- - + + diff --git a/src/components/interests/payments-section.tsx b/src/components/interests/payments-section.tsx index e98ed027..522e06c4 100644 --- a/src/components/interests/payments-section.tsx +++ b/src/components/interests/payments-section.tsx @@ -64,7 +64,10 @@ function formatMoney(amount: string, currency: string): string { const n = Number(amount); if (!Number.isFinite(n)) return `${amount} ${currency}`; try { - return new Intl.NumberFormat('en-EU', { style: 'currency', currency }).format(n); + // `undefined` locale honours the user's browser locale. The + // previous `'en-EU'` literal is not a valid BCP-47 tag — every + // implementation falls back to the default anyway. + return new Intl.NumberFormat(undefined, { style: 'currency', currency }).format(n); } catch { return `${n.toFixed(2)} ${currency}`; } diff --git a/src/components/ui/calendar.tsx b/src/components/ui/calendar.tsx index 5bbaedbb..9d975534 100644 --- a/src/components/ui/calendar.tsx +++ b/src/components/ui/calendar.tsx @@ -32,7 +32,10 @@ function Calendar({ )} captionLayout={captionLayout} formatters={{ - formatMonthDropdown: (date) => date.toLocaleString('default', { month: 'short' }), + // `undefined` honours the browser locale. The previous + // `'default'` literal is treated as undefined by every modern + // engine but reads as if a specific locale were intended. + formatMonthDropdown: (date) => date.toLocaleString(undefined, { month: 'short' }), ...formatters, }} classNames={{
Client IDReason + Client ID + + Reason +