Skip to content

Commit

Permalink
UIIN-1946 update Date ordered label to Date opened (#1622)
Browse files Browse the repository at this point in the history
  • Loading branch information
AndreiShumski2 committed Mar 10, 2022
1 parent 136d28a commit d4a1abe
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 3 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@

* Fetch parent and child sub instances in one query. Fixes UIIN-1902.

* updated "Date ordered" label to "Date opened". Refs UIIN-1946.

## [9.0.0](https://github.com/folio-org/ui-inventory/tree/v9.0.0) (2022-03-03)
[Full Changelog](https://github.com/folio-org/ui-inventory/compare/v8.0.0...v9.0.0)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const columnMapping = {
poLineNumber: <FormattedMessage id="ui-inventory.acq.polNumber" />,
orderStatus: <FormattedMessage id="ui-inventory.acq.orderStatus" />,
polReceiptStatus: <FormattedMessage id="ui-inventory.acq.receiptStatus" />,
dateOrdered: <FormattedMessage id="ui-inventory.acq.dateOrdered" />,
dateOrdered: <FormattedMessage id="ui-inventory.acq.dateOpened" />,
acqUnit: <FormattedMessage id="ui-inventory.acq.acqUnit" />,
orderType: <FormattedMessage id="ui-inventory.acq.orderType" />,
};
Expand Down
2 changes: 1 addition & 1 deletion src/Item/ViewItem/ItemAcquisition/ItemAcquisition.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ const ItemAcquisition = ({ accordionId, itemId }) => {

<Col xs={4}>
<KeyValue
label={<FormattedMessage id="ui-inventory.acq.dateOrdered" />}
label={<FormattedMessage id="ui-inventory.acq.dateOpened" />}
value={getDateWithTime(order?.dateOrdered)}
/>
</Col>
Expand Down
2 changes: 1 addition & 1 deletion translations/ui-inventory/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,7 @@
"acq.orderType": "Order type",
"acq.orderType.One-Time": "One-time",
"acq.orderType.Ongoing": "Ongoing",
"acq.dateOrdered": "Date ordered",
"acq.dateOpened": "Date opened",
"acq.acqUnit": "Acquisition unit",
"acq.orderSubscription": "Subscription",
"acq.receiptDate": "Piece receipt date",
Expand Down

0 comments on commit d4a1abe

Please sign in to comment.