Skip to content

Commit 28f570c

Browse files
committed
sign-off changes
1 parent 12da3b0 commit 28f570c

23 files changed

Lines changed: 82 additions & 40 deletions

src/frontend/src/components/nav/NavigationDrawer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function DrawerContent({ closeFunc }: Readonly<{ closeFunc?: () => void }>) {
9595
},
9696
{
9797
id: 'sales',
98-
title: t`Sales`,
98+
title: t`Sign-Off`,
9999
link: '/sales/',
100100
hidden: !user.hasViewRole(UserRoles.sales_order),
101101
icon: 'sales_orders'

src/frontend/src/defaults/actions.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ export function getActions(navigate: NavigateFunction) {
112112
user?.hasViewRole(UserRoles.sales_order) &&
113113
_actions.push({
114114
id: 'sales-orders',
115-
label: t`Sales Orders`,
116-
description: t`Go to Sales Orders`,
115+
label: t`Sign-Off`,
116+
description: t`Go to Sign-Off`,
117117
onClick: () =>
118118
navigate(ModelInformationDict['salesorder'].url_overview!),
119119
leftSection: <IconLink size='1.2rem' />

src/frontend/src/defaults/links.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ export function getNavTabs(user: UserStateProps): NavTab[] {
5757
},
5858
{
5959
name: 'sales',
60-
title: t`Sales`,
60+
title: t`Sign-Off`,
6161
icon: <IconTruckDelivery />,
6262
role: UserRoles.sales_order
6363
}

src/frontend/src/locales/en/messages.po

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12472,3 +12472,45 @@ msgstr "Read the docs"
1247212472
#: src/views/MobileAppView.tsx:42
1247312473
msgid "Ignore and continue to Desktop view"
1247412474
msgstr "Ignore and continue to Desktop view"
12475+
12476+
msgid "Sign-Off"
12477+
msgstr "Sign-Off"
12478+
12479+
msgid "Edit Sign-Off"
12480+
msgstr "Edit Sign-Off"
12481+
12482+
msgid "Add Sign-Off"
12483+
msgstr "Add Sign-Off"
12484+
12485+
msgid "Issue Sign-Off"
12486+
msgstr "Issue Sign-Off"
12487+
12488+
msgid "Cancel Sign-Off"
12489+
msgstr "Cancel Sign-Off"
12490+
12491+
msgid "Hold Sign-Off"
12492+
msgstr "Hold Sign-Off"
12493+
12494+
msgid "Ship Sign-Off"
12495+
msgstr "Ship Sign-Off"
12496+
12497+
msgid "Complete Sign-Off"
12498+
msgstr "Complete Sign-Off"
12499+
12500+
msgid "View Sign-Off"
12501+
msgstr "View Sign-Off"
12502+
12503+
msgid "This stock item has been assigned to for Sign-Off"
12504+
msgstr "This stock item has been assigned to for Sign-Off"
12505+
12506+
msgid "Sign-Off Allocations"
12507+
msgstr "Sign-Off Allocations"
12508+
12509+
msgid "Sign-Off Shipment"
12510+
msgstr "Sign-Off Shipment"
12511+
12512+
msgid "Allocated for Sign-Off"
12513+
msgstr "Allocated for Sign-Off"
12514+
12515+
msgid "Go to Sign-Off"
12516+
msgstr "Go to Sign-Off"

src/frontend/src/pages/Index/Settings/SystemSettings.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ export default function SystemSettings() {
313313
},
314314
{
315315
name: 'salesorders',
316-
label: t`Sales Orders`,
316+
label: t`Sign-Off`,
317317
icon: <IconTruckDelivery />,
318318
content: (
319319
<GlobalSettingList

src/frontend/src/pages/build/BuildDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ export default function BuildDetail() {
305305
{
306306
type: 'link',
307307
name: 'sales_order',
308-
label: t`Sales Order`,
308+
label: t`Sign-Off`,
309309
icon: 'sales_orders',
310310
model: ModelType.salesorder,
311311
model_field: 'reference',

src/frontend/src/pages/company/CompanyDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ export default function CompanyDetail(props: Readonly<CompanyDetailProps>) {
221221
},
222222
{
223223
name: 'sales-orders',
224-
label: t`Sales Orders`,
224+
label: t`Sign-Off`,
225225
icon: <IconTruckDelivery />,
226226
hidden: !company?.is_customer,
227227
content: company?.pk && <SalesOrderTable customerId={company.pk} />

src/frontend/src/pages/company/CustomerDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export default function CustomerDetail() {
66
return (
77
<CompanyDetail
88
title={t`Customer`}
9-
breadcrumbs={[{ name: t`Sales`, url: '/sales/' }]}
9+
breadcrumbs={[{ name: t`Sign-Off`, url: '/sales/' }]}
1010
last_crumb_url='/sales/customer'
1111
/>
1212
);

src/frontend/src/pages/part/PartAllocationPanel.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export default function PartAllocationPanel({ part }: Readonly<{ part: any }>) {
2828
{part.salable && user.hasViewRole(UserRoles.sales_order) && (
2929
<Accordion.Item value='salesallocations' key='salesallocations'>
3030
<Accordion.Control>
31-
<StylishText size='lg'>{t`Sales Order Allocations`}</StylishText>
31+
<StylishText size='lg'>{t`Sign-Off Allocations`}</StylishText>
3232
</Accordion.Control>
3333
<Accordion.Panel>
3434
<PartSalesAllocationsTable partId={part.pk} />

src/frontend/src/pages/part/PartDetail.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -575,7 +575,7 @@ export default function PartDetail() {
575575
name: 'allocated_to_sales_orders',
576576
total: partRequirements.required_for_sales_orders,
577577
progress: partRequirements.allocated_to_sales_orders,
578-
label: t`Allocated to Sales Orders`,
578+
label: t`Allocated for Sign-Off`,
579579
hidden:
580580
fetching ||
581581
(partRequirements.required_for_sales_orders <= 0 &&
@@ -876,7 +876,7 @@ export default function PartDetail() {
876876
},
877877
{
878878
name: 'sales_orders',
879-
label: t`Sales Orders`,
879+
label: t`Sign-Off`,
880880
icon: <IconTruckDelivery />,
881881
hidden: !part.salable || !user.hasViewRole(UserRoles.sales_order),
882882
content: part.pk ? <SalesOrderTable partId={part.pk} /> : <Skeleton />

0 commit comments

Comments
 (0)