diff --git a/src/Pages/ProductCatlogue/CatalogueTemplate1.jsx b/src/Pages/ProductCatlogue/CatalogueTemplate1.jsx index c61be89..f0b90d7 100644 --- a/src/Pages/ProductCatlogue/CatalogueTemplate1.jsx +++ b/src/Pages/ProductCatlogue/CatalogueTemplate1.jsx @@ -21,6 +21,8 @@ const CatalogueTemplate1 = () => { const BrId = getSession('BranchId'); const Globalcataloguedata1 = useSelector(GlobalCataloguedata); + console.log(Globalcataloguedata1, 'Globalcataloguedata1eqee'); + const [Branchdatas, setBranchdatas] = useState(); useEffect(() => { @@ -46,121 +48,7 @@ const CatalogueTemplate1 = () => { } return ( <> - {/*
-
-
- -
-
- {Branchdatas?.map((item) => ( - <> -
- -
-
-  - -
-
-
-
- -
{item.BrName}
- -
{item.BrMobile}
-
- {item.Address1 != null && item.Address1 + ','}{item.City != null && item.City + ','}{item.Dist != null && item.Dist + ','}{item.State != null && item.State}
-
- Pngwing com -
-
-
-
-
-
-
- -
- - - - - ))} -
- - - - - - - - - - - - - - - - - - - -
-
-
- -
-
- - {Globalcataloguedata1?.map((item) => ( - <> -
- -
- - -
- -
-
₹ {item?.SellPrice}
- {console.log("itemitem", item)} -
-

{item?.ProdName} {item?.UomName}

- -
- - ))} -
-
- Image - Group -
-
-
-
- -
-
- - - - - -
*/} - + {' '}
{/* */} @@ -169,14 +57,14 @@ const CatalogueTemplate1 = () => { style={{ width: '100%', display: 'flex', justifyContent: 'center' }} >
@@ -213,28 +101,7 @@ const CatalogueTemplate1 = () => {
))} -
- - {/*
-
-
- -

{Branchdatas?.[0]?.BrName}

-
- - -
- -
-
-
FREE HOME
-
DELEVERY
-
-
-
-
-
*/} - +
{' '} @@ -271,11 +138,11 @@ const CatalogueTemplate1 = () => {
{Globalcataloguedata1?.map((item) => ( @@ -285,10 +152,14 @@ const CatalogueTemplate1 = () => { display: 'flex', flexDirection: 'column', alignItems: 'center', - widht: '100px', - height: 'auto', + width: '100px', + height: '140px', backgroundColor: '#ececec', justifyContent: 'space-around', + pageBreakInside: 'avoid', + breakInside: 'avoid', + margin: '0.2rem', + borderRadius: '6px', }} >