Merge pull request 'Category conflict files' (#280) from SubCat-Optimization into main

Reviewed-on: Pozomind/pozo-retail-app#280
This commit is contained in:
mohan 2026-03-12 18:24:54 +05:30
commit cacf42a8fa
4 changed files with 47 additions and 38 deletions

View File

@ -946,7 +946,7 @@ const BSNavbar1 = (props, BookingNavbar) => {
)} )}
</> </>
)} )}
{!isMobile && ( {isMobile && (
<div className="PrinterSettingMB"> <div className="PrinterSettingMB">
<BSMobilePrintSettings /> <BSMobilePrintSettings />
</div> </div>

View File

@ -16,7 +16,7 @@ import BSBillingTable6 from '../../Components/BSBillingTables/BSBillingTable6/BS
import BSBillingTable7 from '../../Components/BSBillingTables/BSBillingTable7/BSBillingTable7Overall.jsx'; import BSBillingTable7 from '../../Components/BSBillingTables/BSBillingTable7/BSBillingTable7Overall.jsx';
import BSItemCard from '../../Components/BSItemCards/BSItemCard'; import BSItemCard from '../../Components/BSItemCards/BSItemCard';
import CategoryHorizontal from '../../Components/BSCategories/BSCategoryHorizontal'; import CategoryHorizontal from '../../Components/BSCategories/BSCategoryHorizontal';
import SubCategoryVertical from '../../Components/BSSubCategories/BSSubCategoryVertical'; import SubCategory from '../../Components/BSSubCategories/BSSubCategoryHorizontal';
import { dynamicComponentProps } from '../DynamicComponentProps.js'; import { dynamicComponentProps } from '../DynamicComponentProps.js';
import { import {
SelectedGlobalLayoutColorDetail, SelectedGlobalLayoutColorDetail,
@ -347,7 +347,7 @@ const BSLayout1 = () => {
</div> </div>
<div <div
className={ className={
BookingNavbar != 'Navbar3' ? 'BSLayout1' : 'BSLayout1Standard' BookingNavbar != 'Navbar3' ? 'BSLayout1Main' : 'BSLayout1Standard'
} }
style={{ style={{
backgroundColor: GlobalLayoutColorDetail?.OverallBackgroundColor, backgroundColor: GlobalLayoutColorDetail?.OverallBackgroundColor,
@ -514,8 +514,8 @@ const BSLayout1 = () => {
</div> </div>
</div> </div>
<div className="BSLayout1-ContentDiv"> <div className="BSLayout1Master">
<div className="BSCategory1-Contentcont"> <div className="BSCategoryCardDiv">
<div <div
style={{ style={{
backgroundColor: backgroundColor:
@ -543,22 +543,26 @@ const BSLayout1 = () => {
</div> </div>
<div className="BSCategory1-Cardcont"> <div className="BSCategory1-Cardcont">
<div {
style={{ <div
backgroundColor: style={{
SelectedSubCatgColor?.['OverallBackgroundColor'], backgroundColor:
}} SelectedSubCatgColor?.['OverallBackgroundColor'],
> display: BookingSubCategory ? 'block' : 'none',
{Comboglobal === false && !OtherServicesglobal && ( }}
<SubCategoryVertical >
categoryFunction={dynamicComponentProps( {Comboglobal === false && !OtherServicesglobal && (
'SubCategory', <SubCategory
BSLayout1Data?.BookingSubCategory?.[1], subCategoryType={'vertical'}
BSLayout1Data?.BookingSubCategory?.[0] categoryFunction={dynamicComponentProps(
)} 'SubCategory',
/> BSLayout1Data?.BookingSubCategory?.[1],
)} BSLayout1Data?.BookingSubCategory?.[0]
</div> )}
/>
)}
</div>
}
<div <div
className="layout1-card-content" className="layout1-card-content"

View File

@ -6,8 +6,8 @@ import { isMobile } from 'react-device-detect';
import BookingCloseIcon from '../../Components/UtillComponents/BookingCloseIcon.jsx'; import BookingCloseIcon from '../../Components/UtillComponents/BookingCloseIcon.jsx';
const BSNavbar1 = lazy(() => import('../../Components/BSNavbar/BSNavbar1')); const BSNavbar1 = lazy(() => import('../../Components/BSNavbar/BSNavbar1'));
const BSNavbar2 = lazy(() => import('../../Components/BSNavbar/BSNavbar2')); const BSNavbar2 = lazy(() => import('../../Components/BSNavbar/BSNavbar2'));
const CategoryVertical = lazy( const CategoryHorizontal = lazy(
() => import('../../Components/BSCategories/BSCategoryVertical') () => import('../../Components/BSCategories/BSCategoryHorizontal')
); );
const BSItemCard = lazy( const BSItemCard = lazy(
() => import('../../Components/BSItemCards/BSItemCard') () => import('../../Components/BSItemCards/BSItemCard')
@ -475,7 +475,14 @@ const BSLayout4 = () => {
backgroundColor: GlobalLayoutColorDetail?.OverallBackgroundColor, backgroundColor: GlobalLayoutColorDetail?.OverallBackgroundColor,
}} }}
> >
<div className="BSlayout_subdiv"> {/* <div className="BSlayout_subdiv"> */}
<div
className={
BookingCategory?.[0] === 'Category5'
? 'bslayout4Cat5Flex'
: 'BSlayout_subdiv'
}
>
<div <div
className="Bslayout4_ctg" className="Bslayout4_ctg"
style={{ style={{
@ -484,12 +491,13 @@ const BSLayout4 = () => {
}} }}
> >
{!OtherServicesglobal && ( {!OtherServicesglobal && (
<CategoryVertical <CategoryHorizontal
categoryFunction={dynamicComponentProps( categoryFunction={dynamicComponentProps(
'Category', 'Category',
BookingCategory?.[1], BookingCategory?.[1],
BookingCategory?.[0] BookingCategory?.[0]
)} )}
categoryType={'vertical'}
/> />
)} )}
{OtherServicesglobal && ( {OtherServicesglobal && (

View File

@ -38,7 +38,9 @@ const BSBillingTable7 = lazy(
import('../../Components/BSBillingTables/BSBillingTable7/BSBillingTable7Overall.jsx') import('../../Components/BSBillingTables/BSBillingTable7/BSBillingTable7Overall.jsx')
); );
import BSItemCard from '../../Components/BSItemCards/BSItemCard'; import BSItemCard from '../../Components/BSItemCards/BSItemCard';
import CategoryVertical from '../../Components/BSCategories/BSCategoryVertical'; const CategoryHorizontal = lazy(
() => import('../../Components/BSCategories/BSCategoryHorizontal')
);
import { dynamicComponentProps } from '../DynamicComponentProps.js'; import { dynamicComponentProps } from '../DynamicComponentProps.js';
import { import {
GlobalPricingAppPricingName, GlobalPricingAppPricingName,
@ -503,20 +505,14 @@ const BSLayout5 = () => {
)} )}
</> </>
)} )}
{/* <div
className="salesStoreName"
style={{
color: SelectedBillColor?.['FontColor'],
backgroundColor: SelectedBillColor?.['BackgroundColor'],
}}
>
<BranchName />
</div> */}
</div> </div>
<div <div
className="BSCategory5-Contentcont" className={
style={{ width: '100vw' }} BookingCategory?.[0] === 'Category5'
? 'BSlayout5Cat5Flex'
: 'BSCategory5-Contentcont'
}
> >
<div <div
style={{ style={{
@ -525,12 +521,13 @@ const BSLayout5 = () => {
}} }}
> >
{!OtherServicesglobal && ( {!OtherServicesglobal && (
<CategoryVertical <CategoryHorizontal
categoryFunction={dynamicComponentProps( categoryFunction={dynamicComponentProps(
'Category', 'Category',
BookingCategory?.[1], BookingCategory?.[1],
BookingCategory?.[0] BookingCategory?.[0]
)} )}
categoryType={'vertical'}
/> />
)} )}
{OtherServicesglobal && ( {OtherServicesglobal && (