Added Qr scann on mobile Funtionalites
This commit is contained in:
parent
6361cb661e
commit
504ad1229c
|
|
@ -56,6 +56,7 @@ import { changeBreadCrumb } from '../../Features/AppPage/CenterPage.js';
|
|||
import { BiBarcodeReader } from 'react-icons/bi';
|
||||
import BarcodeScanner from '../BookingScreen/Components/UtillComponents/BarcodeScanner.jsx';
|
||||
import BarcodeScannerTurbo from '../BookingScreen/Components/UtillComponents/BarcodeScannerTurbo.jsx';
|
||||
import BarCodeScan from '../../Services/BarCodeScan.jsx';
|
||||
|
||||
const subDirectory = import.meta.env.ENV_BASE_URL;
|
||||
const items = [
|
||||
|
|
@ -1930,10 +1931,16 @@ const TurboAddForm = () => {
|
|||
</div>
|
||||
<div className="toolbar-right">
|
||||
{isMobile && window.innerWidth <= 768 && (
|
||||
<BiBarcodeReader
|
||||
// className="search-icon barcode-scanner-icon"
|
||||
onClick={() => handleQrcode()}
|
||||
style={{ cursor: 'pointer', marginLeft: '8px' }}
|
||||
// <BiBarcodeReader
|
||||
// // className="search-icon barcode-scanner-icon"
|
||||
// onClick={() => handleQrcode()}
|
||||
// style={{ cursor: 'pointer', marginLeft: '8px' }}
|
||||
// />
|
||||
<BarCodeScan
|
||||
style={{FontSize:'12px', marginLeft: '8px' }}
|
||||
onScan={(value) => {
|
||||
changeSearchedData(value);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
<EnhancedVoiceForm
|
||||
|
|
|
|||
Loading…
Reference in New Issue