Added Qr scann on mobile Funtionalites

This commit is contained in:
Srinath 2026-02-20 15:58:39 +05:30
parent 6361cb661e
commit 504ad1229c
1 changed files with 12 additions and 5 deletions

View File

@ -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,11 +1931,17 @@ 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
setVoiceData={setVoiceData}