@bookmypuja-tech/bmp-pdf 0.3.39 → 0.3.40
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 +73 -3
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3668,7 +3668,77 @@ var A4Invoice = ({ data }) => {
|
|
|
3668
3668
|
)
|
|
3669
3669
|
)
|
|
3670
3670
|
)
|
|
3671
|
-
), data.
|
|
3671
|
+
), data.prasads && (data.prasads.morning.length > 0 || data.prasads.afternoon.length > 0 || data.prasads.evening.length > 0) ? /* @__PURE__ */ React17.createElement(
|
|
3672
|
+
View12,
|
|
3673
|
+
{
|
|
3674
|
+
style: {
|
|
3675
|
+
display: "flex",
|
|
3676
|
+
flexDirection: "column",
|
|
3677
|
+
marginBottom: 30
|
|
3678
|
+
}
|
|
3679
|
+
},
|
|
3680
|
+
/* @__PURE__ */ React17.createElement(
|
|
3681
|
+
View12,
|
|
3682
|
+
{
|
|
3683
|
+
style: {
|
|
3684
|
+
backgroundColor: "#FF266F",
|
|
3685
|
+
padding: 5
|
|
3686
|
+
}
|
|
3687
|
+
},
|
|
3688
|
+
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 10, fontWeight: "bold", color: "white" } }, "Prasadsam Details")
|
|
3689
|
+
),
|
|
3690
|
+
data.prasads.morning.length > 0 ? /* @__PURE__ */ React17.createElement(
|
|
3691
|
+
View12,
|
|
3692
|
+
{
|
|
3693
|
+
wrap: false,
|
|
3694
|
+
style: {
|
|
3695
|
+
display: "flex",
|
|
3696
|
+
flexDirection: "column",
|
|
3697
|
+
paddingHorizontal: 10,
|
|
3698
|
+
paddingVertical: 5,
|
|
3699
|
+
borderBottom: "1px solid #757575",
|
|
3700
|
+
borderRight: "1px solid #757575",
|
|
3701
|
+
borderLeft: "1px solid #757575"
|
|
3702
|
+
}
|
|
3703
|
+
},
|
|
3704
|
+
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 9, fontWeight: "bold" } }, "Morning:"),
|
|
3705
|
+
data.prasads.morning.map((prasad, index) => /* @__PURE__ */ React17.createElement(Text_default, { key: index, style: { fontSize: 10 } }, index + 1, ". ", prasad.name, " (", prasad.timings, ")"))
|
|
3706
|
+
) : null,
|
|
3707
|
+
data.prasads.afternoon.length > 0 ? /* @__PURE__ */ React17.createElement(
|
|
3708
|
+
View12,
|
|
3709
|
+
{
|
|
3710
|
+
wrap: false,
|
|
3711
|
+
style: {
|
|
3712
|
+
display: "flex",
|
|
3713
|
+
flexDirection: "column",
|
|
3714
|
+
paddingHorizontal: 10,
|
|
3715
|
+
paddingVertical: 5,
|
|
3716
|
+
borderBottom: "1px solid #757575",
|
|
3717
|
+
borderRight: "1px solid #757575",
|
|
3718
|
+
borderLeft: "1px solid #757575"
|
|
3719
|
+
}
|
|
3720
|
+
},
|
|
3721
|
+
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 9, fontWeight: "bold" } }, "Afternoon:"),
|
|
3722
|
+
data.prasads.afternoon.map((prasad, index) => /* @__PURE__ */ React17.createElement(Text_default, { key: index, style: { fontSize: 10 } }, index + 1, ". ", prasad.name, " (", prasad.timings, ")"))
|
|
3723
|
+
) : null,
|
|
3724
|
+
data.prasads.evening.length > 0 ? /* @__PURE__ */ React17.createElement(
|
|
3725
|
+
View12,
|
|
3726
|
+
{
|
|
3727
|
+
wrap: false,
|
|
3728
|
+
style: {
|
|
3729
|
+
display: "flex",
|
|
3730
|
+
flexDirection: "column",
|
|
3731
|
+
paddingHorizontal: 10,
|
|
3732
|
+
paddingVertical: 5,
|
|
3733
|
+
borderBottom: "1px solid #757575",
|
|
3734
|
+
borderRight: "1px solid #757575",
|
|
3735
|
+
borderLeft: "1px solid #757575"
|
|
3736
|
+
}
|
|
3737
|
+
},
|
|
3738
|
+
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 9, fontWeight: "bold" } }, "Evening:"),
|
|
3739
|
+
data.prasads.evening.map((prasad, index) => /* @__PURE__ */ React17.createElement(Text_default, { key: index, style: { fontSize: 10 } }, index + 1, ". ", prasad.name, " (", prasad.timings, ")"))
|
|
3740
|
+
) : null
|
|
3741
|
+
) : null, data.instructions.length > 0 ? /* @__PURE__ */ React17.createElement(
|
|
3672
3742
|
View12,
|
|
3673
3743
|
{
|
|
3674
3744
|
style: {
|
|
@@ -3830,7 +3900,7 @@ var A4PaymentSettlementReport = ({
|
|
|
3830
3900
|
},
|
|
3831
3901
|
src: bmpLogo
|
|
3832
3902
|
}
|
|
3833
|
-
), /* @__PURE__ */ React20.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "
|
|
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(
|
|
3834
3904
|
View15,
|
|
3835
3905
|
{
|
|
3836
3906
|
style: {
|
|
@@ -4023,7 +4093,7 @@ var A4InvoiceLevelBreakup = ({
|
|
|
4023
4093
|
},
|
|
4024
4094
|
src: bmpLogo
|
|
4025
4095
|
}
|
|
4026
|
-
), /* @__PURE__ */ React21.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "
|
|
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(
|
|
4027
4097
|
View16,
|
|
4028
4098
|
{
|
|
4029
4099
|
style: {
|
package/package.json
CHANGED