diff --git a/src/Pages/BookingScreen/Components/BSBillingTables/StandardTable/StandardTablePayment.jsx b/src/Pages/BookingScreen/Components/BSBillingTables/StandardTable/StandardTablePayment.jsx index a7ff4b7..9a3c694 100644 --- a/src/Pages/BookingScreen/Components/BSBillingTables/StandardTable/StandardTablePayment.jsx +++ b/src/Pages/BookingScreen/Components/BSBillingTables/StandardTable/StandardTablePayment.jsx @@ -190,7 +190,7 @@ import { getExpireProductsList, getLowStockAlertProductsList, } from '../../../../../Features/ProductPage/ProductPage.js'; - + // Jsx Files const CustomerOrders = lazy( () => import('../../BookingFunctionality/CustomerOrders.jsx') @@ -198,13 +198,9 @@ const CustomerOrders = lazy( const PaymentGatewayEmbedded = lazy( () => import('../../UtillComponents/PaymentGatewayEmbedded.jsx') ); -const MobileMultiPdfPrintTrigger = lazy( - () => import('../../UtillComponents/MobileMultiPdfPrintTrigger.jsx') -); -const OtherServicePrintStyle1 = lazy( - () => - import('../../../PrintTemplates/ThermalPrinter/OtherServicePrintStyle1.jsx') -); +import MobileMultiPdfPrintTrigger from '../../UtillComponents/MobileMultiPdfPrintTrigger.jsx'; +import OtherServicePrintStyle1 from '../../../PrintTemplates/ThermalPrinter/OtherServicePrintStyle1.jsx'; + import OtherServiceMobilePrint from '../../BookingFunctionality/OtherServiceMobilePrint.jsx'; const QrinScreen = lazy( @@ -215,9 +211,8 @@ const SMSShare = lazy(() => import('../../../../WhatsAppShare/SmsShare')); const WhatsAppShare = lazy( () => import('../../../../WhatsAppShare/whatsAppShare') ); -const TokensinglePrint = lazy( - () => import('../../../../paymentpdfPage/TokenOnlyPrints/TokeninsinglePrint') -); + +import TokensinglePrint from '../../../../paymentpdfPage/TokenOnlyPrints/TokeninsinglePrint'; import { useApplyOfferto_CardDetail } from '../../UtillComponents/BSNavBarOffer/BSNavBarOffer_CustomHooks.jsx'; // Icons File @@ -2840,7 +2835,10 @@ const StandardTablePayment = () => { setPaybtnselected(PaymentOptionsModeId); setQrCode(false); setUpinotSelected(false); - if (holdCheckedSalesSetup || NavBarOptions?.some((e) => e?.OptionName == 'Hold')) { + if ( + holdCheckedSalesSetup || + NavBarOptions?.some((e) => e?.OptionName == 'Hold') + ) { getHolddata(); } setCurrentOrderNetAmount(0); @@ -2910,7 +2908,7 @@ const StandardTablePayment = () => { PrintOrderDetails?.[0]?.OrderDetails?.[0]?.productDetails?.some( (product) => product.TokenAvailable === 'Y' ); - if (isMobile) { + if (!isMobile) { if (MobileA4Print) { await MobileMultiPdfPrintTrigger({ preferenceDetails, diff --git a/src/Pages/BookingScreen/Components/UtillComponents/CustomisedInvoiceChange.jsx b/src/Pages/BookingScreen/Components/UtillComponents/CustomisedInvoiceChange.jsx index 4ff3a51..32176f8 100644 --- a/src/Pages/BookingScreen/Components/UtillComponents/CustomisedInvoiceChange.jsx +++ b/src/Pages/BookingScreen/Components/UtillComponents/CustomisedInvoiceChange.jsx @@ -172,7 +172,7 @@ const CustomisedInvoiceChange = () => { />
- + { const dispatch = useDispatch(); const kioskTemplateData = useSelector(getKioskTemplateData); + console.log(kioskTemplateData, 'kioskTemplateData'); const [devicePresent, setDevicePresent] = useState(false); const [deviceAccess, setDeviceAccess] = useState(true); const [deviceAddress, setDeviceAddress] = useState(null);