@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 +2 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
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
|
-
|
|
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: ",
|
|
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