Added Qr scann on mobile Funtionalites
This commit is contained in:
parent
c6fdfe5842
commit
6361cb661e
|
|
@ -81,6 +81,7 @@ import { Global_PromoCodeOffers } from '../../../../Features/Offer/Offer.js';
|
|||
import { validateOffers } from '../BSItemCards/ValidateOffer.jsx';
|
||||
import { useSaleswiseOfferWatcher } from '../BSItemCards/SalesWiseOffer.jsx';
|
||||
import ExpireConfirmModal from '../BookingFunctionality/ExpireConfirmModal.jsx';
|
||||
import BarCodeScan from '../../../../Services/BarCodeScan.jsx';
|
||||
|
||||
export default function BSC1Search(props) {
|
||||
const dispatch = useDispatch();
|
||||
|
|
@ -4567,10 +4568,15 @@ export default function BSC1Search(props) {
|
|||
</Form.Item>
|
||||
</Form>
|
||||
{isMobile && screenWidth <= 768 && (
|
||||
<BiBarcodeReader
|
||||
className="BSC1Search-barcodeicon"
|
||||
onClick={() => handleQrcode()}
|
||||
// onClick={() => OnfocusTrue()}
|
||||
// <BiBarcodeReader
|
||||
// className="BSC1Search-barcodeicon"
|
||||
// onClick={() => handleQrcode()}
|
||||
// // onClick={() => OnfocusTrue()}
|
||||
// />
|
||||
<BarCodeScan
|
||||
onScan={(value) => {
|
||||
ProductNameOnChange(value, true);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
||||
|
|
@ -4821,7 +4827,7 @@ export default function BSC1Search(props) {
|
|||
</div>
|
||||
</div>
|
||||
</DefaultModal>
|
||||
{isMobile && screenWidth <= 768 && (
|
||||
{/* {isMobile && screenWidth <= 768 && (
|
||||
<DefaultModal
|
||||
title="Barcode Reader"
|
||||
width={800}
|
||||
|
|
@ -4839,7 +4845,7 @@ export default function BSC1Search(props) {
|
|||
/>
|
||||
)}
|
||||
</DefaultModal>
|
||||
)}
|
||||
)} */}
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue