@bookmypuja-tech/bmp-pdf 0.3.42 → 0.3.44
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.js +145 -17
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -712,7 +712,7 @@ var A4KitchenReport = ({
|
|
|
712
712
|
},
|
|
713
713
|
src: bmpLogo
|
|
714
714
|
}
|
|
715
|
-
), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Prasad (Kitchen) Report"), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React8.createElement(
|
|
715
|
+
), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Prasad (Kitchen) Report"), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data.length > 0 ? /* @__PURE__ */ React8.createElement(
|
|
716
716
|
View3,
|
|
717
717
|
{
|
|
718
718
|
style: {
|
|
@@ -813,6 +813,16 @@ var A4KitchenReport = ({
|
|
|
813
813
|
)
|
|
814
814
|
);
|
|
815
815
|
})
|
|
816
|
+
) : /* @__PURE__ */ React8.createElement(
|
|
817
|
+
Text_default,
|
|
818
|
+
{
|
|
819
|
+
style: {
|
|
820
|
+
fontSize: 18,
|
|
821
|
+
textAlign: "center",
|
|
822
|
+
marginTop: 100
|
|
823
|
+
}
|
|
824
|
+
},
|
|
825
|
+
"No data available for the selected date range"
|
|
816
826
|
))));
|
|
817
827
|
};
|
|
818
828
|
var A4KitchenReport_default = A4KitchenReport;
|
|
@@ -848,7 +858,7 @@ var A4TransactionReport = ({
|
|
|
848
858
|
},
|
|
849
859
|
src: bmpLogo
|
|
850
860
|
}
|
|
851
|
-
), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Transactions Report"), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 10, marginTop: 10 } }, "Total Bookings: ", totalAmount.toLocaleString("en-IN", {
|
|
861
|
+
), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Transactions Report"), /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data.length > 0 ? /* @__PURE__ */ React9.createElement(React9.Fragment, null, /* @__PURE__ */ React9.createElement(Text_default, { style: { fontSize: 10, marginTop: 10 } }, "Total Bookings: ", totalAmount.toLocaleString("en-IN", {
|
|
852
862
|
maximumFractionDigits: 2,
|
|
853
863
|
style: "currency",
|
|
854
864
|
currency: "INR"
|
|
@@ -1044,6 +1054,16 @@ var A4TransactionReport = ({
|
|
|
1044
1054
|
))
|
|
1045
1055
|
);
|
|
1046
1056
|
})
|
|
1057
|
+
)) : /* @__PURE__ */ React9.createElement(
|
|
1058
|
+
Text_default,
|
|
1059
|
+
{
|
|
1060
|
+
style: {
|
|
1061
|
+
fontSize: 18,
|
|
1062
|
+
textAlign: "center",
|
|
1063
|
+
marginTop: 100
|
|
1064
|
+
}
|
|
1065
|
+
},
|
|
1066
|
+
"No data available for the selected date range"
|
|
1047
1067
|
))));
|
|
1048
1068
|
};
|
|
1049
1069
|
var A4TransactionReport_default = A4TransactionReport;
|
|
@@ -1081,7 +1101,7 @@ var A4PrasadDelivery = ({
|
|
|
1081
1101
|
},
|
|
1082
1102
|
src: bmpLogo
|
|
1083
1103
|
}
|
|
1084
|
-
), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery Address"), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React10.createElement(
|
|
1104
|
+
), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery Address"), /* @__PURE__ */ React10.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data.length > 0 ? /* @__PURE__ */ React10.createElement(
|
|
1085
1105
|
View5,
|
|
1086
1106
|
{
|
|
1087
1107
|
style: {
|
|
@@ -1254,6 +1274,16 @@ var A4PrasadDelivery = ({
|
|
|
1254
1274
|
)
|
|
1255
1275
|
);
|
|
1256
1276
|
})
|
|
1277
|
+
) : /* @__PURE__ */ React10.createElement(
|
|
1278
|
+
Text_default,
|
|
1279
|
+
{
|
|
1280
|
+
style: {
|
|
1281
|
+
fontSize: 18,
|
|
1282
|
+
textAlign: "center",
|
|
1283
|
+
marginTop: 100
|
|
1284
|
+
}
|
|
1285
|
+
},
|
|
1286
|
+
"No data available for the selected date range"
|
|
1257
1287
|
)));
|
|
1258
1288
|
};
|
|
1259
1289
|
var A4PrasadDelivery_default = A4PrasadDelivery;
|
|
@@ -1281,7 +1311,7 @@ var A4PrasadReport = ({
|
|
|
1281
1311
|
},
|
|
1282
1312
|
src: bmpLogo
|
|
1283
1313
|
}
|
|
1284
|
-
), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React11.createElement(
|
|
1314
|
+
), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data.length > 0 ? /* @__PURE__ */ React11.createElement(
|
|
1285
1315
|
View6,
|
|
1286
1316
|
{
|
|
1287
1317
|
style: {
|
|
@@ -1448,6 +1478,16 @@ var A4PrasadReport = ({
|
|
|
1448
1478
|
)
|
|
1449
1479
|
);
|
|
1450
1480
|
})
|
|
1481
|
+
) : /* @__PURE__ */ React11.createElement(
|
|
1482
|
+
Text_default,
|
|
1483
|
+
{
|
|
1484
|
+
style: {
|
|
1485
|
+
fontSize: 18,
|
|
1486
|
+
textAlign: "center",
|
|
1487
|
+
marginTop: 100
|
|
1488
|
+
}
|
|
1489
|
+
},
|
|
1490
|
+
"No data available for the selected date range"
|
|
1451
1491
|
)));
|
|
1452
1492
|
};
|
|
1453
1493
|
var A4PrasadReport_default = A4PrasadReport;
|
|
@@ -1466,6 +1506,20 @@ var A4PujaList = ({
|
|
|
1466
1506
|
let pujasRequiresCoupon = pujas.some(
|
|
1467
1507
|
(puja) => puja.bookings.some((booking) => booking.requires_coupon)
|
|
1468
1508
|
);
|
|
1509
|
+
if (!pujas || pujas.length === 0) {
|
|
1510
|
+
return /* @__PURE__ */ React12.createElement(Document8, null, /* @__PURE__ */ React12.createElement(Page8, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React12.createElement(
|
|
1511
|
+
Image9,
|
|
1512
|
+
{
|
|
1513
|
+
fixed: true,
|
|
1514
|
+
style: {
|
|
1515
|
+
height: 15,
|
|
1516
|
+
width: 75,
|
|
1517
|
+
marginBottom: 10
|
|
1518
|
+
},
|
|
1519
|
+
src: bmpLogo
|
|
1520
|
+
}
|
|
1521
|
+
), /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold", marginTop: 10 } }, "Puja List"), /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 12, marginTop: 100, textAlign: "center" } }, "No data available for the selected date range")));
|
|
1522
|
+
}
|
|
1469
1523
|
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(Document8, null, /* @__PURE__ */ React12.createElement(Page8, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React12.createElement(
|
|
1470
1524
|
Image9,
|
|
1471
1525
|
{
|
|
@@ -1967,7 +2021,7 @@ var A4Summary = ({
|
|
|
1967
2021
|
reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null,
|
|
1968
2022
|
/* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Puja Summary"),
|
|
1969
2023
|
/* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`),
|
|
1970
|
-
/* @__PURE__ */ React13.createElement(
|
|
2024
|
+
pujas.length > 0 ? /* @__PURE__ */ React13.createElement(
|
|
1971
2025
|
View8,
|
|
1972
2026
|
{
|
|
1973
2027
|
style: {
|
|
@@ -2086,6 +2140,16 @@ var A4Summary = ({
|
|
|
2086
2140
|
));
|
|
2087
2141
|
})));
|
|
2088
2142
|
})
|
|
2143
|
+
) : /* @__PURE__ */ React13.createElement(
|
|
2144
|
+
Text_default,
|
|
2145
|
+
{
|
|
2146
|
+
style: {
|
|
2147
|
+
fontSize: 18,
|
|
2148
|
+
textAlign: "center",
|
|
2149
|
+
marginTop: 100
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"No data available for the selected date range"
|
|
2089
2153
|
)
|
|
2090
2154
|
));
|
|
2091
2155
|
};
|
|
@@ -2124,6 +2188,20 @@ var A4CombinedReport = ({
|
|
|
2124
2188
|
const pujasRequiresCoupon = pujaData.some(
|
|
2125
2189
|
(puja) => puja.bookings.some((booking) => booking.requires_coupon)
|
|
2126
2190
|
);
|
|
2191
|
+
if (pujaData.length == 0 && prasadData.length == 0 && deliveryData.length == 0) {
|
|
2192
|
+
return /* @__PURE__ */ React14.createElement(Document10, null, /* @__PURE__ */ React14.createElement(Page10, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React14.createElement(
|
|
2193
|
+
Image11,
|
|
2194
|
+
{
|
|
2195
|
+
fixed: true,
|
|
2196
|
+
style: {
|
|
2197
|
+
height: 15,
|
|
2198
|
+
width: 75,
|
|
2199
|
+
marginBottom: 10
|
|
2200
|
+
},
|
|
2201
|
+
src: bmpLogo
|
|
2202
|
+
}
|
|
2203
|
+
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Combined Report"), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 12, marginTop: 100, textAlign: "center" } }, "No data available for the selected date range")));
|
|
2204
|
+
}
|
|
2127
2205
|
return /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement(Document10, null, pujaData.length > 0 && /* @__PURE__ */ React14.createElement(Page10, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React14.createElement(
|
|
2128
2206
|
Image11,
|
|
2129
2207
|
{
|
|
@@ -2975,7 +3053,7 @@ var A4SettlementsReport = ({
|
|
|
2975
3053
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Settlements Report"),
|
|
2976
3054
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`),
|
|
2977
3055
|
/* @__PURE__ */ React16.createElement(Text_default, { style: { fontSize: 10, marginTop: 10 } }, "Total Credited Amount: ", data.totalCreditedAmount),
|
|
2978
|
-
/* @__PURE__ */ React16.createElement(
|
|
3056
|
+
data.settlements.length > 0 ? /* @__PURE__ */ React16.createElement(
|
|
2979
3057
|
View11,
|
|
2980
3058
|
{
|
|
2981
3059
|
style: {
|
|
@@ -3154,6 +3232,16 @@ var A4SettlementsReport = ({
|
|
|
3154
3232
|
)
|
|
3155
3233
|
);
|
|
3156
3234
|
})
|
|
3235
|
+
) : /* @__PURE__ */ React16.createElement(
|
|
3236
|
+
Text_default,
|
|
3237
|
+
{
|
|
3238
|
+
style: {
|
|
3239
|
+
fontSize: 18,
|
|
3240
|
+
textAlign: "center",
|
|
3241
|
+
marginTop: 100
|
|
3242
|
+
}
|
|
3243
|
+
},
|
|
3244
|
+
"No data available for the selected date range"
|
|
3157
3245
|
)
|
|
3158
3246
|
));
|
|
3159
3247
|
};
|
|
@@ -3803,7 +3891,7 @@ var A4PostalReport = ({ date, templeName, data }) => {
|
|
|
3803
3891
|
},
|
|
3804
3892
|
src: bmpLogo
|
|
3805
3893
|
}
|
|
3806
|
-
), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery Postal Report"), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React18.createElement(
|
|
3894
|
+
), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery Postal Report"), /* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data && data.length > 0 ? /* @__PURE__ */ React18.createElement(
|
|
3807
3895
|
View13,
|
|
3808
3896
|
{
|
|
3809
3897
|
style: {
|
|
@@ -3815,7 +3903,7 @@ var A4PostalReport = ({ date, templeName, data }) => {
|
|
|
3815
3903
|
flexWrap: "wrap"
|
|
3816
3904
|
}
|
|
3817
3905
|
},
|
|
3818
|
-
data
|
|
3906
|
+
data.map((item) => {
|
|
3819
3907
|
return /* @__PURE__ */ React18.createElement(
|
|
3820
3908
|
View13,
|
|
3821
3909
|
{
|
|
@@ -3855,6 +3943,16 @@ var A4PostalReport = ({ date, templeName, data }) => {
|
|
|
3855
3943
|
/* @__PURE__ */ React18.createElement(Text_default, { style: { fontSize: 9, marginTop: 3 } }, "Note: ", item.pujaDetails)
|
|
3856
3944
|
);
|
|
3857
3945
|
})
|
|
3946
|
+
) : /* @__PURE__ */ React18.createElement(
|
|
3947
|
+
Text_default,
|
|
3948
|
+
{
|
|
3949
|
+
style: {
|
|
3950
|
+
fontSize: 18,
|
|
3951
|
+
textAlign: "center",
|
|
3952
|
+
marginTop: 100
|
|
3953
|
+
}
|
|
3954
|
+
},
|
|
3955
|
+
"No data available for the selected date range"
|
|
3858
3956
|
)));
|
|
3859
3957
|
};
|
|
3860
3958
|
var A4PostalReport_default = A4PostalReport;
|
|
@@ -3900,7 +3998,7 @@ var A4PaymentSettlementReport = ({
|
|
|
3900
3998
|
},
|
|
3901
3999
|
src: bmpLogo
|
|
3902
4000
|
}
|
|
3903
|
-
), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", 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(
|
|
4001
|
+
), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", 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}`), data.length > 0 ? /* @__PURE__ */ React20.createElement(
|
|
3904
4002
|
View15,
|
|
3905
4003
|
{
|
|
3906
4004
|
style: {
|
|
@@ -4069,6 +4167,16 @@ var A4PaymentSettlementReport = ({
|
|
|
4069
4167
|
)
|
|
4070
4168
|
);
|
|
4071
4169
|
})
|
|
4170
|
+
) : /* @__PURE__ */ React20.createElement(
|
|
4171
|
+
Text_default,
|
|
4172
|
+
{
|
|
4173
|
+
style: {
|
|
4174
|
+
fontSize: 18,
|
|
4175
|
+
textAlign: "center",
|
|
4176
|
+
marginTop: 100
|
|
4177
|
+
}
|
|
4178
|
+
},
|
|
4179
|
+
"No data available for the selected date range"
|
|
4072
4180
|
))));
|
|
4073
4181
|
};
|
|
4074
4182
|
var A4PaymentSettlementReport_default = A4PaymentSettlementReport;
|
|
@@ -4093,7 +4201,7 @@ var A4InvoiceLevelBreakup = ({
|
|
|
4093
4201
|
},
|
|
4094
4202
|
src: bmpLogo
|
|
4095
4203
|
}
|
|
4096
|
-
), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", 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(
|
|
4204
|
+
), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", 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}`), data.length > 0 ? /* @__PURE__ */ React21.createElement(
|
|
4097
4205
|
View16,
|
|
4098
4206
|
{
|
|
4099
4207
|
style: {
|
|
@@ -4363,6 +4471,16 @@ var A4InvoiceLevelBreakup = ({
|
|
|
4363
4471
|
/* @__PURE__ */ React21.createElement(View16, { style: { padding: 3, width: "12%" } }, /* @__PURE__ */ React21.createElement(BrokenText_default, null, item.utrNumber))
|
|
4364
4472
|
);
|
|
4365
4473
|
})
|
|
4474
|
+
) : /* @__PURE__ */ React21.createElement(
|
|
4475
|
+
Text_default,
|
|
4476
|
+
{
|
|
4477
|
+
style: {
|
|
4478
|
+
fontSize: 18,
|
|
4479
|
+
textAlign: "center",
|
|
4480
|
+
marginTop: 100
|
|
4481
|
+
}
|
|
4482
|
+
},
|
|
4483
|
+
"No data available for the selected date range"
|
|
4366
4484
|
))));
|
|
4367
4485
|
};
|
|
4368
4486
|
var A4InvoiceLevelBreakup_default = A4InvoiceLevelBreakup;
|
|
@@ -4387,7 +4505,7 @@ var A4PujaCountReport = ({
|
|
|
4387
4505
|
},
|
|
4388
4506
|
src: bmpLogo
|
|
4389
4507
|
}
|
|
4390
|
-
), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", startDate.toDateString(), " - ", endDate.toDateString()), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Total Puja Count Report"), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React22.createElement(
|
|
4508
|
+
), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Dates: ", startDate.toDateString(), " - ", endDate.toDateString()), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Total Puja Count Report"), /* @__PURE__ */ React22.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), data.length > 0 ? /* @__PURE__ */ React22.createElement(
|
|
4391
4509
|
View17,
|
|
4392
4510
|
{
|
|
4393
4511
|
style: {
|
|
@@ -4424,7 +4542,7 @@ var A4PujaCountReport = ({
|
|
|
4424
4542
|
style: {
|
|
4425
4543
|
padding: 6,
|
|
4426
4544
|
borderRight: "1px solid #000",
|
|
4427
|
-
width: "
|
|
4545
|
+
width: "40%"
|
|
4428
4546
|
}
|
|
4429
4547
|
},
|
|
4430
4548
|
/* @__PURE__ */ React22.createElement(Text_default, null, "Puja Name")
|
|
@@ -4435,7 +4553,7 @@ var A4PujaCountReport = ({
|
|
|
4435
4553
|
style: {
|
|
4436
4554
|
padding: 6,
|
|
4437
4555
|
borderRight: "1px solid #000",
|
|
4438
|
-
width: "
|
|
4556
|
+
width: "15%"
|
|
4439
4557
|
}
|
|
4440
4558
|
},
|
|
4441
4559
|
/* @__PURE__ */ React22.createElement(Text_default, null, "Total Count")
|
|
@@ -4446,7 +4564,7 @@ var A4PujaCountReport = ({
|
|
|
4446
4564
|
style: {
|
|
4447
4565
|
padding: 6,
|
|
4448
4566
|
borderRight: "none",
|
|
4449
|
-
width: "
|
|
4567
|
+
width: "35%"
|
|
4450
4568
|
}
|
|
4451
4569
|
},
|
|
4452
4570
|
/* @__PURE__ */ React22.createElement(Text_default, null, "Remarks")
|
|
@@ -4481,7 +4599,7 @@ var A4PujaCountReport = ({
|
|
|
4481
4599
|
style: {
|
|
4482
4600
|
padding: 6,
|
|
4483
4601
|
borderRight: "1px solid #000",
|
|
4484
|
-
width: "
|
|
4602
|
+
width: "40%"
|
|
4485
4603
|
}
|
|
4486
4604
|
},
|
|
4487
4605
|
/* @__PURE__ */ React22.createElement(Text_default, null, item.name)
|
|
@@ -4492,7 +4610,7 @@ var A4PujaCountReport = ({
|
|
|
4492
4610
|
style: {
|
|
4493
4611
|
padding: 6,
|
|
4494
4612
|
borderRight: "1px solid #000",
|
|
4495
|
-
width: "
|
|
4613
|
+
width: "15%"
|
|
4496
4614
|
}
|
|
4497
4615
|
},
|
|
4498
4616
|
/* @__PURE__ */ React22.createElement(Text_default, null, item.quantity)
|
|
@@ -4503,12 +4621,22 @@ var A4PujaCountReport = ({
|
|
|
4503
4621
|
style: {
|
|
4504
4622
|
padding: 6,
|
|
4505
4623
|
borderRight: "none",
|
|
4506
|
-
width: "
|
|
4624
|
+
width: "35%"
|
|
4507
4625
|
}
|
|
4508
4626
|
}
|
|
4509
4627
|
)
|
|
4510
4628
|
);
|
|
4511
4629
|
})
|
|
4630
|
+
) : /* @__PURE__ */ React22.createElement(
|
|
4631
|
+
Text_default,
|
|
4632
|
+
{
|
|
4633
|
+
style: {
|
|
4634
|
+
fontSize: 18,
|
|
4635
|
+
textAlign: "center",
|
|
4636
|
+
marginTop: 100
|
|
4637
|
+
}
|
|
4638
|
+
},
|
|
4639
|
+
"No data available for the selected date range"
|
|
4512
4640
|
))));
|
|
4513
4641
|
};
|
|
4514
4642
|
var A4PujaCountReport_default = A4PujaCountReport;
|
package/package.json
CHANGED