From bbccb433730701ce0a28964f6098a562f51183cd Mon Sep 17 00:00:00 2001 From: asenawritescode Date: Fri, 26 Jan 2024 19:09:05 +0300 Subject: [PATCH 1/2] fix(webapp): Inconsistency in currency display on reciepts universal search. --- .../src/containers/Sales/Receipts/ReceiptUniversalSearch.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/webapp/src/containers/Sales/Receipts/ReceiptUniversalSearch.tsx b/packages/webapp/src/containers/Sales/Receipts/ReceiptUniversalSearch.tsx index ec050da8f6..2eb9405acd 100644 --- a/packages/webapp/src/containers/Sales/Receipts/ReceiptUniversalSearch.tsx +++ b/packages/webapp/src/containers/Sales/Receipts/ReceiptUniversalSearch.tsx @@ -75,7 +75,7 @@ export function ReceiptUniversalSearchItem( } label={ <> -
${item.reference.amount}
+
${item.reference.formatted_amount}
} From 3a94332a62b3d07491e2a5fd509da624193a9427 Mon Sep 17 00:00:00 2001 From: asenawritescode Date: Fri, 26 Jan 2024 19:13:19 +0300 Subject: [PATCH 2/2] fix(webapp): Inconsistency in currency display on Credit Note universal search. --- .../Sales/CreditNotes/CreditNoteUniversalSearch.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/webapp/src/containers/Sales/CreditNotes/CreditNoteUniversalSearch.tsx b/packages/webapp/src/containers/Sales/CreditNotes/CreditNoteUniversalSearch.tsx index 2c495f8025..c72d8b0192 100644 --- a/packages/webapp/src/containers/Sales/CreditNotes/CreditNoteUniversalSearch.tsx +++ b/packages/webapp/src/containers/Sales/CreditNotes/CreditNoteUniversalSearch.tsx @@ -82,7 +82,7 @@ export function CreditNoteUniversalSearchItem( } label={ <> -
${item.reference.amount}
+
${item.reference.formatted_amount}
} @@ -93,7 +93,7 @@ export function CreditNoteUniversalSearchItem( } /** - * Transformes receipt resource item to search item. + * Transformes receipt resource item to search item.gi */ const transformReceiptsToSearch = (creditNote) => ({ id: creditNote.id,