From 9e3759e5712643a938b51c2d5f9633a98dd3687f Mon Sep 17 00:00:00 2001 From: everythingonblack Date: Tue, 13 May 2025 16:02:38 +0700 Subject: [PATCH] ok --- src/helpers/transactionHelpers.js | 2 ++ src/pages/Cart.js | 1 + 2 files changed, 3 insertions(+) diff --git a/src/helpers/transactionHelpers.js b/src/helpers/transactionHelpers.js index 8a42a02..85c29a9 100644 --- a/src/helpers/transactionHelpers.js +++ b/src/helpers/transactionHelpers.js @@ -423,6 +423,7 @@ export const handleExtendFromGuestDevice = async ( shopId, transactionId, notes, + payment_type, socketId ) => { try { @@ -449,6 +450,7 @@ export const handleExtendFromGuestDevice = async ( body: JSON.stringify({ transactions: structuredItems, notes: notes, + payment_type, socketId, }), } diff --git a/src/pages/Cart.js b/src/pages/Cart.js index 5035952..494cee6 100644 --- a/src/pages/Cart.js +++ b/src/pages/Cart.js @@ -268,6 +268,7 @@ export default function Invoice({ shopId, setModal, table, sendParam, deviceType shopId, transactionData.transactionId, textareaRef.current.value, + orderMethod, socketId ); localStorage.removeItem('lastTransaction')