@bookmypuja-tech/bmp-pdf 0.2.14 → 0.2.15

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 +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1471,7 +1471,7 @@ var A4PujaList = ({
1471
1471
  }
1472
1472
  },
1473
1473
  pujas.map((puja, pujaIndex) => {
1474
- if (puja.bookings.some((booking) => booking.is_early_reminder))
1474
+ if (puja.bookings.every((booking) => booking.is_early_reminder))
1475
1475
  return null;
1476
1476
  serialOfNormalPujas = 0;
1477
1477
  return /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(View7, { wrap: false, style: { marginBottom: 25 } }, /* @__PURE__ */ React11.createElement(View7, null, /* @__PURE__ */ React11.createElement(
@@ -1564,6 +1564,7 @@ var A4PujaList = ({
1564
1564
  /* @__PURE__ */ React11.createElement(Text11, null, "Qty")
1565
1565
  )
1566
1566
  ), puja.bookings.map((booking, bookingIndex) => {
1567
+ if (booking.is_early_reminder) return null;
1567
1568
  serialOfNormalPujas++;
1568
1569
  return /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(
1569
1570
  View7,
@@ -1844,7 +1845,7 @@ var A4Summary = ({
1844
1845
  var A4Summary_default = A4Summary;
1845
1846
 
1846
1847
  // src/index.tsx
1847
- import { Font as Font3 } from "@react-pdf/renderer";
1848
+ import { Font as Font4 } from "@react-pdf/renderer";
1848
1849
 
1849
1850
  // src/sizes/a4/A4CombinedReport.tsx
1850
1851
  import { Document as Document9, Image as Image11, Page as Page9, Text as Text13, View as View9 } from "@react-pdf/renderer";
@@ -2640,17 +2641,17 @@ var reportPrinter = class {
2640
2641
  constructor(option, size) {
2641
2642
  this.option = option;
2642
2643
  this.size = size;
2643
- Font3.register({
2644
+ Font4.register({
2644
2645
  family: "Noto Sans",
2645
2646
  fontWeight: "normal",
2646
2647
  src: notoSansRegular
2647
2648
  });
2648
- Font3.register({
2649
+ Font4.register({
2649
2650
  family: "Noto Sans",
2650
2651
  fontWeight: "bold",
2651
2652
  src: notoSansBold
2652
2653
  });
2653
- Font3.register({
2654
+ Font4.register({
2654
2655
  family: "Noto Sans",
2655
2656
  fontWeight: "semibold",
2656
2657
  src: notoSansSemiBold
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.14",
4
+ "version": "0.2.15",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",