@bookmypuja-tech/bmp-pdf 0.3.11 → 0.3.13

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 CHANGED
@@ -222,7 +222,7 @@ interface IInvoiceData {
222
222
  prasads?: {
223
223
  name: string;
224
224
  timings: string;
225
- };
225
+ }[];
226
226
  }
227
227
  interface IInvoiceProps {
228
228
  data: IInvoiceData;
package/dist/index.js CHANGED
@@ -33,6 +33,7 @@ var robotoBold = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1742817493/fo
33
33
  var notoSansRegular = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1743420993/NotoSans-Regular_pmvebt.ttf";
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
+ var bmpLogo2 = "https://res.cloudinary.com/dpaigt2bx/image/upload/v1752653165/BookMyPuja_1_1_bd1xa0.png";
36
37
 
37
38
  // src/sizes/A4Print.tsx
38
39
  Font.register({
@@ -3073,11 +3074,12 @@ var A4Invoice = ({ data }) => {
3073
3074
  {
3074
3075
  fixed: true,
3075
3076
  style: {
3076
- height: 15,
3077
- width: 75,
3078
- marginBottom: 10
3077
+ height: 20,
3078
+ width: 85,
3079
+ marginBottom: 5,
3080
+ objectFit: "contain"
3079
3081
  },
3080
- src: bmpLogo
3082
+ src: bmpLogo2
3081
3083
  }
3082
3084
  )
3083
3085
  ))
@@ -3102,7 +3104,7 @@ var A4Invoice = ({ data }) => {
3102
3104
  },
3103
3105
  /* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 11 } }, "Bill to:"),
3104
3106
  /* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 11 } }, data.devoteeDetails.name),
3105
- /* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 11 } }, "+", data.devoteeDetails.phone),
3107
+ data.devoteeDetails.phone ? /* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 11 } }, data.devoteeDetails.phone) : null,
3106
3108
  /* @__PURE__ */ React17.createElement(Text_default, { style: { fontSize: 11 } }, data.bookingDate)
3107
3109
  ), /* @__PURE__ */ React17.createElement(
3108
3110
  View12,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@bookmypuja-tech/bmp-pdf",
3
3
  "description": "PDF Report Generation for Temple360 and T-360 by BookMyPuja",
4
- "version": "0.3.11",
4
+ "version": "0.3.13",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",