Merge pull request 'Design Updated and Table Master Form fixing' (#168) from PushMainVM into main
Reviewed-on: Pozomind/pozo-retail-app#168
This commit is contained in:
commit
509ddb50fa
|
|
@ -32,6 +32,7 @@ const ExtendSubscriptionModal = lazy(
|
||||||
const commonSubDir = import.meta.env.ENV_COMMON_BASE_URL;
|
const commonSubDir = import.meta.env.ENV_COMMON_BASE_URL;
|
||||||
const subDirectory = import.meta.env.ENV_BASE_URL;
|
const subDirectory = import.meta.env.ENV_BASE_URL;
|
||||||
import '../ownLib/my-ui-lib.css';
|
import '../ownLib/my-ui-lib.css';
|
||||||
|
import CardSkeleton from './Components/Skeleton/CardSkeleton.jsx';
|
||||||
|
|
||||||
const AppRoutes = () => {
|
const AppRoutes = () => {
|
||||||
const ItemCard = useSelector(GlobalItemCard);
|
const ItemCard = useSelector(GlobalItemCard);
|
||||||
|
|
@ -84,7 +85,7 @@ const AppRoutes = () => {
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<Suspense fallback={<div>Loading…</div>}>
|
<Suspense fallback={<CardSkeleton />}>
|
||||||
<Routes>
|
<Routes>
|
||||||
<Route
|
<Route
|
||||||
path={`${subDirectory}selfBooking/:SelfBookingId`}
|
path={`${subDirectory}selfBooking/:SelfBookingId`}
|
||||||
|
|
|
||||||
|
|
@ -19,7 +19,7 @@
|
||||||
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
|
||||||
gap: 14px;
|
gap: 14px;
|
||||||
margin-top: 1rem;
|
margin-top: 1rem;
|
||||||
width: 70%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.card-skeleton {
|
.card-skeleton {
|
||||||
|
|
|
||||||
|
|
@ -214,6 +214,7 @@ import CardPopover from '../StandardTable/Utils/CardPopover.jsx';
|
||||||
import UpiPopover from '../StandardTable/Utils/UpiPopOver.jsx';
|
import UpiPopover from '../StandardTable/Utils/UpiPopOver.jsx';
|
||||||
import MobileMultiPdfPrintTrigger from '../../UtillComponents/MobileMultiPdfPrintTrigger.jsx';
|
import MobileMultiPdfPrintTrigger from '../../UtillComponents/MobileMultiPdfPrintTrigger.jsx';
|
||||||
import { useDateStore } from '../../../../../Features/BookingScreen/BookingData/DateStore.js';
|
import { useDateStore } from '../../../../../Features/BookingScreen/BookingData/DateStore.js';
|
||||||
|
import BillingTableSkeleton from '../../../../../Components/Skeleton/BillingTableSkeleton.jsx';
|
||||||
const PaymentGatewayEmbedded = lazy(
|
const PaymentGatewayEmbedded = lazy(
|
||||||
() => import('../../UtillComponents/PaymentGatewayEmbedded.jsx')
|
() => import('../../UtillComponents/PaymentGatewayEmbedded.jsx')
|
||||||
);
|
);
|
||||||
|
|
@ -3585,9 +3586,9 @@ const BSBillingTable3Pay = () => {
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
<Suspense fallback={<div>Suspense Loading...</div>}>
|
<Suspense fallback={<BillingTableSkeleton />}>
|
||||||
<>
|
<>
|
||||||
<div className="BSBilling3div">
|
<div className="BSBilling3PayMaster">
|
||||||
{screenwidth <= 768 && (
|
{screenwidth <= 768 && (
|
||||||
<div
|
<div
|
||||||
className={`BSBillingTable1-summeryTable ${responsiveBill ? 'open' : 'closed'}`}
|
className={`BSBillingTable1-summeryTable ${responsiveBill ? 'open' : 'closed'}`}
|
||||||
|
|
@ -4016,14 +4017,6 @@ const BSBillingTable3Pay = () => {
|
||||||
</div>
|
</div>
|
||||||
</TooltipWrapper>
|
</TooltipWrapper>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
<div
|
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
flexDirection: 'column',
|
|
||||||
rowGap: '0.2rem',
|
|
||||||
}}
|
|
||||||
></div>
|
|
||||||
</div>
|
</div>
|
||||||
<div className="CustomerAddSrch">
|
<div className="CustomerAddSrch">
|
||||||
<div style={{ height: '2.1rem' }}>
|
<div style={{ height: '2.1rem' }}>
|
||||||
|
|
|
||||||
|
|
@ -684,14 +684,7 @@ const BSNavbar1 = (props) => {
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div className="NavbarDivForSearch">
|
||||||
style={{
|
|
||||||
display: 'flex',
|
|
||||||
alignItems: 'center',
|
|
||||||
columnGap: '0.5rem',
|
|
||||||
position: 'relative',
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
{/* Multiple search */}
|
{/* Multiple search */}
|
||||||
<Tooltip title={'Multiple Search'}>
|
<Tooltip title={'Multiple Search'}>
|
||||||
<div className="MultiSearchIconDiv">
|
<div className="MultiSearchIconDiv">
|
||||||
|
|
@ -722,7 +715,7 @@ const BSNavbar1 = (props) => {
|
||||||
</>
|
</>
|
||||||
))}
|
))}
|
||||||
{Comboglobal === true && (
|
{Comboglobal === true && (
|
||||||
<div>
|
<div className="Navbar1SearchCombo">
|
||||||
<BSNavBarComboSearch SessionData={SessionData} />
|
<BSNavBarComboSearch SessionData={SessionData} />
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
|
|
|
||||||
|
|
@ -22,7 +22,6 @@ import { changeOfferAppliedProductsForMembership } from '../../../../../Features
|
||||||
import BarCodeScan from '../../../../../Services/BarCodeScan.jsx';
|
import BarCodeScan from '../../../../../Services/BarCodeScan.jsx';
|
||||||
import { isMobile } from 'react-device-detect';
|
import { isMobile } from 'react-device-detect';
|
||||||
|
|
||||||
|
|
||||||
const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
||||||
const dispatch = useDispatch();
|
const dispatch = useDispatch();
|
||||||
const [isOpenModal, setisOpenModal] = useState(false);
|
const [isOpenModal, setisOpenModal] = useState(false);
|
||||||
|
|
@ -73,7 +72,11 @@ const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
||||||
const UpdatedData = payload?.data?.[0]?.productDetails;
|
const UpdatedData = payload?.data?.[0]?.productDetails;
|
||||||
if (UpdatedData?.length > 0) {
|
if (UpdatedData?.length > 0) {
|
||||||
await dispatch(changeOrderCardDetails(UpdatedData));
|
await dispatch(changeOrderCardDetails(UpdatedData));
|
||||||
dispatch(changeOfferAppliedProductsForMembership(payload?.data?.[0]?.OrderOfferDetails))
|
dispatch(
|
||||||
|
changeOfferAppliedProductsForMembership(
|
||||||
|
payload?.data?.[0]?.OrderOfferDetails
|
||||||
|
)
|
||||||
|
);
|
||||||
await dispatch(changeReorderHoldDetails(payload?.data?.[0]));
|
await dispatch(changeReorderHoldDetails(payload?.data?.[0]));
|
||||||
let data = {
|
let data = {
|
||||||
CustId: payload?.data?.[0]?.CustSuppId,
|
CustId: payload?.data?.[0]?.CustSuppId,
|
||||||
|
|
@ -265,7 +268,7 @@ const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
className="verfied-products-modal-content"
|
className="verfied-products-modal-content"
|
||||||
style={{ overflow: 'auto', padding: 12 }}
|
style={{ overflow: 'auto' }}
|
||||||
>
|
>
|
||||||
<div style={{ marginBottom: 12 }}>
|
<div style={{ marginBottom: 12 }}>
|
||||||
<ScannerInputField
|
<ScannerInputField
|
||||||
|
|
@ -295,26 +298,31 @@ const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
||||||
? 'Fetch Booking'
|
? 'Fetch Booking'
|
||||||
: 'Fetch Products'}
|
: 'Fetch Products'}
|
||||||
</button>
|
</button>
|
||||||
|
{!isMobile ? (
|
||||||
|
<button
|
||||||
|
onClick={() => setShowScanner((s) => !s)}
|
||||||
|
style={{ backgroundColor: '#dfdfdf', color: '#000' }}
|
||||||
|
>
|
||||||
|
{showScanner ? 'Stop Camera' : 'Scan with Camera'}
|
||||||
|
</button>
|
||||||
|
) : (
|
||||||
|
<BarCodeScan
|
||||||
|
onScan={(value) => {
|
||||||
|
setScanValue(value);
|
||||||
|
fetchProductsByOrderId(value);
|
||||||
|
}}
|
||||||
|
/>
|
||||||
|
)}
|
||||||
<button
|
<button
|
||||||
onClick={() => {
|
onClick={() => {
|
||||||
setScanValue('');
|
setScanValue('');
|
||||||
setProductData(null);
|
setProductData(null);
|
||||||
setMessage('');
|
setMessage('');
|
||||||
}}
|
}}
|
||||||
|
style={{ backgroundColor: '#db0000', color: '#ffffff' }}
|
||||||
>
|
>
|
||||||
Clear
|
Clear
|
||||||
</button>
|
</button>
|
||||||
{!isMobile ?
|
|
||||||
(<button onClick={() => setShowScanner((s) => !s)}>
|
|
||||||
{showScanner ? 'Stop Camera' : 'Scan with Camera'}
|
|
||||||
</button>)
|
|
||||||
: (<BarCodeScan
|
|
||||||
onScan={(value) => {
|
|
||||||
setScanValue(value);
|
|
||||||
fetchProductsByOrderId(value);
|
|
||||||
}}
|
|
||||||
/>)}
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{message && <div className="SelfBooking-message">{message}</div>}
|
{message && <div className="SelfBooking-message">{message}</div>}
|
||||||
|
|
@ -330,16 +338,7 @@ const VerfiedProducts = ({ drawerOpen = false, setDrawerOpen = () => {} }) => {
|
||||||
<div className="SelfBooking-order-list">
|
<div className="SelfBooking-order-list">
|
||||||
{productData.map((order, idx) => (
|
{productData.map((order, idx) => (
|
||||||
<div key={idx} className="SelfBooking-order-card">
|
<div key={idx} className="SelfBooking-order-card">
|
||||||
<div className="SelfBooking-order-header">
|
<div className="SelfBooking-order-header"></div>
|
||||||
{/* <div>
|
|
||||||
<p>Order ID</p>
|
|
||||||
<strong>{order?.OrderId || order?.orderId || scanValue}</strong>
|
|
||||||
</div>
|
|
||||||
<div>
|
|
||||||
<p>Sales ID</p>
|
|
||||||
<strong>{order?.SalesId}</strong>
|
|
||||||
</div> */}
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div>
|
<div>
|
||||||
<p className="SelfBooking-product-title">
|
<p className="SelfBooking-product-title">
|
||||||
|
|
|
||||||
|
|
@ -69,9 +69,13 @@
|
||||||
}
|
}
|
||||||
.SelfBooking-action-bar {
|
.SelfBooking-action-bar {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 10px;
|
gap: 16px;
|
||||||
margin-bottom: 12px;
|
margin-bottom: 12px;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
|
margin-top: 16px;
|
||||||
|
.BarCodeScanMaster {
|
||||||
|
padding: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelfBooking-action-bar button {
|
.SelfBooking-action-bar button {
|
||||||
|
|
@ -80,17 +84,20 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 400;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
font-family: "Poppins";
|
||||||
|
height: max-content;
|
||||||
|
color: #000;
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelfBooking-action-bar .primary-btn {
|
.SelfBooking-action-bar .primary-btn {
|
||||||
background-color: #2563eb;
|
background-color: #1292ee;
|
||||||
color: white;
|
color: white;
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelfBooking-action-bar .primary-btn:hover:not(:disabled) {
|
.SelfBooking-action-bar .primary-btn:hover:not(:disabled) {
|
||||||
background-color: #1d4ed8;
|
background-color: #0679cc;
|
||||||
}
|
}
|
||||||
|
|
||||||
.SelfBooking-action-bar button:not(.primary-btn) {
|
.SelfBooking-action-bar button:not(.primary-btn) {
|
||||||
|
|
|
||||||
|
|
@ -2987,6 +2987,7 @@ const FeaturesFunctionalities = (props) => {
|
||||||
<InputField
|
<InputField
|
||||||
label={<label>Customer Name</label>}
|
label={<label>Customer Name</label>}
|
||||||
autocomplete="off"
|
autocomplete="off"
|
||||||
|
autoFocus
|
||||||
isOnChange={
|
isOnChange={
|
||||||
formRef.current?.getFieldsValue()?.CustName ||
|
formRef.current?.getFieldsValue()?.CustName ||
|
||||||
inputValue
|
inputValue
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,8 @@ import { IoCloseSharp } from 'react-icons/io5';
|
||||||
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
||||||
import { isMobile } from 'react-device-detect';
|
import { isMobile } from 'react-device-detect';
|
||||||
import { TfiHandDrag } from 'react-icons/tfi';
|
import { TfiHandDrag } from 'react-icons/tfi';
|
||||||
|
import { TfiArrowsHorizontal } from 'react-icons/tfi';
|
||||||
|
|
||||||
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
import { DragDropContext, Droppable, Draggable } from 'react-beautiful-dnd';
|
||||||
import { DropDowns } from '../../../../Components/Forms/DropDown.jsx';
|
import { DropDowns } from '../../../../Components/Forms/DropDown.jsx';
|
||||||
import { Messages } from '../../../../Components/Notifications/Messages.jsx';
|
import { Messages } from '../../../../Components/Notifications/Messages.jsx';
|
||||||
|
|
@ -164,7 +166,9 @@ const BSNavBarDragItems = ({
|
||||||
<>
|
<>
|
||||||
<div style={preOrderOpen ? { pointerEvents: 'none' } : {}}>
|
<div style={preOrderOpen ? { pointerEvents: 'none' } : {}}>
|
||||||
<TooltipWrapper title={'Dragger Icon'} isMobile={isMobile}>
|
<TooltipWrapper title={'Dragger Icon'} isMobile={isMobile}>
|
||||||
<TfiHandDrag
|
<TfiArrowsHorizontal
|
||||||
|
strokeWidth={0.3}
|
||||||
|
cursor={'Pointer'}
|
||||||
onClick={(e) => {
|
onClick={(e) => {
|
||||||
e.stopPropagation();
|
e.stopPropagation();
|
||||||
handleDragToggle();
|
handleDragToggle();
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import { SlArrowDown } from 'react-icons/sl';
|
||||||
import { IoCloseSharp } from 'react-icons/io5';
|
import { IoCloseSharp } from 'react-icons/io5';
|
||||||
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
import TooltipWrapper from '../../../../Components/Tooltip/Tooltip';
|
||||||
import { isMobile } from 'react-device-detect';
|
import { isMobile } from 'react-device-detect';
|
||||||
|
import '../../../../Styles/BookingScreen/Components/BSNavbar/BSNavbar2.scss';
|
||||||
|
|
||||||
const BSNavBarFavItems = ({ type, fill, drawerOpen = false }) => {
|
const BSNavBarFavItems = ({ type, fill, drawerOpen = false }) => {
|
||||||
const [open, setOpen] = useState(false);
|
const [open, setOpen] = useState(false);
|
||||||
|
|
@ -80,11 +81,10 @@ const BSNavBarFavItems = ({ type, fill,drawerOpen = false }) => {
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (drawerOpen) {
|
if (drawerOpen) {
|
||||||
AddFav();
|
AddFav();
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
setOpen(false);
|
setOpen(false);
|
||||||
}
|
}
|
||||||
}, [drawerOpen])
|
}, [drawerOpen]);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
if (preOrderOpen) {
|
if (preOrderOpen) {
|
||||||
|
|
@ -175,7 +175,13 @@ const BSNavBarFavItems = ({ type, fill,drawerOpen = false }) => {
|
||||||
e.stopPropagation(); // 👈 prevents parent click
|
e.stopPropagation(); // 👈 prevents parent click
|
||||||
AddFav();
|
AddFav();
|
||||||
}}
|
}}
|
||||||
fill={globalAllItemdata?.length > 0 ? '#52C41A' : (fill ? fill : '#6b7280')}
|
fill={
|
||||||
|
globalAllItemdata?.length > 0
|
||||||
|
? '#52C41A'
|
||||||
|
: fill
|
||||||
|
? fill
|
||||||
|
: '#6b7280'
|
||||||
|
}
|
||||||
style={{
|
style={{
|
||||||
cursor: 'pointer',
|
cursor: 'pointer',
|
||||||
color: globalAllItemdata ? '#52C41A' : 'default',
|
color: globalAllItemdata ? '#52C41A' : 'default',
|
||||||
|
|
@ -187,10 +193,7 @@ const BSNavBarFavItems = ({ type, fill,drawerOpen = false }) => {
|
||||||
|
|
||||||
{open && favopen && (
|
{open && favopen && (
|
||||||
<div className="AddFavList">
|
<div className="AddFavList">
|
||||||
<div
|
<div className="AddFavList-subContainer">
|
||||||
className="AddFavList-subContainer"
|
|
||||||
// style={{ display: "flex", flexDirection: "row", columnGap: "2rem" }}
|
|
||||||
>
|
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
display: 'flex',
|
display: 'flex',
|
||||||
|
|
|
||||||
|
|
@ -112,6 +112,7 @@ const SalesCountForStandard = lazy(
|
||||||
import BsBookingitemCard from '../../Components/BSItemCards/BsBookingitemCard.jsx';
|
import BsBookingitemCard from '../../Components/BSItemCards/BsBookingitemCard.jsx';
|
||||||
import LayoutSubCategoryFetcher from '../../LayoutSubCategoryFetcher.jsx';
|
import LayoutSubCategoryFetcher from '../../LayoutSubCategoryFetcher.jsx';
|
||||||
import NavbarSkeleton from '../../../../Components/Skeleton/NavbarSkeleton.jsx';
|
import NavbarSkeleton from '../../../../Components/Skeleton/NavbarSkeleton.jsx';
|
||||||
|
import CardSkeleton from '../../../../Components/Skeleton/CardSkeleton.jsx';
|
||||||
const ListOfSalesInvoices = lazy(
|
const ListOfSalesInvoices = lazy(
|
||||||
() =>
|
() =>
|
||||||
import('../../Components/BSBillingTables/ListofInvoices/ListOfSalesInvoices.jsx')
|
import('../../Components/BSBillingTables/ListofInvoices/ListOfSalesInvoices.jsx')
|
||||||
|
|
@ -328,6 +329,7 @@ const BSLayout2 = () => {
|
||||||
setListOfInvoices(false);
|
setListOfInvoices(false);
|
||||||
};
|
};
|
||||||
return (
|
return (
|
||||||
|
<Suspense fallback={<CardSkeleton />}>
|
||||||
<>
|
<>
|
||||||
<Messages
|
<Messages
|
||||||
messageType={messageType}
|
messageType={messageType}
|
||||||
|
|
@ -421,13 +423,13 @@ const BSLayout2 = () => {
|
||||||
isMobile={isMobile}
|
isMobile={isMobile}
|
||||||
>
|
>
|
||||||
{' '}
|
{' '}
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<BSExpireProductsList />
|
<BSExpireProductsList />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</TooltipWrapper>
|
</TooltipWrapper>
|
||||||
)}
|
)}
|
||||||
{Kioskopen && (
|
{Kioskopen && (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<BSKioskCounterPayment
|
<BSKioskCounterPayment
|
||||||
Kioskopen={Kioskopen}
|
Kioskopen={Kioskopen}
|
||||||
closeKioskModal={closeModalKiosk}
|
closeKioskModal={closeModalKiosk}
|
||||||
|
|
@ -437,7 +439,7 @@ const BSLayout2 = () => {
|
||||||
|
|
||||||
{SAdminuserPin?.length > 0 &&
|
{SAdminuserPin?.length > 0 &&
|
||||||
UserType != 'Super Admin User' && (
|
UserType != 'Super Admin User' && (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<div>
|
<div>
|
||||||
<SAdminUserNotification
|
<SAdminUserNotification
|
||||||
SAdminuserPin={SAdminuserPin}
|
SAdminuserPin={SAdminuserPin}
|
||||||
|
|
@ -543,7 +545,7 @@ const BSLayout2 = () => {
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{!OtherServicesglobal && (
|
{!OtherServicesglobal && (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<CategoryHorizontal
|
<CategoryHorizontal
|
||||||
categoryFunction={dynamicComponentProps(
|
categoryFunction={dynamicComponentProps(
|
||||||
'Category',
|
'Category',
|
||||||
|
|
@ -554,7 +556,7 @@ const BSLayout2 = () => {
|
||||||
</Suspense>
|
</Suspense>
|
||||||
)}
|
)}
|
||||||
{OtherServicesglobal && (
|
{OtherServicesglobal && (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<BSOtherServicesHorizontalcat
|
<BSOtherServicesHorizontalcat
|
||||||
categoryFunction={dynamicComponentProps(
|
categoryFunction={dynamicComponentProps(
|
||||||
'Category',
|
'Category',
|
||||||
|
|
@ -618,12 +620,12 @@ const BSLayout2 = () => {
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{/* {PricingAppPricingName?.[0]?.PricingName != 'Standard' ? ( */}
|
{/* {PricingAppPricingName?.[0]?.PricingName != 'Standard' ? ( */}
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
|
||||||
<div className="BSCategory2-tablecont">
|
<div className="BSCategory2-tablecont">
|
||||||
{action ? (
|
{action ? (
|
||||||
<BranchTransferComponent />
|
<BranchTransferComponent />
|
||||||
) : (
|
) : (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<>
|
<>
|
||||||
{BSLayout2Data?.BookingBilling?.[0] == 'Billing1' && (
|
{BSLayout2Data?.BookingBilling?.[0] == 'Billing1' && (
|
||||||
<BSBillingTable1 />
|
<BSBillingTable1 />
|
||||||
|
|
@ -653,7 +655,7 @@ const BSLayout2 = () => {
|
||||||
{BSLayout2Data?.BookingBilling?.[0] ==
|
{BSLayout2Data?.BookingBilling?.[0] ==
|
||||||
'StandardBilling' && (
|
'StandardBilling' && (
|
||||||
<div className="BSCategory2New">
|
<div className="BSCategory2New">
|
||||||
<Suspense fallback={<div>Loading table...</div>}>
|
<Suspense fallback={null}>
|
||||||
<StandardTable />
|
<StandardTable />
|
||||||
</Suspense>
|
</Suspense>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -662,7 +664,6 @@ const BSLayout2 = () => {
|
||||||
</Suspense>
|
</Suspense>
|
||||||
)}
|
)}
|
||||||
</div>
|
</div>
|
||||||
</Suspense>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -676,7 +677,7 @@ const BSLayout2 = () => {
|
||||||
</Suspense>
|
</Suspense>
|
||||||
)}
|
)}
|
||||||
{ListOfInvoices && (
|
{ListOfInvoices && (
|
||||||
<Suspense fallback={<div>Loading...</div>}>
|
<Suspense fallback={null}>
|
||||||
<ListOfSalesInvoices
|
<ListOfSalesInvoices
|
||||||
ListOfInvoicesOpen={ListOfInvoices}
|
ListOfInvoicesOpen={ListOfInvoices}
|
||||||
handleInvoiceClose={handleInvoiceClose}
|
handleInvoiceClose={handleInvoiceClose}
|
||||||
|
|
@ -686,6 +687,7 @@ const BSLayout2 = () => {
|
||||||
|
|
||||||
<LayoutSubCategoryFetcher />
|
<LayoutSubCategoryFetcher />
|
||||||
</>
|
</>
|
||||||
|
</Suspense>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 0 0 0;
|
margin: 0 0 0 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
scrollbar-width: thin;
|
||||||
padding-bottom: 5rem !important;
|
padding-bottom: 5rem !important;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
height: 85vh;
|
height: 85vh;
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
margin: 10px 0 0 0;
|
margin: 10px 0 0 0;
|
||||||
|
|
@ -58,7 +59,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
> div:nth-child(1) {
|
> div:nth-child(1) {
|
||||||
|
|
@ -98,14 +99,14 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #1f2937; // Dark gray, almost black
|
color: #1f2937; // Dark gray, almost black
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
line-height: 1.2;
|
line-height: 1.2;
|
||||||
letter-spacing: -0.5px;
|
letter-spacing: -0.5px;
|
||||||
|
|
@ -116,7 +117,7 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #6c6c6c;
|
color: #6c6c6c;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
line-height: 1.4;
|
line-height: 1.4;
|
||||||
letter-spacing: -0.5px;
|
letter-spacing: -0.5px;
|
||||||
margin-top: 2px;
|
margin-top: 2px;
|
||||||
|
|
@ -179,14 +180,14 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #6c6c6c; // Gray text for inactive state
|
color: #6c6c6c; // Gray text for inactive state
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
@ -206,14 +207,14 @@
|
||||||
font-size: 20px;
|
font-size: 20px;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
// margin: 0 0 16px 0;
|
// margin: 0 0 16px 0;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -225,14 +226,14 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #6c6c6c;
|
color: #6c6c6c;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
line-height: 1.6;
|
line-height: 1.6;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
|
|
@ -288,7 +289,7 @@
|
||||||
padding: 4px 4px !important;
|
padding: 4px 4px !important;
|
||||||
font-size: 12.5px;
|
font-size: 12.5px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-select {
|
.ant-select {
|
||||||
|
|
@ -324,7 +325,7 @@
|
||||||
border: none;
|
border: none;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
|
|
@ -362,7 +363,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
letter-spacing: -0.3px;
|
letter-spacing: -0.3px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -376,14 +377,14 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
@ -398,7 +399,7 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
width: 190px;
|
width: 190px;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|
@ -433,7 +434,7 @@
|
||||||
background-color: #2563ea !important;
|
background-color: #2563ea !important;
|
||||||
height: 42px !important;
|
height: 42px !important;
|
||||||
padding: 10px !important;
|
padding: 10px !important;
|
||||||
font-family: 'Poppins', sans-serif !important;
|
font-family: "Poppins", sans-serif !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
button:nth-child(1) {
|
button:nth-child(1) {
|
||||||
|
|
@ -452,7 +453,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
|
|
@ -473,7 +474,7 @@
|
||||||
width: max-content;
|
width: max-content;
|
||||||
|
|
||||||
.offercount {
|
.offercount {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #878787;
|
color: #878787;
|
||||||
}
|
}
|
||||||
|
|
@ -506,7 +507,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
@ -574,14 +575,14 @@
|
||||||
color: #374151;
|
color: #374151;
|
||||||
border-bottom: 1px solid #e2e8f0;
|
border-bottom: 1px solid #e2e8f0;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -591,14 +592,14 @@
|
||||||
color: #374151;
|
color: #374151;
|
||||||
border-bottom: 1px solid #e2e8f0;
|
border-bottom: 1px solid #e2e8f0;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -700,7 +701,7 @@
|
||||||
border: 1px solid #565656 !important;
|
border: 1px solid #565656 !important;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
@ -722,7 +723,7 @@
|
||||||
border: 1px solid #565656 !important;
|
border: 1px solid #565656 !important;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
@ -743,7 +744,7 @@
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
|
|
@ -768,7 +769,7 @@
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
.chip-remove {
|
.chip-remove {
|
||||||
background: none;
|
background: none;
|
||||||
|
|
@ -792,7 +793,7 @@
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
margin-top: 6px;
|
margin-top: 6px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-button-group {
|
.modal-button-group {
|
||||||
|
|
@ -809,7 +810,7 @@
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-submit-button {
|
.modal-submit-button {
|
||||||
|
|
@ -820,7 +821,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-title {
|
.modal-title {
|
||||||
|
|
@ -829,7 +830,7 @@
|
||||||
color: #1f2937;
|
color: #1f2937;
|
||||||
margin: 0 0 8px 0;
|
margin: 0 0 8px 0;
|
||||||
-webkit-text-stroke-width: 0.1px;
|
-webkit-text-stroke-width: 0.1px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-label {
|
.modal-label {
|
||||||
|
|
@ -838,7 +839,7 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.modal-input-row {
|
.modal-input-row {
|
||||||
|
|
@ -878,7 +879,7 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio-options {
|
.radio-options {
|
||||||
|
|
@ -897,14 +898,14 @@
|
||||||
gap: 10px;
|
gap: 10px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
background-color: #2563ea1a;
|
background-color: #2563ea1a;
|
||||||
border: 1px solid #2563ea40;
|
border: 1px solid #2563ea40;
|
||||||
padding: 4px 8px;
|
padding: 4px 8px;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
// -webkit-text-stroke-width: 0.2px;
|
// -webkit-text-stroke-width: 0.2px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -921,10 +922,10 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.radio-option input[type='radio'] {
|
.radio-option input[type="radio"] {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
accent-color: #2563ea;
|
accent-color: #2563ea;
|
||||||
|
|
@ -939,7 +940,7 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Days Section Styles
|
// Days Section Styles
|
||||||
|
|
@ -957,14 +958,14 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -978,14 +979,14 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
@ -1015,17 +1016,17 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
|
||||||
input[type='checkbox'] {
|
input[type="checkbox"] {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
accent-color: #3b82f6;
|
accent-color: #3b82f6;
|
||||||
|
|
@ -1047,14 +1048,14 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1067,14 +1068,14 @@
|
||||||
color: #374151;
|
color: #374151;
|
||||||
background: #ffffff;
|
background: #ffffff;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|
@ -1092,14 +1093,14 @@
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
color: #2563ea;
|
color: #2563ea;
|
||||||
font-family:
|
font-family:
|
||||||
'Poppins',
|
"Poppins",
|
||||||
-apple-system,
|
-apple-system,
|
||||||
BlinkMacSystemFont,
|
BlinkMacSystemFont,
|
||||||
'Segoe UI',
|
"Segoe UI",
|
||||||
'Roboto',
|
"Roboto",
|
||||||
'Oxygen',
|
"Oxygen",
|
||||||
'Ubuntu',
|
"Ubuntu",
|
||||||
'Cantarell',
|
"Cantarell",
|
||||||
sans-serif;
|
sans-serif;
|
||||||
margin-top: 8px;
|
margin-top: 8px;
|
||||||
}
|
}
|
||||||
|
|
@ -1107,11 +1108,11 @@
|
||||||
.days-selected {
|
.days-selected {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
background-color: rgba(37, 99, 234, 0.1019607843);
|
background-color: rgba(37, 99, 234, 0.1019607843);
|
||||||
padding: 8px 8px;
|
padding: 8px 8px;
|
||||||
color: #2563ea;
|
color: #2563ea;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
border: rgba(37, 99, 234, 0.4431372549) 1px solid;
|
border: rgba(37, 99, 234, 0.4431372549) 1px solid;
|
||||||
|
|
@ -1148,7 +1149,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
-webkit-text-stroke-width: 0.2px;
|
-webkit-text-stroke-width: 0.2px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 6px;
|
bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -1164,7 +1165,7 @@
|
||||||
background: rgba(37, 99, 234, 0.1019607843);
|
background: rgba(37, 99, 234, 0.1019607843);
|
||||||
border: rgba(37, 99, 234, 0.4431372549) 1px solid;
|
border: rgba(37, 99, 234, 0.4431372549) 1px solid;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.applied-label {
|
.applied-label {
|
||||||
|
|
@ -1247,7 +1248,7 @@
|
||||||
color: #000000;
|
color: #000000;
|
||||||
-webkit-text-stroke-width: 0.2px;
|
-webkit-text-stroke-width: 0.2px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
gap: 4px;
|
gap: 4px;
|
||||||
|
|
@ -1275,7 +1276,7 @@
|
||||||
padding: 4px 4px !important;
|
padding: 4px 4px !important;
|
||||||
font-size: 12.5px;
|
font-size: 12.5px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1283,7 +1284,7 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #6b7280;
|
color: #6b7280;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mapping-label {
|
.mapping-label {
|
||||||
|
|
@ -1291,7 +1292,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.product-list {
|
.product-list {
|
||||||
|
|
@ -1308,7 +1309,7 @@
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
color: #374151;
|
color: #374151;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
@ -1367,7 +1368,7 @@
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background: #1d4ed8;
|
background: #1d4ed8;
|
||||||
|
|
@ -1412,7 +1413,7 @@
|
||||||
background: #f3f4f6;
|
background: #f3f4f6;
|
||||||
padding: 2px 8px;
|
padding: 2px 8px;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.OfferBreadcrumbs {
|
.OfferBreadcrumbs {
|
||||||
|
|
@ -1431,7 +1432,7 @@
|
||||||
gap: 2px;
|
gap: 2px;
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
color: #676767;
|
color: #676767;
|
||||||
|
|
||||||
|
|
@ -1461,7 +1462,7 @@
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
// -webkit-text-stroke-width: 0.1px;
|
// -webkit-text-stroke-width: 0.1px;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
&.active {
|
&.active {
|
||||||
background: #2563ea;
|
background: #2563ea;
|
||||||
|
|
@ -1517,7 +1518,7 @@
|
||||||
color: #1e1e1e;
|
color: #1e1e1e;
|
||||||
margin: 17px 6px;
|
margin: 17px 6px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
-webkit-text-stroke-width: 0.1px;
|
-webkit-text-stroke-width: 0.1px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -1623,7 +1624,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1643,7 +1644,7 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
|
|
||||||
input[type='checkbox'] {
|
input[type="checkbox"] {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
accent-color: #2563ea;
|
accent-color: #2563ea;
|
||||||
|
|
@ -1673,7 +1674,7 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
-webkit-text-stroke-width: 0.1px;
|
-webkit-text-stroke-width: 0.1px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.edit-days-button {
|
.edit-days-button {
|
||||||
|
|
@ -1702,7 +1703,7 @@
|
||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
-webkit-text-stroke-width: 0.2px;
|
-webkit-text-stroke-width: 0.2px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
position: relative;
|
position: relative;
|
||||||
bottom: 6px;
|
bottom: 6px;
|
||||||
}
|
}
|
||||||
|
|
@ -1717,7 +1718,7 @@
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
input[type='radio'] {
|
input[type="radio"] {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
accent-color: #2563ea;
|
accent-color: #2563ea;
|
||||||
|
|
@ -1727,7 +1728,7 @@
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
color: #000000;
|
color: #000000;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -1751,11 +1752,11 @@
|
||||||
|
|
||||||
.date-picker {
|
.date-picker {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
.ant-picker-input {
|
.ant-picker-input {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
outline: none;
|
outline: none;
|
||||||
|
|
@ -1770,11 +1771,11 @@
|
||||||
|
|
||||||
// Override Ant Design default styles
|
// Override Ant Design default styles
|
||||||
.ant-picker {
|
.ant-picker {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-picker-input > input {
|
.ant-picker-input > input {
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
margin: 0 0 0 0;
|
margin: 0 0 0 0;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
|
scrollbar-width: thin;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -148,24 +148,21 @@
|
||||||
// );
|
// );
|
||||||
// }
|
// }
|
||||||
|
|
||||||
import React, { useRef, useState, useEffect } from "react";
|
import React, { useRef, useState, useEffect } from 'react';
|
||||||
import { BarcodeScanner } from "@capacitor-mlkit/barcode-scanning";
|
import { BarcodeScanner } from '@capacitor-mlkit/barcode-scanning';
|
||||||
import { BsUpcScan } from "react-icons/bs";
|
import { BsUpcScan } from 'react-icons/bs';
|
||||||
import { Capacitor } from "@capacitor/core";
|
import { Capacitor } from '@capacitor/core';
|
||||||
import { DefaultModal } from "../Components/Modal/DefaultModal";
|
import { DefaultModal } from '../Components/Modal/DefaultModal';
|
||||||
import QrScanner from "qr-scanner/qr-scanner.min.js";
|
import QrScanner from 'qr-scanner/qr-scanner.min.js';
|
||||||
import {
|
import { BrowserMultiFormatReader, BarcodeFormat } from '@zxing/library';
|
||||||
BrowserMultiFormatReader,
|
|
||||||
BarcodeFormat,
|
|
||||||
} from "@zxing/library";
|
|
||||||
|
|
||||||
QrScanner.WORKER_PATH = new URL(
|
QrScanner.WORKER_PATH = new URL(
|
||||||
"qr-scanner/qr-scanner-worker.min.js",
|
'qr-scanner/qr-scanner-worker.min.js',
|
||||||
import.meta.url
|
import.meta.url
|
||||||
).toString();
|
).toString();
|
||||||
|
|
||||||
export default function BarCodeScan({ onScan }) {
|
export default function BarCodeScan({ onScan }) {
|
||||||
const isMobileApp = Capacitor.getPlatform() !== "web";
|
const isMobileApp = Capacitor.getPlatform() !== 'web';
|
||||||
const [scanning, setScanning] = useState(false);
|
const [scanning, setScanning] = useState(false);
|
||||||
const [modalOpen, setModalOpen] = useState(false);
|
const [modalOpen, setModalOpen] = useState(false);
|
||||||
|
|
||||||
|
|
@ -183,8 +180,8 @@ export default function BarCodeScan({ onScan }) {
|
||||||
if (isMobileApp) {
|
if (isMobileApp) {
|
||||||
try {
|
try {
|
||||||
const perm = await BarcodeScanner.requestPermissions();
|
const perm = await BarcodeScanner.requestPermissions();
|
||||||
if (perm.camera !== "granted") {
|
if (perm.camera !== 'granted') {
|
||||||
alert("Camera permission not granted");
|
alert('Camera permission not granted');
|
||||||
setScanning(false);
|
setScanning(false);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
@ -280,50 +277,21 @@ export default function BarCodeScan({ onScan }) {
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div style={{ display: "flex", justifyContent: "center", padding: 20 }}>
|
<div
|
||||||
|
className="BarCodeScanMaster"
|
||||||
|
style={{ display: 'flex', justifyContent: 'center', padding: 20 }}
|
||||||
|
>
|
||||||
{!scanning && (
|
{!scanning && (
|
||||||
<BsUpcScan
|
<BsUpcScan
|
||||||
onClick={startScan}
|
onClick={startScan}
|
||||||
style={{
|
style={{
|
||||||
fontSize: 32,
|
fontSize: 32,
|
||||||
color: "#007bff",
|
color: '#007bff',
|
||||||
cursor: "pointer",
|
cursor: 'pointer',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
||||||
{/* <DefaultModal
|
|
||||||
title="QR / Barcode Reader"
|
|
||||||
width={500}
|
|
||||||
open={modalOpen}
|
|
||||||
footer={false}
|
|
||||||
handleCancel={closeModal}
|
|
||||||
>
|
|
||||||
<div style={{ display: "flex", justifyContent: "center" }}>
|
|
||||||
<video
|
|
||||||
ref={videoRef}
|
|
||||||
style={{
|
|
||||||
width: "100%",
|
|
||||||
maxWidth: 400,
|
|
||||||
borderRadius: 8,
|
|
||||||
}}
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<button
|
|
||||||
onClick={closeModal}
|
|
||||||
style={{
|
|
||||||
marginTop: 20,
|
|
||||||
padding: "10px 20px",
|
|
||||||
fontSize: 16,
|
|
||||||
borderRadius: 8,
|
|
||||||
border: "none",
|
|
||||||
cursor: "pointer",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
Close
|
|
||||||
</button>
|
|
||||||
</DefaultModal> */}
|
|
||||||
<DefaultModal
|
<DefaultModal
|
||||||
title="QR / Barcode Reader"
|
title="QR / Barcode Reader"
|
||||||
width={500}
|
width={500}
|
||||||
|
|
@ -333,17 +301,17 @@ export default function BarCodeScan({ onScan }) {
|
||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: "relative",
|
position: 'relative',
|
||||||
width: "100%",
|
width: '100%',
|
||||||
maxWidth: 400,
|
maxWidth: 400,
|
||||||
margin: "auto",
|
margin: 'auto',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
{/* VIDEO */}
|
{/* VIDEO */}
|
||||||
<video
|
<video
|
||||||
ref={videoRef}
|
ref={videoRef}
|
||||||
style={{
|
style={{
|
||||||
width: "100%",
|
width: '100%',
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
@ -351,12 +319,12 @@ export default function BarCodeScan({ onScan }) {
|
||||||
{/* DARK OVERLAY */}
|
{/* DARK OVERLAY */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: 'absolute',
|
||||||
top: 0,
|
top: 0,
|
||||||
left: 0,
|
left: 0,
|
||||||
width: "100%",
|
width: '100%',
|
||||||
height: "100%",
|
height: '100%',
|
||||||
background: "rgba(0,0,0,0.5)",
|
background: 'rgba(0,0,0,0.5)',
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
@ -364,27 +332,27 @@ export default function BarCodeScan({ onScan }) {
|
||||||
{/* SCAN BOX */}
|
{/* SCAN BOX */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: 'absolute',
|
||||||
top: "50%",
|
top: '50%',
|
||||||
left: "50%",
|
left: '50%',
|
||||||
width: "70%",
|
width: '70%',
|
||||||
height: "60%",
|
height: '60%',
|
||||||
transform: "translate(-50%, -50%)",
|
transform: 'translate(-50%, -50%)',
|
||||||
border: "3px solid #00ff00",
|
border: '3px solid #00ff00',
|
||||||
borderRadius: 12,
|
borderRadius: 12,
|
||||||
boxShadow: "0 0 0 2000px rgba(0,0,0,0.4)",
|
boxShadow: '0 0 0 2000px rgba(0,0,0,0.4)',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|
||||||
{/* SCAN LINE */}
|
{/* SCAN LINE */}
|
||||||
<div
|
<div
|
||||||
style={{
|
style={{
|
||||||
position: "absolute",
|
position: 'absolute',
|
||||||
left: "15%",
|
left: '15%',
|
||||||
width: "70%",
|
width: '70%',
|
||||||
height: 2,
|
height: 2,
|
||||||
background: "red",
|
background: 'red',
|
||||||
animation: "scanAnimation 2s infinite linear",
|
animation: 'scanAnimation 2s infinite linear',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -393,11 +361,11 @@ export default function BarCodeScan({ onScan }) {
|
||||||
onClick={closeModal}
|
onClick={closeModal}
|
||||||
style={{
|
style={{
|
||||||
marginTop: 20,
|
marginTop: 20,
|
||||||
padding: "10px 20px",
|
padding: '10px 20px',
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
borderRadius: 8,
|
borderRadius: 8,
|
||||||
border: "none",
|
border: 'none',
|
||||||
cursor: "pointer",
|
cursor: 'pointer',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
Close
|
Close
|
||||||
|
|
|
||||||
|
|
@ -6,19 +6,9 @@
|
||||||
|
|
||||||
.BSLayout6-fullbody {
|
.BSLayout6-fullbody {
|
||||||
height: 99.3vh;
|
height: 99.3vh;
|
||||||
//nk
|
|
||||||
// height: 99vh;
|
|
||||||
//
|
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
// nk
|
|
||||||
// .BSLayout6-fullbody .BSBTOverall6-defaultscreen
|
|
||||||
// {
|
|
||||||
// height: clamp(40vh,80vh, 100vh) !important;
|
|
||||||
// }
|
|
||||||
//
|
|
||||||
|
|
||||||
.BSLayout6-fullbody .BSBilling4TableCont-default {
|
.BSLayout6-fullbody .BSBilling4TableCont-default {
|
||||||
height: 83vh;
|
height: 83vh;
|
||||||
}
|
}
|
||||||
|
|
@ -98,7 +88,6 @@
|
||||||
|
|
||||||
.BSBill-Table4 th {
|
.BSBill-Table4 th {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
// color: #fff;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
@ -114,11 +103,6 @@
|
||||||
padding: 4px;
|
padding: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .Table4-item-price {
|
|
||||||
// font-size: 14px;
|
|
||||||
// font-style: normal;
|
|
||||||
// font-weight: 600;
|
|
||||||
// }
|
|
||||||
.BSBill4-item-extraprice {
|
.BSBill4-item-extraprice {
|
||||||
color: #007e1c;
|
color: #007e1c;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
|
@ -144,9 +128,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling4-down-content {
|
.BSBilling4-down-content {
|
||||||
// flex-wrap: wrap;
|
|
||||||
// display: flex;
|
|
||||||
// position: fixed;
|
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
width: inherit;
|
width: inherit;
|
||||||
background-color: white;
|
background-color: white;
|
||||||
|
|
@ -163,7 +144,6 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
row-gap: 0rem;
|
row-gap: 0rem;
|
||||||
box-shadow: var(--BOX_SHADOW_LEVEL2);
|
box-shadow: var(--BOX_SHADOW_LEVEL2);
|
||||||
// flex-direction: column;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling4-customer {
|
.BSBilling4-customer {
|
||||||
|
|
@ -186,10 +166,7 @@
|
||||||
.Table4-price {
|
.Table4-price {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
//vic
|
|
||||||
margin-right: 26px;
|
margin-right: 26px;
|
||||||
|
|
||||||
// background-color:white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-price-fullflex {
|
.Table4-price-fullflex {
|
||||||
|
|
@ -202,9 +179,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-customer
|
.Table4-customer .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
||||||
.ant-select-single:not(.ant-select-customize-input)
|
|
||||||
.ant-select-selector {
|
|
||||||
width: 10rem;
|
width: 10rem;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -216,9 +191,7 @@
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-customer
|
.Table4-customer .ant-select-single.ant-select-show-arrow .ant-select-selection-placeholder {
|
||||||
.ant-select-single.ant-select-show-arrow
|
|
||||||
.ant-select-selection-placeholder {
|
|
||||||
color: #000;
|
color: #000;
|
||||||
padding-inline-end: 0px !important;
|
padding-inline-end: 0px !important;
|
||||||
}
|
}
|
||||||
|
|
@ -236,13 +209,11 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
column-gap: 1rem;
|
column-gap: 1rem;
|
||||||
// width:38%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-cash {
|
.Table4-cash {
|
||||||
display: flex;
|
display: flex;
|
||||||
width: 60px;
|
width: 60px;
|
||||||
// margin: 5px 5px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-Btn-payment-mode {
|
.Table4-Btn-payment-mode {
|
||||||
|
|
@ -268,8 +239,6 @@
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
// padding: 10px 10px;
|
|
||||||
// margin: 10px 10px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-vertical-line {
|
.Table4-vertical-line {
|
||||||
|
|
@ -324,7 +293,7 @@
|
||||||
|
|
||||||
.Table4-rate {
|
.Table4-rate {
|
||||||
display: flex;
|
display: flex;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
font-size: 23px;
|
font-size: 23px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
@ -332,7 +301,6 @@
|
||||||
|
|
||||||
.Table4-td-names {
|
.Table4-td-names {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
// font-size: 14px;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -346,7 +314,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
// row-gap: 1rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 280px) and (max-width: 499px) {
|
@media (min-width: 280px) and (max-width: 499px) {
|
||||||
|
|
@ -355,23 +322,11 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .BSLayout6-fullbody .bsbilltable7 .Table3-Price-summarypopfullscrn {
|
|
||||||
// display: none;
|
|
||||||
// }
|
|
||||||
|
|
||||||
// .Table4-Price-div{
|
|
||||||
// display: none !important;
|
|
||||||
// }
|
|
||||||
// .Table4-payment-mode {
|
|
||||||
// // width:55% !important
|
|
||||||
// }
|
|
||||||
|
|
||||||
.T4PTable {
|
.T4PTable {
|
||||||
display: flex;
|
display: flex;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-total-price {
|
.Table4-total-price {
|
||||||
// display: flex;
|
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -400,7 +355,6 @@
|
||||||
@media (max-width: 500px) {
|
@media (max-width: 500px) {
|
||||||
.Table4-td-names {
|
.Table4-td-names {
|
||||||
text-align: left;
|
text-align: left;
|
||||||
// font-size: 10px !important;
|
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -414,7 +368,6 @@
|
||||||
|
|
||||||
.Table4-price {
|
.Table4-price {
|
||||||
display: revert;
|
display: revert;
|
||||||
//vic
|
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -432,9 +385,7 @@
|
||||||
border-radius: 20px !important;
|
border-radius: 20px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-customer
|
.Table4-customer .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
|
||||||
.ant-select-single:not(.ant-select-customize-input)
|
|
||||||
.ant-select-selector {
|
|
||||||
width: 8rem !important;
|
width: 8rem !important;
|
||||||
font-size: 8px !important;
|
font-size: 8px !important;
|
||||||
}
|
}
|
||||||
|
|
@ -446,7 +397,6 @@
|
||||||
|
|
||||||
.Table4-price {
|
.Table4-price {
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
//vic
|
|
||||||
margin-left: 6px !important;
|
margin-left: 6px !important;
|
||||||
margin-right: 0 !important;
|
margin-right: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
@ -496,13 +446,9 @@
|
||||||
|
|
||||||
.BSBilling4-vertical-line {
|
.BSBilling4-vertical-line {
|
||||||
width: 1px;
|
width: 1px;
|
||||||
/* Adjust the width as needed */
|
|
||||||
height: 100%;
|
height: 100%;
|
||||||
/* This will make the line span the entire height of its container */
|
|
||||||
background-color: #000;
|
background-color: #000;
|
||||||
/* Change the background color to your desired color */
|
|
||||||
margin: 0 10px;
|
margin: 0 10px;
|
||||||
/* Adjust margin as needed to position the line */
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// MobileScreen design
|
// MobileScreen design
|
||||||
|
|
@ -516,10 +462,7 @@
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
row-gap: 1rem;
|
row-gap: 1rem;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
// height: inherit ;
|
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
// height: 85vh;
|
|
||||||
//vm
|
|
||||||
height: 80vh;
|
height: 80vh;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -538,8 +481,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBill-Table4 {
|
.BSBill-Table4 {
|
||||||
// width: 95vw;
|
|
||||||
//vic
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
border-spacing: 0 4px;
|
border-spacing: 0 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -547,23 +488,12 @@
|
||||||
|
|
||||||
.BSBill-Table4 th {
|
.BSBill-Table4 th {
|
||||||
border-spacing: 0;
|
border-spacing: 0;
|
||||||
// color: #fff;
|
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
line-height: normal;
|
line-height: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .BSBillingDefault-table {
|
|
||||||
// display: none;
|
|
||||||
// }
|
|
||||||
// .BSBilling4-down-content{
|
|
||||||
// display: none !important;
|
|
||||||
// }
|
|
||||||
// .BSLayout6table-fulldiv{
|
|
||||||
// display: none !important;
|
|
||||||
// }
|
|
||||||
.BSBillingDefault-table {
|
.BSBillingDefault-table {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
@ -604,10 +534,6 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
column-gap: 1rem;
|
column-gap: 1rem;
|
||||||
padding: 1rem 1rem;
|
padding: 1rem 1rem;
|
||||||
// nk
|
|
||||||
// padding: 1rem 1rem;
|
|
||||||
//
|
|
||||||
// width:65%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling4-price-full {
|
.BSBilling4-price-full {
|
||||||
|
|
@ -620,7 +546,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// background-color: white;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-Btn-final-price {
|
.Table4-Btn-final-price {
|
||||||
|
|
@ -656,12 +581,7 @@
|
||||||
.BSBilling4-price-content {
|
.BSBilling4-price-content {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
// row-gap: 0.5rem !important;
|
|
||||||
//vic
|
|
||||||
row-gap: 0.3rem !important;
|
row-gap: 0.3rem !important;
|
||||||
// nk
|
|
||||||
// row-gap: 1rem !important;
|
|
||||||
//
|
|
||||||
align-items: center;
|
align-items: center;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
}
|
}
|
||||||
|
|
@ -697,7 +617,7 @@
|
||||||
|
|
||||||
.Table4-item-price {
|
.Table4-item-price {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
font-family: 'Gilroy-Medium';
|
font-family: "Gilroy-Medium";
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
text-align: right;
|
text-align: right;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
|
@ -705,8 +625,6 @@
|
||||||
|
|
||||||
@media (min-width: 280px) and (max-width: 499px) {
|
@media (min-width: 280px) and (max-width: 499px) {
|
||||||
.BSBill-Table4 {
|
.BSBill-Table4 {
|
||||||
// width: 95vw;
|
|
||||||
//vic
|
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
border-spacing: 0 4px;
|
border-spacing: 0 4px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
|
@ -763,17 +681,8 @@
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
column-gap: 0.5rem;
|
column-gap: 0.5rem;
|
||||||
padding: 0.4rem 1rem;
|
padding: 0.4rem 1rem;
|
||||||
// nk
|
|
||||||
// padding: 1rem 1rem;
|
|
||||||
//
|
|
||||||
// width:65%;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// .Table4-price-icon-container {
|
|
||||||
// row-gap: 0 !important;
|
|
||||||
// flex-wrap: wrap !important;
|
|
||||||
// }
|
|
||||||
//nk
|
|
||||||
.Table4-price-icon-container {
|
.Table4-price-icon-container {
|
||||||
row-gap: 0 !important;
|
row-gap: 0 !important;
|
||||||
flex-wrap: wrap !important;
|
flex-wrap: wrap !important;
|
||||||
|
|
@ -795,9 +704,6 @@
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column !important;
|
flex-direction: column !important;
|
||||||
row-gap: 0rem !important;
|
row-gap: 0rem !important;
|
||||||
// nk
|
|
||||||
// row-gap: 1rem !important;
|
|
||||||
//
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table4-price {
|
.Table4-price {
|
||||||
|
|
@ -848,10 +754,6 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (min-width: 500px) and (max-width: 768px) {
|
@media (min-width: 500px) and (max-width: 768px) {
|
||||||
// .Table4-price-icon-container {
|
|
||||||
// width: 100vw;
|
|
||||||
// }
|
|
||||||
//nk
|
|
||||||
.Table4-price-icon-container {
|
.Table4-price-icon-container {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
|
|
||||||
|
|
@ -2,13 +2,14 @@
|
||||||
font-family: "Poppins", sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling3div {
|
.BSBilling3PayMaster {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
height: inherit;
|
height: inherit;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
padding: 0.5rem 0.3rem;
|
padding: 0.3rem 0.3rem;
|
||||||
border-top: 1px solid #b5b5b5;
|
border-top: 1px solid #b5b5b5;
|
||||||
|
gap: 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBill-Table3 {
|
.BSBill-Table3 {
|
||||||
|
|
@ -53,7 +54,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
justify-content: space-evenly;
|
justify-content: space-evenly;
|
||||||
row-gap: 0.3rem;
|
gap: 0.3rem;
|
||||||
column-gap: 1rem;
|
column-gap: 1rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
|
|
@ -90,21 +91,10 @@
|
||||||
|
|
||||||
.Table3-payment-mode {
|
.Table3-payment-mode {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: center;
|
||||||
gap: 6px;
|
gap: 6px;
|
||||||
padding: 0.5rem 0rem;
|
padding: 0.5rem 0rem;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
.Table3-cash {
|
|
||||||
width: 30% !important;
|
|
||||||
flex: 1;
|
|
||||||
.Btn-payment-mode {
|
|
||||||
width: 100% !important;
|
|
||||||
}
|
|
||||||
.Btn-payment-mode-sel {
|
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Btn-payment-mode {
|
.Btn-payment-mode {
|
||||||
|
|
@ -120,6 +110,7 @@
|
||||||
border-radius: 4.982px;
|
border-radius: 4.982px;
|
||||||
padding: 5px 6px;
|
padding: 5px 6px;
|
||||||
height: 2rem;
|
height: 2rem;
|
||||||
|
width: max-content;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Btn-payment-mode-sel {
|
.Btn-payment-mode-sel {
|
||||||
|
|
@ -134,6 +125,7 @@
|
||||||
column-gap: 0rem;
|
column-gap: 0rem;
|
||||||
border-radius: 4.982px;
|
border-radius: 4.982px;
|
||||||
padding: 5px 6px;
|
padding: 5px 6px;
|
||||||
|
height: 2rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Btn-payment-mode-notupisel {
|
.Btn-payment-mode-notupisel {
|
||||||
|
|
@ -160,7 +152,7 @@
|
||||||
|
|
||||||
.Table3-vertical-line {
|
.Table3-vertical-line {
|
||||||
border: 0.83px solid rgb(175, 173, 173);
|
border: 0.83px solid rgb(175, 173, 173);
|
||||||
margin: 1px 10px;
|
margin: 1px 4px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table3-Price-div {
|
.Table3-Price-div {
|
||||||
|
|
@ -259,7 +251,7 @@
|
||||||
font-family: "Gilroy-Medium";
|
font-family: "Gilroy-Medium";
|
||||||
align-items: right;
|
align-items: right;
|
||||||
text-align: left;
|
text-align: left;
|
||||||
font-weight: 600;
|
font-weight: 500;
|
||||||
}
|
}
|
||||||
|
|
||||||
.Table3-item-price {
|
.Table3-item-price {
|
||||||
|
|
@ -534,7 +526,7 @@
|
||||||
transition-duration: 0.2s;
|
transition-duration: 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling3div .field-DropDown {
|
.BSBilling3PayMaster .field-DropDown {
|
||||||
width: 180px !important;
|
width: 180px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -746,7 +738,7 @@
|
||||||
font-size: 10px;
|
font-size: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBilling3div {
|
.BSBilling3PayMaster {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
|
||||||
|
|
@ -5,6 +5,7 @@
|
||||||
height: 40px;
|
height: 40px;
|
||||||
background-color: #ffffff;
|
background-color: #ffffff;
|
||||||
box-shadow: var(--BOX_SHADOW_LEVEL2);
|
box-shadow: var(--BOX_SHADOW_LEVEL2);
|
||||||
|
padding: 0 6px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBillingNav1div2 {
|
.BSBillingNav1div2 {
|
||||||
|
|
@ -26,6 +27,14 @@
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.RiVerifiedBadgeFill {
|
||||||
|
width: 30px;
|
||||||
|
height: 30px;
|
||||||
|
border-radius: 6px;
|
||||||
|
background-color: #1292ee;
|
||||||
|
padding: 4px;
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBillingNavBar1-SearchBar {
|
.BSBillingNavBar1-SearchBar {
|
||||||
|
|
@ -70,6 +79,9 @@
|
||||||
color: #fbbf24;
|
color: #fbbf24;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@media (max-width: 1200px) {
|
||||||
|
column-gap: 1.2rem;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBillingnav1-threedots {
|
.BSBillingnav1-threedots {
|
||||||
|
|
@ -116,7 +128,6 @@
|
||||||
|
|
||||||
.BSBillingNavBar1-AllIcons {
|
.BSBillingNavBar1-AllIcons {
|
||||||
display: none;
|
display: none;
|
||||||
column-gap: 1.5rem;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.BSBillingNavBar1-smallscreen-Inputsearch-container {
|
.BSBillingNavBar1-smallscreen-Inputsearch-container {
|
||||||
|
|
@ -200,6 +211,7 @@
|
||||||
height: 100vh !important;
|
height: 100vh !important;
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
padding-bottom: 20rem;
|
padding-bottom: 20rem;
|
||||||
|
scrollbar-width: thin;
|
||||||
}
|
}
|
||||||
|
|
||||||
// user detail style
|
// user detail style
|
||||||
|
|
@ -441,7 +453,7 @@
|
||||||
justify-content: center;
|
justify-content: center;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
width: 35px !important;
|
width: 35px !important;
|
||||||
height: 35px;
|
height: 33px;
|
||||||
padding: 6px;
|
padding: 6px;
|
||||||
|
|
||||||
svg {
|
svg {
|
||||||
|
|
@ -488,3 +500,27 @@
|
||||||
background-position: center;
|
background-position: center;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.Navbar1SearchCombo {
|
||||||
|
.ant-select.ant-select-in-form-item {
|
||||||
|
width: 25vw !important;
|
||||||
|
}
|
||||||
|
.ant-form-item {
|
||||||
|
margin-bottom: -10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
.NavbarDivForSearch {
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
column-gap: 4px;
|
||||||
|
position: relative;
|
||||||
|
.BarCodeScanMaster {
|
||||||
|
position: absolute;
|
||||||
|
right: 10px;
|
||||||
|
top: 20%;
|
||||||
|
padding: 0 !important;
|
||||||
|
svg {
|
||||||
|
height: 20px;
|
||||||
|
width: 20px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,8 @@
|
||||||
// split payment dropdown size reduce
|
|
||||||
.SplitPay {
|
.SplitPay {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
gap: 5px;
|
gap: 12px;
|
||||||
|
|
||||||
// align-items: center;
|
// align-items: center;
|
||||||
& .field-DropDown {
|
& .field-DropDown {
|
||||||
|
|
@ -56,6 +55,7 @@
|
||||||
width: 50px;
|
width: 50px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
font-family: "Poppins";
|
||||||
}
|
}
|
||||||
|
|
||||||
.Splitbutton-diabled {
|
.Splitbutton-diabled {
|
||||||
|
|
@ -72,6 +72,7 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
font-family: "Poppins";
|
||||||
}
|
}
|
||||||
|
|
||||||
.custom-radio-group .ant-radio-button-wrapper-checked {
|
.custom-radio-group .ant-radio-button-wrapper-checked {
|
||||||
|
|
|
||||||
|
|
@ -48,6 +48,7 @@
|
||||||
width: 50px;
|
width: 50px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
|
font-family: "Poppins";
|
||||||
}
|
}
|
||||||
.Splitbutton-diabled {
|
.Splitbutton-diabled {
|
||||||
display: flex;
|
display: flex;
|
||||||
|
|
@ -63,13 +64,10 @@
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
|
font-family: "Poppins";
|
||||||
}
|
}
|
||||||
.custom-radio-group .ant-radio-button-wrapper-checked {
|
.custom-radio-group .ant-radio-button-wrapper-checked {
|
||||||
background-color: rgb(
|
background-color: rgb(55, 148, 60) !important; /* Change this to your desired color */
|
||||||
55,
|
|
||||||
148,
|
|
||||||
60
|
|
||||||
) !important; /* Change this to your desired color */
|
|
||||||
color: white; /* Text color */
|
color: white; /* Text color */
|
||||||
border-color: rgb(55, 148, 60) !important; /* Border color */
|
border-color: rgb(55, 148, 60) !important; /* Border color */
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -198,21 +198,17 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
//sree
|
|
||||||
|
|
||||||
.bsreprintmodaltable-flex {
|
.bsreprintmodaltable-flex {
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
// justify-content: space-between;
|
|
||||||
/* pushes them apart */
|
|
||||||
gap: 16px;
|
gap: 16px;
|
||||||
/* space between date picker & search */
|
flex-wrap: wrap;
|
||||||
margin-bottom: 16px;
|
margin-bottom: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bsreprintmodaltable-search input {
|
.bsreprintmodaltable-search input {
|
||||||
font-family: "Poppins";
|
font-family: "Poppins";
|
||||||
width: 250px;
|
width: 220px;
|
||||||
padding: 4px 14px;
|
padding: 4px 14px;
|
||||||
border: 1px solid #ccc;
|
border: 1px solid #ccc;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
|
|
|
||||||
|
|
@ -87,7 +87,7 @@
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: all 0.3s ease;
|
transition: all 0.3s ease;
|
||||||
border: 2px solid #e9ecef;
|
border: 2px solid #e9ecef;
|
||||||
font-family: 'Poppins', sans-serif;
|
font-family: "Poppins", sans-serif;
|
||||||
font-size: 15px;
|
font-size: 15px;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
@ -191,6 +191,9 @@
|
||||||
color: #ffffff !important;
|
color: #ffffff !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
.ant-tabs-tab {
|
||||||
|
background-color: rgb(0 0 0 / 15%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.ant-tabs-tab:hover {
|
.ant-tabs-tab:hover {
|
||||||
background-color: #2c5282 !important;
|
background-color: #2c5282 !important;
|
||||||
|
|
@ -199,5 +202,5 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.printer-settings-tabs {
|
.printer-settings-tabs {
|
||||||
font-family: 'Poppins';
|
font-family: "Poppins";
|
||||||
}
|
}
|
||||||
|
|
@ -600,6 +600,9 @@
|
||||||
height: 70vh;
|
height: 70vh;
|
||||||
overflow: auto;
|
overflow: auto;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
.ant-table-thead tr {
|
||||||
|
background-color: #2c88ee !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.requiredIcons {
|
.requiredIcons {
|
||||||
|
|
|
||||||
|
|
@ -12,8 +12,6 @@
|
||||||
.Quotation-table {
|
.Quotation-table {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 45vh;
|
height: 45vh;
|
||||||
|
|
||||||
// overflow: scroll;
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
overflow: auto !important;
|
overflow: auto !important;
|
||||||
scrollbar-width: thin;
|
scrollbar-width: thin;
|
||||||
|
|
@ -73,6 +71,7 @@
|
||||||
overflow: scroll;
|
overflow: scroll;
|
||||||
row-gap: 1.5rem;
|
row-gap: 1.5rem;
|
||||||
padding-bottom: 4rem;
|
padding-bottom: 4rem;
|
||||||
|
scrollbar-width: thin;
|
||||||
|
|
||||||
@media (max-width: 768px) {
|
@media (max-width: 768px) {
|
||||||
padding-bottom: 4rem;
|
padding-bottom: 4rem;
|
||||||
|
|
@ -84,9 +83,6 @@
|
||||||
flex-grow: 1;
|
flex-grow: 1;
|
||||||
justify-content: flex-end;
|
justify-content: flex-end;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
// position: fixed;
|
|
||||||
// bottom: 10px;
|
|
||||||
// right: 100px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.ant-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td,
|
.ant-table-wrapper .ant-table-tbody > tr.ant-table-row:hover > td,
|
||||||
|
|
@ -105,14 +101,9 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.Quotation-table {
|
.Quotation-table {
|
||||||
// width: 70px;
|
|
||||||
.ant-table table {
|
.ant-table table {
|
||||||
border-spacing: 0px;
|
border-spacing: 0px;
|
||||||
}
|
}
|
||||||
|
|
||||||
// .ant-table-wrapper table{
|
|
||||||
// width: 84% !important;
|
|
||||||
// }
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.Quotation-summary {
|
.Quotation-summary {
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,12 @@ import { QueryClient, QueryClientProvider } from '@tanstack/react-query';
|
||||||
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
import { ReactQueryDevtools } from '@tanstack/react-query-devtools';
|
||||||
const queryClient = new QueryClient();
|
const queryClient = new QueryClient();
|
||||||
|
|
||||||
|
// Un Command This line when deployed in App Server
|
||||||
|
window.addEventListener('beforeunload', (e) => {
|
||||||
|
e.preventDefault();
|
||||||
|
e.returnValue = '';
|
||||||
|
});
|
||||||
|
|
||||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||||
<QueryClientProvider client={queryClient}>
|
<QueryClientProvider client={queryClient}>
|
||||||
<Provider store={store}>
|
<Provider store={store}>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue