Skip to content

Commit 4836833

Browse files
Rename "Purchasing" to "Bills" and "Reference" to "Bills ID" across the application
1 parent 28f570c commit 4836833

File tree

8 files changed

+18
-11
lines changed

8 files changed

+18
-11
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ function DrawerContent({ closeFunc }: Readonly<{ closeFunc?: () => void }>) {
8888
},
8989
{
9090
id: 'purchasing',
91-
title: t`Purchasing`,
91+
title: t`Bills`,
9292
link: '/purchasing/',
9393
hidden: !user.hasViewRole(UserRoles.purchase_order),
9494
icon: 'purchase_orders'

src/frontend/src/defaults/links.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ export function getNavTabs(user: UserStateProps): NavTab[] {
5151
},
5252
{
5353
name: 'purchasing',
54-
title: t`Purchasing`,
54+
title: t`Bills`,
5555
icon: <IconShoppingCart />,
5656
role: UserRoles.purchase_order
5757
},

src/frontend/src/locales/ar/messages.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2651,8 +2651,8 @@ msgstr ""
26512651
#: src/pages/company/SupplierPartDetail.tsx:366
26522652
#: src/pages/purchasing/PurchaseOrderDetail.tsx:559
26532653
#: src/pages/purchasing/PurchasingIndex.tsx:212
2654-
msgid "Purchasing"
2655-
msgstr ""
2654+
msgid "Bills"
2655+
msgstr "Bills"
26562656

26572657
#: src/components/nav/NavigationDrawer.tsx:98
26582658
#: src/defaults/links.tsx:60

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

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -345,6 +345,9 @@ msgstr "Purchase Order"
345345
msgid "Purchase Orders"
346346
msgstr "Purchase Orders"
347347

348+
msgid "Bills"
349+
msgstr "Bills"
350+
348351
#: lib/enums/ModelInformation.tsx:169
349352
msgid "Purchase Order Line"
350353
msgstr "Purchase Order Line"
@@ -2646,8 +2649,8 @@ msgstr "Manufacturing"
26462649
#: src/pages/company/SupplierPartDetail.tsx:366
26472650
#: src/pages/purchasing/PurchaseOrderDetail.tsx:559
26482651
#: src/pages/purchasing/PurchasingIndex.tsx:212
2649-
msgid "Purchasing"
2650-
msgstr "Purchasing"
2652+
msgid "Bills"
2653+
msgstr "Bills"
26512654

26522655
#: src/components/nav/NavigationDrawer.tsx:98
26532656
#: src/defaults/links.tsx:60
@@ -6969,6 +6972,9 @@ msgstr "External"
69696972
msgid "Reference"
69706973
msgstr "Reference"
69716974

6975+
msgid "Bill ID"
6976+
msgstr "Bill ID"
6977+
69726978
#: src/pages/build/BuildDetail.tsx:259
69736979
msgid "Parent Build"
69746980
msgstr "Parent Build"

src/frontend/src/pages/company/SupplierPartDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -363,7 +363,7 @@ export default function SupplierPartDetail() {
363363
const breadcrumbs = useMemo(() => {
364364
return [
365365
{
366-
name: t`Purchasing`,
366+
name: t`Bills`,
367367
url: '/purchasing/'
368368
},
369369
{

src/frontend/src/pages/purchasing/PurchaseOrderDetail.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -139,7 +139,7 @@ export default function PurchaseOrderDetail() {
139139
{
140140
type: 'text',
141141
name: 'reference',
142-
label: t`Reference`,
142+
label: t`Bill ID`,
143143
copy: true
144144
},
145145
{

src/frontend/src/pages/purchasing/PurchasingIndex.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export default function PurchasingIndex() {
6363
return [
6464
SegmentedControlPanel({
6565
name: 'purchaseorders',
66-
label: t`Purchase Orders`,
66+
label: t`Bills`,
6767
icon: <IconShoppingCart />,
6868
hidden: !user.hasViewRole(UserRoles.purchase_order),
6969
selection: purchaseOrderView,
@@ -209,7 +209,7 @@ export default function PurchasingIndex() {
209209

210210
return (
211211
<Stack>
212-
<PageDetail title={t`Purchasing`} />
212+
<PageDetail title={t`Bills`} />
213213
<PanelGroup
214214
pageKey='purchasing-index'
215215
panels={panels}

src/frontend/src/tables/purchasing/PurchaseOrderTable.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,8 @@ export function PurchaseOrderTable({
101101
const tableColumns = useMemo(() => {
102102
return [
103103
ReferenceColumn({
104-
switchable: false
104+
switchable: false,
105+
title: t`Bill ID`
105106
}),
106107
DescriptionColumn({}),
107108
{

0 commit comments

Comments
 (0)