From aadd59a80a108e73a7f13569d3e913177878a05e Mon Sep 17 00:00:00 2001 From: Mikita Siadykh Date: Wed, 7 Feb 2024 16:32:17 +0400 Subject: [PATCH 1/2] UINV-534 Invoice line Subscription fields are not populated correctly on Invoice line pane --- .../OtherRelatedInvoiceLines/OtherRelatedInvoiceLines.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/invoices/InvoiceLineDetails/OtherRelatedInvoiceLines/OtherRelatedInvoiceLines.js b/src/invoices/InvoiceLineDetails/OtherRelatedInvoiceLines/OtherRelatedInvoiceLines.js index c9c49d2a..51a01ba0 100644 --- a/src/invoices/InvoiceLineDetails/OtherRelatedInvoiceLines/OtherRelatedInvoiceLines.js +++ b/src/invoices/InvoiceLineDetails/OtherRelatedInvoiceLines/OtherRelatedInvoiceLines.js @@ -50,9 +50,9 @@ const getResultFormatter = ({ search }) => ({ fiscalYear: invoiceLine => invoiceLine.fiscalYear?.code || , [COLUMN_INVOICE_DATE]: invoiceLine => , vendorCode: invoiceLine => invoiceLine.vendor?.code || , - subscriptionStart: invoiceLine => getFormattedDate(invoiceLine.fiscalYear?.periodStart), - subscriptionEnd: invoiceLine => getFormattedDate(invoiceLine.fiscalYear?.periodEnd), - subscriptionDescription: invoiceLine => invoiceLine.fiscalYear?.description || , + subscriptionStart: invoiceLine => getFormattedDate(invoiceLine.subscriptionStart), + subscriptionEnd: invoiceLine => getFormattedDate(invoiceLine.subscriptionEnd), + subscriptionDescription: invoiceLine => invoiceLine.subscriptionInfo || , vendorInvoiceNo: invoiceLine => ( invoiceLine.invoice?.vendorInvoiceNo ? ( From bad94dfe570221ac4c9f8cd1dea5fef306326d65 Mon Sep 17 00:00:00 2001 From: Mikita Siadykh Date: Wed, 7 Feb 2024 16:33:12 +0400 Subject: [PATCH 2/2] Update CHANGELOG.md --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 555f0a0e..8f2e0ab9 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ * Display all external account numbers associated with an invoice in the export report. Refs UINV-515. * Uninformative error in invoice payment due to user not linked to the Purchase Order's acquisition unit. Refs UINV-518. * *BREAKING:* Bump up okapi interfaces for `pieces` (3.0). Refs UINV-529. +* Invoice line Subscription fields are not populated correctly on Invoice line pane. Refs UINV-534. ## [5.0.1](https://github.com/folio-org/ui-invoice/tree/v5.0.1) (2023-10-31) [Full Changelog](https://github.com/folio-org/ui-invoice/compare/v5.0.0...v5.0.1)