@bookmypuja-tech/bmp-pdf 0.3.18 → 0.3.20
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 +21 -10
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -34,7 +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/
|
|
37
|
+
var paidIcon = "https://res.cloudinary.com/dpaigt2bx/image/upload/v1752669810/paid-5025785_1280_afg4ob_gcacmg.png";
|
|
38
38
|
|
|
39
39
|
// src/sizes/A4Print.tsx
|
|
40
40
|
Font.register({
|
|
@@ -3066,17 +3066,18 @@ var A4Invoice = ({ data }) => {
|
|
|
3066
3066
|
display: "flex",
|
|
3067
3067
|
flexDirection: "row",
|
|
3068
3068
|
gap: 5,
|
|
3069
|
-
marginTop: 10
|
|
3069
|
+
marginTop: 10,
|
|
3070
|
+
alignItems: "center"
|
|
3070
3071
|
}
|
|
3071
3072
|
},
|
|
3072
|
-
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 10 } }, "Powered by"),
|
|
3073
|
+
/* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 10, marginTop: -5 } }, "Powered by"),
|
|
3073
3074
|
/* @__PURE__ */ React17.createElement(
|
|
3074
3075
|
Image14,
|
|
3075
3076
|
{
|
|
3076
3077
|
style: {
|
|
3077
|
-
height:
|
|
3078
|
-
width:
|
|
3079
|
-
marginBottom: 5,
|
|
3078
|
+
height: 25,
|
|
3079
|
+
width: 95,
|
|
3080
|
+
// marginBottom: 5,
|
|
3080
3081
|
objectFit: "contain"
|
|
3081
3082
|
},
|
|
3082
3083
|
src: bmpLogo2
|
|
@@ -3098,8 +3099,8 @@ var A4Invoice = ({ data }) => {
|
|
|
3098
3099
|
Image14,
|
|
3099
3100
|
{
|
|
3100
3101
|
style: {
|
|
3101
|
-
height:
|
|
3102
|
-
width:
|
|
3102
|
+
height: 85,
|
|
3103
|
+
width: 85,
|
|
3103
3104
|
marginBottom: 5,
|
|
3104
3105
|
objectFit: "contain",
|
|
3105
3106
|
position: "absolute",
|
|
@@ -3230,6 +3231,16 @@ var A4Invoice = ({ data }) => {
|
|
|
3230
3231
|
},
|
|
3231
3232
|
item.devoteesName
|
|
3232
3233
|
) : null,
|
|
3234
|
+
item.pujaDate ? /* @__PURE__ */ React17.createElement(
|
|
3235
|
+
Text_default,
|
|
3236
|
+
{
|
|
3237
|
+
style: {
|
|
3238
|
+
fontSize: 9,
|
|
3239
|
+
color: "#333333"
|
|
3240
|
+
}
|
|
3241
|
+
},
|
|
3242
|
+
item.pujaDate
|
|
3243
|
+
) : null,
|
|
3233
3244
|
item.repeatEndDate && item.repeatStartDate ? /* @__PURE__ */ React17.createElement(
|
|
3234
3245
|
Text_default,
|
|
3235
3246
|
{
|
|
@@ -3363,7 +3374,7 @@ var A4Invoice = ({ data }) => {
|
|
|
3363
3374
|
/* @__PURE__ */ React17.createElement(Text_default, null, data.subTotal)
|
|
3364
3375
|
)
|
|
3365
3376
|
),
|
|
3366
|
-
/* @__PURE__ */ React17.createElement(
|
|
3377
|
+
data.postalCharges ? /* @__PURE__ */ React17.createElement(
|
|
3367
3378
|
View12,
|
|
3368
3379
|
{
|
|
3369
3380
|
style: {
|
|
@@ -3393,7 +3404,7 @@ var A4Invoice = ({ data }) => {
|
|
|
3393
3404
|
},
|
|
3394
3405
|
/* @__PURE__ */ React17.createElement(Text_default, null, data.postalCharges)
|
|
3395
3406
|
)
|
|
3396
|
-
),
|
|
3407
|
+
) : null,
|
|
3397
3408
|
/* @__PURE__ */ React17.createElement(
|
|
3398
3409
|
View12,
|
|
3399
3410
|
{
|
package/package.json
CHANGED