@bookmypuja-tech/bmp-pdf 0.3.38 → 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 +4 -2
- package/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -275,7 +275,8 @@ interface PaymentSettlementData {
|
|
|
275
275
|
bankUtrNo: string;
|
|
276
276
|
}
|
|
277
277
|
interface PaymentSettlementProps {
|
|
278
|
-
|
|
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
|
-
|
|
297
|
+
startDate: Date;
|
|
298
|
+
endDate: Date;
|
|
297
299
|
templeName: string;
|
|
298
300
|
data: InvoiceLevelData[];
|
|
299
301
|
}
|
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
|
-
|
|
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: ",
|
|
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
|
-
|
|
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: ",
|
|
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