@bookmypuja-tech/bmp-pdf 0.3.14 → 0.3.16

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
@@ -196,6 +196,9 @@ interface IInvoiceData {
196
196
  templeName: string;
197
197
  templeAddress: string;
198
198
  invoiceNumber: string;
199
+ instructions: {
200
+ instruction: string;
201
+ }[];
199
202
  status: string;
200
203
  devoteeDetails: {
201
204
  name: string;
package/dist/index.js CHANGED
@@ -3500,7 +3500,7 @@ var A4Invoice = ({ data }) => {
3500
3500
  )
3501
3501
  )
3502
3502
  )
3503
- ), /* @__PURE__ */ React17.createElement(
3503
+ ), data.instructions.length > 0 ? /* @__PURE__ */ React17.createElement(
3504
3504
  View12,
3505
3505
  {
3506
3506
  style: {
@@ -3533,10 +3533,9 @@ var A4Invoice = ({ data }) => {
3533
3533
  paddingHorizontal: 10
3534
3534
  }
3535
3535
  },
3536
- /* @__PURE__ */ React17.createElement(Text_default, null, "1) Devotees who have booked Special Darshan are required to present the invoice at the temple counter to collect their Special Darshan and Prasadam coupons"),
3537
- /* @__PURE__ */ React17.createElement(Text_default, null, "2) Prasadam Collection Schedule: Morning Pujas: Sundays, Tuesdays, and Fridays: Collect before 12:00 PM; Mondays, Wednesdays, Thursdays, and Saturdays: Collect before 11:00 AM. Evening Pujas: Collect before 8:00 PM")
3536
+ data.instructions.map((instruction, index) => /* @__PURE__ */ React17.createElement(Text_default, { key: index, style: { fontSize: 8 } }, index + 1, ") ", instruction.instruction))
3538
3537
  )
3539
- ), /* @__PURE__ */ React17.createElement(
3538
+ ) : null, /* @__PURE__ */ React17.createElement(
3540
3539
  View12,
3541
3540
  {
3542
3541
  style: {
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.14",
4
+ "version": "0.3.16",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",