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 { validateOffers } from '../BSItemCards/ValidateOffer.jsx';
|
||||||
import { useSaleswiseOfferWatcher } from '../BSItemCards/SalesWiseOffer.jsx';
|
import { useSaleswiseOfferWatcher } from '../BSItemCards/SalesWiseOffer.jsx';
|
||||||
import ExpireConfirmModal from '../BookingFunctionality/ExpireConfirmModal.jsx';
|
import ExpireConfirmModal from '../BookingFunctionality/ExpireConfirmModal.jsx';
|
||||||
|
import BarCodeScan from '../../../../Services/BarCodeScan.jsx';
|
||||||
|
|
||||||
export default function BSC1Search(props) {
|
export default function BSC1Search(props) {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
|
|
@ -4567,10 +4568,15 @@ export default function BSC1Search(props) {
|
||||||
</Form.Item>
|
</Form.Item>
|
||||||
</Form>
|
</Form>
|
||||||
{isMobile && screenWidth <= 768 && (
|
{isMobile && screenWidth <= 768 && (
|
||||||
<BiBarcodeReader
|
// <BiBarcodeReader
|
||||||
className="BSC1Search-barcodeicon"
|
// className="BSC1Search-barcodeicon"
|
||||||
onClick={() => handleQrcode()}
|
// onClick={() => handleQrcode()}
|
||||||
// onClick={() => OnfocusTrue()}
|
// // onClick={() => OnfocusTrue()}
|
||||||
|
// />
|
||||||
|
<BarCodeScan
|
||||||
|
onScan={(value) => {
|
||||||
|
ProductNameOnChange(value, true);
|
||||||
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
|
|
@ -4821,7 +4827,7 @@ export default function BSC1Search(props) {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</DefaultModal>
|
</DefaultModal>
|
||||||
{isMobile && screenWidth <= 768 && (
|
{/* {isMobile && screenWidth <= 768 && (
|
||||||
<DefaultModal
|
<DefaultModal
|
||||||
title="Barcode Reader"
|
title="Barcode Reader"
|
||||||
width={800}
|
width={800}
|
||||||
|
|
@ -4839,7 +4845,7 @@ export default function BSC1Search(props) {
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
</DefaultModal>
|
</DefaultModal>
|
||||||
)}
|
)} */}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue