@bookmypuja-tech/bmp-pdf 0.3.7 → 0.3.9
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 +9 -1
- package/dist/index.js +3 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -186,7 +186,10 @@ interface ISettlementsReport {
|
|
|
186
186
|
startDate: Date;
|
|
187
187
|
endDate: Date;
|
|
188
188
|
templeName: string;
|
|
189
|
-
|
|
189
|
+
data: {
|
|
190
|
+
settlements: ISettlementRow[];
|
|
191
|
+
totalCreditedAmount: string;
|
|
192
|
+
};
|
|
190
193
|
}
|
|
191
194
|
|
|
192
195
|
interface IInvoiceData {
|
|
@@ -216,6 +219,11 @@ interface IInvoiceData {
|
|
|
216
219
|
totalAmount: string;
|
|
217
220
|
subTotal: string;
|
|
218
221
|
paymentMethod: string;
|
|
222
|
+
prasads?: {
|
|
223
|
+
name: string;
|
|
224
|
+
start_time: string;
|
|
225
|
+
end_time: string;
|
|
226
|
+
};
|
|
219
227
|
}
|
|
220
228
|
interface IInvoiceProps {
|
|
221
229
|
data: IInvoiceData;
|
package/dist/index.js
CHANGED
|
@@ -2824,7 +2824,7 @@ var A4SettlementsReport = ({
|
|
|
2824
2824
|
startDate,
|
|
2825
2825
|
endDate,
|
|
2826
2826
|
templeName,
|
|
2827
|
-
|
|
2827
|
+
data
|
|
2828
2828
|
}) => {
|
|
2829
2829
|
return /* @__PURE__ */ React16.createElement(Document12, null, /* @__PURE__ */ React16.createElement(
|
|
2830
2830
|
Page12,
|
|
@@ -2850,6 +2850,7 @@ var A4SettlementsReport = ({
|
|
|
2850
2850
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", startDate.toDateString(), " - ", endDate.toDateString()),
|
|
2851
2851
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Settlements Report"),
|
|
2852
2852
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`),
|
|
2853
|
+
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 10, marginTop: 10 } }, "Total Credited Amount: ", data.totalCreditedAmount),
|
|
2853
2854
|
/* @__PURE__ */ React16.createElement(
|
|
2854
2855
|
View11,
|
|
2855
2856
|
{
|
|
@@ -2937,7 +2938,7 @@ var A4SettlementsReport = ({
|
|
|
2937
2938
|
/* @__PURE__ */ React16.createElement(Text_default, null, "Settlement ID")
|
|
2938
2939
|
)
|
|
2939
2940
|
),
|
|
2940
|
-
settlements?.map((item, index) => {
|
|
2941
|
+
data.settlements?.map((item, index) => {
|
|
2941
2942
|
return /* @__PURE__ */ React16.createElement(
|
|
2942
2943
|
View11,
|
|
2943
2944
|
{
|
package/package.json
CHANGED