@bookmypuja-tech/bmp-pdf 0.2.24 → 0.2.25

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.
package/dist/index.d.ts CHANGED
@@ -165,7 +165,8 @@ interface ITempleData {
165
165
  bookings: number;
166
166
  }
167
167
  interface IMultiTemplePaymentReport {
168
- date: Date;
168
+ startDate: Date;
169
+ endDate: Date;
169
170
  data: ITempleData[];
170
171
  }
171
172
 
package/dist/index.js CHANGED
@@ -2574,7 +2574,8 @@ var A4CombinedReport_default = A4CombinedReport;
2574
2574
  import { Document as Document10, Image as Image12, Page as Page10, Text as Text14, View as View10 } from "@react-pdf/renderer";
2575
2575
  import React14 from "react";
2576
2576
  var A4MultiTemplePaymentReport = ({
2577
- date,
2577
+ startDate,
2578
+ endDate,
2578
2579
  data
2579
2580
  }) => {
2580
2581
  return /* @__PURE__ */ React14.createElement(Document10, null, /* @__PURE__ */ React14.createElement(Page10, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React14.createElement(
@@ -2588,7 +2589,7 @@ var A4MultiTemplePaymentReport = ({
2588
2589
  },
2589
2590
  src: bmpLogo
2590
2591
  }
2591
- ), /* @__PURE__ */ React14.createElement(Text14, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React14.createElement(Text14, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Payment Report"), /* @__PURE__ */ React14.createElement(
2592
+ ), /* @__PURE__ */ React14.createElement(Text14, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", startDate.toDateString(), " - ", endDate.toDateString()), /* @__PURE__ */ React14.createElement(Text14, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Payment Report"), /* @__PURE__ */ React14.createElement(
2592
2593
  View10,
2593
2594
  {
2594
2595
  style: {
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.24",
4
+ "version": "0.2.25",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",