Add Verify product compoent here
This commit is contained in:
parent
ea144ce81b
commit
ebd31f72ba
|
|
@ -68,8 +68,9 @@ import ComboSalesBillTable from '../../Components/BSBillingTables/ComboSalesBill
|
||||||
import { GiBasket } from 'react-icons/gi';
|
import { GiBasket } from 'react-icons/gi';
|
||||||
import { FaRegKeyboard } from 'react-icons/fa';
|
import { FaRegKeyboard } from 'react-icons/fa';
|
||||||
import { CgSearchLoading } from "react-icons/cg";
|
import { CgSearchLoading } from "react-icons/cg";
|
||||||
import { DefaultModal } from '../../../../Components/Modal/DefaultModal.jsx';
|
import { DefaultModal } from '../../../../Components/Modal/DefaultModal.jsx';
|
||||||
import MultipleSearch from '../../Components/UtillComponents/MultipleSearch.jsx';
|
import MultipleSearch from '../../Components/UtillComponents/MultipleSearch.jsx';
|
||||||
|
import VerfiedProducts from '../../Components/BSNavbar/verfiedProduct/VerfiedProducts.jsx';
|
||||||
|
|
||||||
const subDirectory = import.meta.env.BASE_URL;
|
const subDirectory = import.meta.env.BASE_URL;
|
||||||
const commonDirectory = import.meta.env.COMMON_BASE_URL;
|
const commonDirectory = import.meta.env.COMMON_BASE_URL;
|
||||||
|
|
@ -114,6 +115,11 @@ export default function BSCombo1() {
|
||||||
const DineInAccess = SettingDataSelector?.[0]?.SettingDtlDetails.filter(
|
const DineInAccess = SettingDataSelector?.[0]?.SettingDtlDetails.filter(
|
||||||
(i) => i.SettingIdName === 'DineIn'
|
(i) => i.SettingIdName === 'DineIn'
|
||||||
)?.[0];
|
)?.[0];
|
||||||
|
const VerifyTheProducts = SettingDataSelector?.[0]?.SettingDtlDetails?.find(
|
||||||
|
(item) =>
|
||||||
|
item.SettingIdName === 'VerifyProduct' && item?.SettingValue === 'Y'
|
||||||
|
);
|
||||||
|
|
||||||
const AppName = SessionData?.AppName;
|
const AppName = SessionData?.AppName;
|
||||||
const AppId = SessionData?.AppId;
|
const AppId = SessionData?.AppId;
|
||||||
const CompId = SessionData?.CompId;
|
const CompId = SessionData?.CompId;
|
||||||
|
|
@ -299,7 +305,7 @@ export default function BSCombo1() {
|
||||||
AppExpDate?.RemainingHours < 1 &&
|
AppExpDate?.RemainingHours < 1 &&
|
||||||
AppExpDate?.RemainingMinutes < 1 &&
|
AppExpDate?.RemainingMinutes < 1 &&
|
||||||
AppExpDate?.RemainingSeconds < 1) ||
|
AppExpDate?.RemainingSeconds < 1) ||
|
||||||
AppExpDate === 'undefined' ? (
|
AppExpDate === 'undefined' ? (
|
||||||
<span className="ExpiredMessage">
|
<span className="ExpiredMessage">
|
||||||
Subscription expired
|
Subscription expired
|
||||||
<a
|
<a
|
||||||
|
|
@ -358,7 +364,7 @@ export default function BSCombo1() {
|
||||||
{/* Multiple search */}
|
{/* Multiple search */}
|
||||||
<Tooltip title={'Multiple Search'}>
|
<Tooltip title={'Multiple Search'}>
|
||||||
<div className='MultiSearchIconDiv'>
|
<div className='MultiSearchIconDiv'>
|
||||||
<CgSearchLoading onClick={() => setMultiple(true)} />
|
<CgSearchLoading onClick={() => setMultiple(true)} />
|
||||||
</div>
|
</div>
|
||||||
</Tooltip>
|
</Tooltip>
|
||||||
|
|
||||||
|
|
@ -494,6 +500,14 @@ export default function BSCombo1() {
|
||||||
</TooltipWrapper>
|
</TooltipWrapper>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
{/* Verify Products */}
|
||||||
|
{VerifyTheProducts && (
|
||||||
|
<TooltipWrapper title={'Verfied Products'} isMobile={isMobile}>
|
||||||
|
<div>
|
||||||
|
<VerfiedProducts />
|
||||||
|
</div>
|
||||||
|
</TooltipWrapper>
|
||||||
|
)}
|
||||||
<div
|
<div
|
||||||
style={{ display: 'flex', alignItems: 'center' }}
|
style={{ display: 'flex', alignItems: 'center' }}
|
||||||
className="comboPrichangeBTN"
|
className="comboPrichangeBTN"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue