summaryrefslogtreecommitdiff
path: root/src/lib/checkout
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-09-24 01:36:05 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-09-24 01:36:05 +0000
commitcf42512eb11b1a96c99ced8d1f867aeb8c2dcbc1 (patch)
tree802eb86425e40b8bacda6067aa797c36598a7221 /src/lib/checkout
parentb7e7696d675d0c2e36364f7cbedb0483a343048d (diff)
parent4bd29979c34c1ec3b31dd384829b008eb726769c (diff)
Merged in Feature/new-register (pull request #326)
Feature/new register
Diffstat (limited to 'src/lib/checkout')
-rw-r--r--src/lib/checkout/components/Checkout.jsx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index f63ef457..4c7e852f 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -77,6 +77,9 @@ const Checkout = () => {
if (!addresses) return;
const matchAddress = (key) => {
+ if (key === 'invoicing') {
+ key = 'invoice';
+ }
const addressToMatch = getItemAddress(key);
const foundAddress = addresses.filter(
(address) => address.id == addressToMatch