@bookmypuja-tech/bmp-pdf 0.2.7 → 0.2.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +3 -3
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1698,7 +1698,7 @@ var A4CombinedReport = ({
1698
1698
  prasadData,
1699
1699
  deliveryData
1700
1700
  }) => {
1701
- return /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(Document9, null, /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
1701
+ return /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(Document9, null, pujaData.length > 0 && /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
1702
1702
  Image11,
1703
1703
  {
1704
1704
  fixed: true,
@@ -1914,7 +1914,7 @@ var A4CombinedReport = ({
1914
1914
  ));
1915
1915
  })));
1916
1916
  })
1917
- )), /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
1917
+ )), prasadData.length > 0 && /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
1918
1918
  Image11,
1919
1919
  {
1920
1920
  fixed: true,
@@ -2068,7 +2068,7 @@ var A4CombinedReport = ({
2068
2068
  )
2069
2069
  );
2070
2070
  })
2071
- )), /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
2071
+ )), deliveryData.length > 0 && /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
2072
2072
  Image11,
2073
2073
  {
2074
2074
  fixed: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bookmypuja-tech/bmp-pdf",
3
3
  "description": "PDF Report Generation for Temple360 and T-360 by BookMyPuja",
4
- "version": "0.2.7",
4
+ "version": "0.2.8",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",