Merge pull request 'FIX#217 Standard table Print trigger issue' (#218) from March-3-deployment into main
Reviewed-on: Pozomind/pozo-retail-app#218
This commit is contained in:
commit
8a65376eb2
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -172,7 +172,7 @@ const CustomisedInvoiceChange = () => {
|
|||
/>
|
||||
</Form.Item>
|
||||
<div className='fromlabelDate'>
|
||||
<label>From Date</label>
|
||||
<label>Bill Date</label>
|
||||
<DatePicker
|
||||
disabledDate={disablefutureDates}
|
||||
format="DD-MMM-YYYY"
|
||||
|
|
|
|||
|
|
@ -37,6 +37,7 @@ const apiUrlToken = import.meta.env.ENV_API_URL_TOKEN;
|
|||
const KioskBookingPage = () => {
|
||||
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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue