Merge commit 'bc03f349085582e99606b94ff9c4cded905aeb1b' into block-notes

This commit is contained in:
Oliver Walters
2026-05-26 15:06:32 +00:00
33 changed files with 1986 additions and 51 deletions
+7 -3
View File
@@ -1,5 +1,5 @@
import { t } from '@lingui/core/macro';
import { Alert, Stack } from '@mantine/core';
import { Alert, Stack, Text } from '@mantine/core';
import { ErrorBoundary, type FallbackRender } from '@sentry/react';
import { IconExclamationCircle } from '@tabler/icons-react';
import { type ReactNode, useCallback } from 'react';
@@ -14,8 +14,12 @@ export function DefaultFallback({
title={`INVE-E17: ${t`Error rendering component`}: ${title}`}
>
<Stack gap='xs'>
{t`An error occurred while rendering this component. Refer to the console for more information.`}
{t`Try reloading the page, or contact your administrator if the problem persists.`}
<Text size='sm'>
{t`An error occurred while rendering this component. Refer to the console for more information.`}
</Text>
<Text size='sm'>
{t`Try reloading the page, or contact your administrator if the problem persists.`}
</Text>
</Stack>
</Alert>
);
+1
View File
@@ -182,6 +182,7 @@ export enum ApiEndpoints {
sales_order_complete = 'order/so/:id/complete/',
sales_order_allocate = 'order/so/:id/allocate/',
sales_order_allocate_serials = 'order/so/:id/allocate-serials/',
sales_order_auto_allocate = 'order/so/:id/auto-allocate/',
sales_order_line_list = 'order/so-line/',
sales_order_extra_line_list = 'order/so-extra-line/',