@bookmypuja-tech/bmp-pdf 0.3.13 → 0.3.14
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 +18 -2
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,6 +34,7 @@ var notoSansRegular = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v17434209
|
|
|
34
34
|
var notoSansBold = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1743431605/NotoSans-Bold_kagtvd.ttf";
|
|
35
35
|
var notoSansSemiBold = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1743431765/NotoSans-SemiBold_o96oas.ttf";
|
|
36
36
|
var bmpLogo2 = "https://res.cloudinary.com/dpaigt2bx/image/upload/v1752653165/BookMyPuja_1_1_bd1xa0.png";
|
|
37
|
+
var paidIcon = "https://res.cloudinary.com/dpaigt2bx/image/upload/v1752654066/paid-5025785_1280_ugmi2p.png";
|
|
37
38
|
|
|
38
39
|
// src/sizes/A4Print.tsx
|
|
39
40
|
Font.register({
|
|
@@ -3072,7 +3073,6 @@ var A4Invoice = ({ data }) => {
|
|
|
3072
3073
|
/* @__PURE__ */ React17.createElement(
|
|
3073
3074
|
Image14,
|
|
3074
3075
|
{
|
|
3075
|
-
fixed: true,
|
|
3076
3076
|
style: {
|
|
3077
3077
|
height: 20,
|
|
3078
3078
|
width: 85,
|
|
@@ -3090,9 +3090,25 @@ var A4Invoice = ({ data }) => {
|
|
|
3090
3090
|
display: "flex",
|
|
3091
3091
|
flexDirection: "column",
|
|
3092
3092
|
alignItems: "center",
|
|
3093
|
-
marginTop: 20
|
|
3093
|
+
marginTop: 20,
|
|
3094
|
+
position: "relative"
|
|
3094
3095
|
}
|
|
3095
3096
|
},
|
|
3097
|
+
data.status === "confirmed" ? /* @__PURE__ */ React17.createElement(
|
|
3098
|
+
Image14,
|
|
3099
|
+
{
|
|
3100
|
+
style: {
|
|
3101
|
+
height: 75,
|
|
3102
|
+
width: 75,
|
|
3103
|
+
marginBottom: 5,
|
|
3104
|
+
objectFit: "contain",
|
|
3105
|
+
position: "absolute",
|
|
3106
|
+
right: "0",
|
|
3107
|
+
bottom: "0"
|
|
3108
|
+
},
|
|
3109
|
+
src: paidIcon
|
|
3110
|
+
}
|
|
3111
|
+
) : null,
|
|
3096
3112
|
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 12, marginTop: 5, fontWeight: "semibold" } }, "INVOICE #", data.invoiceNumber),
|
|
3097
3113
|
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 10, marginTop: 2 } }, "Status: ", data.status == "confirmed" ? "PAID" : "PENDING")
|
|
3098
3114
|
), /* @__PURE__ */ React17.createElement(
|
package/package.json
CHANGED