@bookmypuja-tech/bmp-pdf 0.3.37 → 0.3.39

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
@@ -275,7 +275,8 @@ interface PaymentSettlementData {
275
275
  bankUtrNo: string;
276
276
  }
277
277
  interface PaymentSettlementProps {
278
- date: Date;
278
+ startDate: Date;
279
+ endDate: Date;
279
280
  templeName: string;
280
281
  data: PaymentSettlementData[];
281
282
  }
@@ -293,7 +294,8 @@ interface InvoiceLevelData {
293
294
  utrNumber: string;
294
295
  }
295
296
  interface InvoiceLevelReportProps {
296
- date: Date;
297
+ startDate: Date;
298
+ endDate: Date;
297
299
  templeName: string;
298
300
  data: InvoiceLevelData[];
299
301
  }
@@ -334,4 +336,4 @@ declare class reportPrinter<T extends IReportOptions> {
334
336
  getBlob(data: ReportDataTypes[T]): Promise<Blob>;
335
337
  }
336
338
 
337
- export { A4Print, type IInvoiceData, type IInvoiceProps, type KitchenReportProps as IKitchenReport, type IMultiTemplePaymentReport, type IPostalReportProps, type IPrasadDelivery, type IPrasadReport, type IPrintablePuja, type IPujaReceipt, type IPujaList as IPujaReport, type ISettlementRow, type ISettlementsReport, type ISummaryPujaList as ISummaryPujaReport, type ITransactionReport, type InvoiceLevelReportProps, type PaymentSettlementProps, T2Inch, getA4SummaryBlob, getPrintBlob, printDevoteeReceipt2Inch, printQuickPrintReceipt2Inch, printTotalReceipt2Inch, printePujaReport2Inch, reportPrinter };
339
+ export { A4Print, type IInvoiceData, type IInvoiceProps, type KitchenReportProps as IKitchenReport, type IMultiTemplePaymentReport, type IPostalReportProps, type IPrasadDelivery, type IPrasadReport, type IPrintablePuja, type IPujaReceipt, type IPujaList as IPujaReport, type ISettlementRow, type ISettlementsReport, type ISummaryPujaList as ISummaryPujaReport, type ITransactionReport, type InvoiceLevelData, type InvoiceLevelReportProps, type PaymentSettlementData, type PaymentSettlementProps, T2Inch, getA4SummaryBlob, getPrintBlob, printDevoteeReceipt2Inch, printQuickPrintReceipt2Inch, printTotalReceipt2Inch, printePujaReport2Inch, reportPrinter };
package/dist/index.js CHANGED
@@ -3814,7 +3814,8 @@ var BrokenText_default = BrokenText;
3814
3814
 
3815
3815
  // src/sizes/a4/A4PaymentSettlementReport.tsx
3816
3816
  var A4PaymentSettlementReport = ({
3817
- date,
3817
+ startDate,
3818
+ endDate,
3818
3819
  templeName,
3819
3820
  data
3820
3821
  }) => {
@@ -3829,7 +3830,7 @@ var A4PaymentSettlementReport = ({
3829
3830
  },
3830
3831
  src: bmpLogo
3831
3832
  }
3832
- ), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Payment Settlement Report"), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React20.createElement(
3833
+ ), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", startDate.toDateString(), " - ", endDate.toDateString()), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Payment Settlement Report"), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React20.createElement(
3833
3834
  View15,
3834
3835
  {
3835
3836
  style: {
@@ -4006,7 +4007,8 @@ var A4PaymentSettlementReport_default = A4PaymentSettlementReport;
4006
4007
  import { Document as Document16, Image as Image17, Page as Page16, View as View16 } from "@react-pdf/renderer";
4007
4008
  import React21 from "react";
4008
4009
  var A4InvoiceLevelBreakup = ({
4009
- date,
4010
+ startDate,
4011
+ endDate,
4010
4012
  templeName,
4011
4013
  data
4012
4014
  }) => {
@@ -4021,7 +4023,7 @@ var A4InvoiceLevelBreakup = ({
4021
4023
  },
4022
4024
  src: bmpLogo
4023
4025
  }
4024
- ), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Invoice Level Breakup"), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React21.createElement(
4026
+ ), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", startDate.toDateString(), " - ", endDate.toDateString()), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Invoice Level Breakup"), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React21.createElement(
4025
4027
  View16,
4026
4028
  {
4027
4029
  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.3.37",
4
+ "version": "0.3.39",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",