Skip to content

Commit

Permalink
UIOR-1339 Fix print order action (#1672)
Browse files Browse the repository at this point in the history
  • Loading branch information
alb3rtino authored and usavkov-epam committed Nov 14, 2024
1 parent d272576 commit 435df37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## 7.1.0 (IN PROGRESS)

* import DOMPurify in right way. Refs UIOR-1340.
* Fix print order action. Refs UIOR-1339.

## [7.0.0](https://github.com/folio-org/ui-orders/tree/v7.0.0) (2024-11-01)
[Full Changelog](https://github.com/folio-org/ui-orders/compare/v6.0.4...v7.0.0)
Expand Down
2 changes: 1 addition & 1 deletion src/PrintOrder/PrintOrder.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ export const PrintOrderComponent = ({ mutator, order, orderLine, onCancel }) =>
const { compositePoLines } = order;
const linesToPrint = orderLine ? [orderLine] : compositePoLines;
const printData = compositePoLines?.length
? { lines: await getExportData(mutator, linesToPrint, [order], intl) }
? { lines: await getExportData(mutator, linesToPrint, [order], [], intl) }
: await getOrderPrintData(ky, order);

let poLineTotals = {};
Expand Down

0 comments on commit 435df37

Please sign in to comment.