@bookmypuja-tech/bmp-pdf 0.3.32 → 0.3.34
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 +21 -14
- package/dist/index.js +44 -160
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -68,6 +68,8 @@ declare const T2Inch: ({ data, dates, }: {
|
|
|
68
68
|
dates: [string | Date, string | Date];
|
|
69
69
|
}) => React.JSX.Element;
|
|
70
70
|
|
|
71
|
+
type IReportTimings = "morning" | "evening" | undefined | null;
|
|
72
|
+
|
|
71
73
|
interface KitchenReportData {
|
|
72
74
|
name: string;
|
|
73
75
|
quantity: number;
|
|
@@ -76,6 +78,7 @@ interface KitchenReportProps {
|
|
|
76
78
|
date: Date;
|
|
77
79
|
templeName: string;
|
|
78
80
|
data: KitchenReportData[];
|
|
81
|
+
reportTiming?: IReportTimings;
|
|
79
82
|
}
|
|
80
83
|
|
|
81
84
|
interface ITransactionItem {
|
|
@@ -118,6 +121,7 @@ interface IPrasadReport {
|
|
|
118
121
|
date: Date;
|
|
119
122
|
templeName: string;
|
|
120
123
|
data: IPrasadItem[];
|
|
124
|
+
reportTiming?: IReportTimings;
|
|
121
125
|
}
|
|
122
126
|
|
|
123
127
|
interface IPuja {
|
|
@@ -139,6 +143,7 @@ interface IPujaList {
|
|
|
139
143
|
date: Date;
|
|
140
144
|
templeName: string;
|
|
141
145
|
pujas: IPuja[];
|
|
146
|
+
reportTiming?: IReportTimings;
|
|
142
147
|
}
|
|
143
148
|
|
|
144
149
|
interface ISummaryPuja {
|
|
@@ -153,6 +158,20 @@ interface ISummaryPujaList {
|
|
|
153
158
|
date: Date;
|
|
154
159
|
templeName: string;
|
|
155
160
|
pujas: ISummaryPuja[];
|
|
161
|
+
reportTiming?: IReportTimings;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
interface IPostalItem {
|
|
165
|
+
id: string;
|
|
166
|
+
name: string;
|
|
167
|
+
pujaDetails: string;
|
|
168
|
+
phone: string;
|
|
169
|
+
address: string;
|
|
170
|
+
}
|
|
171
|
+
interface IPostalReportProps {
|
|
172
|
+
date: Date;
|
|
173
|
+
templeName: string;
|
|
174
|
+
data?: IPostalItem[];
|
|
156
175
|
}
|
|
157
176
|
|
|
158
177
|
interface CombinedReportData {
|
|
@@ -160,7 +179,8 @@ interface CombinedReportData {
|
|
|
160
179
|
templeName: string;
|
|
161
180
|
pujaData: IPuja[];
|
|
162
181
|
prasadData: IPrasadItem[];
|
|
163
|
-
deliveryData:
|
|
182
|
+
deliveryData: IPostalItem[];
|
|
183
|
+
reportTiming?: IReportTimings;
|
|
164
184
|
}
|
|
165
185
|
|
|
166
186
|
interface ITempleData {
|
|
@@ -246,19 +266,6 @@ interface IInvoiceProps {
|
|
|
246
266
|
data: IInvoiceData;
|
|
247
267
|
}
|
|
248
268
|
|
|
249
|
-
interface IPostalItem {
|
|
250
|
-
id: string;
|
|
251
|
-
name: string;
|
|
252
|
-
pujaDetails: string;
|
|
253
|
-
phone: string;
|
|
254
|
-
address: string;
|
|
255
|
-
}
|
|
256
|
-
interface IPostalReportProps {
|
|
257
|
-
date: Date;
|
|
258
|
-
templeName: string;
|
|
259
|
-
data?: IPostalItem[];
|
|
260
|
-
}
|
|
261
|
-
|
|
262
269
|
type sizeOptions = "A4" | "2Inch";
|
|
263
270
|
declare const getPrintBlob: ({ size, data, dates, }: {
|
|
264
271
|
size: sizeOptions;
|
package/dist/index.js
CHANGED
|
@@ -35,6 +35,10 @@ var notoSansBold = "https://res.cloudinary.com/dpaigt2bx/raw/upload/v1743431605/
|
|
|
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
37
|
var paidIcon = "https://res.cloudinary.com/dpaigt2bx/image/upload/v1752669810/paid-5025785_1280_afg4ob_gcacmg.png";
|
|
38
|
+
var reportTimingsObj = {
|
|
39
|
+
morning: "Morning",
|
|
40
|
+
evening: "Evening"
|
|
41
|
+
};
|
|
38
42
|
|
|
39
43
|
// src/sizes/A4Print.tsx
|
|
40
44
|
Font.register({
|
|
@@ -694,7 +698,8 @@ import React8 from "react";
|
|
|
694
698
|
var A4KitchenReport = ({
|
|
695
699
|
date,
|
|
696
700
|
templeName,
|
|
697
|
-
data
|
|
701
|
+
data,
|
|
702
|
+
reportTiming
|
|
698
703
|
}) => {
|
|
699
704
|
return /* @__PURE__ */ React8.createElement(React8.Fragment, null, /* @__PURE__ */ React8.createElement(Document4, null, /* @__PURE__ */ React8.createElement(Page4, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React8.createElement(
|
|
700
705
|
Image5,
|
|
@@ -707,7 +712,7 @@ var A4KitchenReport = ({
|
|
|
707
712
|
},
|
|
708
713
|
src: bmpLogo
|
|
709
714
|
}
|
|
710
|
-
), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Prasad (Kitchen) Report"), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React8.createElement(
|
|
715
|
+
), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Temple Prasad (Kitchen) Report"), /* @__PURE__ */ React8.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React8.createElement(
|
|
711
716
|
View3,
|
|
712
717
|
{
|
|
713
718
|
style: {
|
|
@@ -1259,7 +1264,8 @@ import React11 from "react";
|
|
|
1259
1264
|
var A4PrasadReport = ({
|
|
1260
1265
|
date,
|
|
1261
1266
|
templeName,
|
|
1262
|
-
data
|
|
1267
|
+
data,
|
|
1268
|
+
reportTiming
|
|
1263
1269
|
}) => {
|
|
1264
1270
|
const sortedPrasadItems = data.sort((a, b) => {
|
|
1265
1271
|
return a.invoiceNumber.localeCompare(b.invoiceNumber);
|
|
@@ -1275,7 +1281,7 @@ var A4PrasadReport = ({
|
|
|
1275
1281
|
},
|
|
1276
1282
|
src: bmpLogo
|
|
1277
1283
|
}
|
|
1278
|
-
), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React11.createElement(
|
|
1284
|
+
), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React11.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React11.createElement(
|
|
1279
1285
|
View6,
|
|
1280
1286
|
{
|
|
1281
1287
|
style: {
|
|
@@ -1452,7 +1458,8 @@ import React12 from "react";
|
|
|
1452
1458
|
var A4PujaList = ({
|
|
1453
1459
|
date,
|
|
1454
1460
|
templeName,
|
|
1455
|
-
pujas
|
|
1461
|
+
pujas,
|
|
1462
|
+
reportTiming
|
|
1456
1463
|
}) => {
|
|
1457
1464
|
let serialOfNormalPujas = 0;
|
|
1458
1465
|
let serialOfEarlyReminders = 0;
|
|
@@ -1470,7 +1477,7 @@ var A4PujaList = ({
|
|
|
1470
1477
|
},
|
|
1471
1478
|
src: bmpLogo
|
|
1472
1479
|
}
|
|
1473
|
-
), /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), pujas.some(
|
|
1480
|
+
), /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, pujas.some(
|
|
1474
1481
|
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1475
1482
|
) && /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold", marginTop: 10 } }, "Early Reminders for Upcoming Pujas"), /* @__PURE__ */ React12.createElement(View7, { wrap: false, style: { marginTop: 10 } }, /* @__PURE__ */ React12.createElement(
|
|
1476
1483
|
View7,
|
|
@@ -1910,16 +1917,12 @@ var A4PujaList_default = A4PujaList;
|
|
|
1910
1917
|
|
|
1911
1918
|
// src/sizes/a4/A4Summary.tsx
|
|
1912
1919
|
import React13 from "react";
|
|
1913
|
-
import {
|
|
1914
|
-
Page as Page9,
|
|
1915
|
-
Document as Document9,
|
|
1916
|
-
Image as Image10,
|
|
1917
|
-
View as View8
|
|
1918
|
-
} from "@react-pdf/renderer";
|
|
1920
|
+
import { Page as Page9, Document as Document9, Image as Image10, View as View8 } from "@react-pdf/renderer";
|
|
1919
1921
|
var A4Summary = ({
|
|
1920
1922
|
templeName,
|
|
1921
1923
|
date,
|
|
1922
|
-
pujas
|
|
1924
|
+
pujas,
|
|
1925
|
+
reportTiming
|
|
1923
1926
|
}) => {
|
|
1924
1927
|
const sortedPujaList = pujas.sort((a, b) => {
|
|
1925
1928
|
const aTotalCount = a.nakshatras.length;
|
|
@@ -1948,6 +1951,7 @@ var A4Summary = ({
|
|
|
1948
1951
|
}
|
|
1949
1952
|
),
|
|
1950
1953
|
/* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()),
|
|
1954
|
+
reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null,
|
|
1951
1955
|
/* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Puja Summary"),
|
|
1952
1956
|
/* @__PURE__ */ React13.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`),
|
|
1953
1957
|
/* @__PURE__ */ React13.createElement(
|
|
@@ -2085,7 +2089,8 @@ var A4CombinedReport = ({
|
|
|
2085
2089
|
templeName,
|
|
2086
2090
|
pujaData,
|
|
2087
2091
|
prasadData,
|
|
2088
|
-
deliveryData
|
|
2092
|
+
deliveryData,
|
|
2093
|
+
reportTiming
|
|
2089
2094
|
}) => {
|
|
2090
2095
|
deliveryData = deliveryData.map((item) => {
|
|
2091
2096
|
let address = "";
|
|
@@ -2117,7 +2122,7 @@ var A4CombinedReport = ({
|
|
|
2117
2122
|
},
|
|
2118
2123
|
src: bmpLogo
|
|
2119
2124
|
}
|
|
2120
|
-
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), pujaData.some(
|
|
2125
|
+
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, pujaData.some(
|
|
2121
2126
|
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
2122
2127
|
) && /* @__PURE__ */ React14.createElement(React14.Fragment, null, /* @__PURE__ */ React14.createElement(
|
|
2123
2128
|
Text_default,
|
|
@@ -2568,7 +2573,7 @@ var A4CombinedReport = ({
|
|
|
2568
2573
|
},
|
|
2569
2574
|
src: bmpLogo
|
|
2570
2575
|
}
|
|
2571
|
-
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React14.createElement(
|
|
2576
|
+
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Report"), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React14.createElement(
|
|
2572
2577
|
View9,
|
|
2573
2578
|
{
|
|
2574
2579
|
style: {
|
|
@@ -2722,177 +2727,56 @@ var A4CombinedReport = ({
|
|
|
2722
2727
|
},
|
|
2723
2728
|
src: bmpLogo
|
|
2724
2729
|
}
|
|
2725
|
-
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery
|
|
2730
|
+
), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), reportTiming && Object.keys(reportTimingsObj).includes(reportTiming) ? /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, reportTimingsObj[reportTiming], " Report") : null, /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 14, fontWeight: "bold" } }, "Prasad Delivery Postal Report"), /* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React14.createElement(
|
|
2726
2731
|
View9,
|
|
2727
2732
|
{
|
|
2728
2733
|
style: {
|
|
2729
2734
|
display: "flex",
|
|
2730
|
-
flexDirection: "
|
|
2731
|
-
marginTop: 20
|
|
2735
|
+
flexDirection: "row",
|
|
2736
|
+
marginTop: 20,
|
|
2737
|
+
width: "100%",
|
|
2738
|
+
gap: 20,
|
|
2739
|
+
flexWrap: "wrap"
|
|
2732
2740
|
}
|
|
2733
2741
|
},
|
|
2734
|
-
|
|
2735
|
-
View9,
|
|
2736
|
-
{
|
|
2737
|
-
style: {
|
|
2738
|
-
display: "flex",
|
|
2739
|
-
flexDirection: "row",
|
|
2740
|
-
border: "1px solid black",
|
|
2741
|
-
fontWeight: "semibold",
|
|
2742
|
-
fontSize: 10
|
|
2743
|
-
}
|
|
2744
|
-
},
|
|
2745
|
-
/* @__PURE__ */ React14.createElement(
|
|
2746
|
-
View9,
|
|
2747
|
-
{
|
|
2748
|
-
style: {
|
|
2749
|
-
padding: 6,
|
|
2750
|
-
borderRight: "1px solid black",
|
|
2751
|
-
width: "10%"
|
|
2752
|
-
}
|
|
2753
|
-
},
|
|
2754
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Date")
|
|
2755
|
-
),
|
|
2756
|
-
/* @__PURE__ */ React14.createElement(
|
|
2757
|
-
View9,
|
|
2758
|
-
{
|
|
2759
|
-
style: {
|
|
2760
|
-
padding: 6,
|
|
2761
|
-
borderRight: "1px solid black",
|
|
2762
|
-
width: "13%"
|
|
2763
|
-
}
|
|
2764
|
-
},
|
|
2765
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Invoice")
|
|
2766
|
-
),
|
|
2767
|
-
/* @__PURE__ */ React14.createElement(
|
|
2768
|
-
View9,
|
|
2769
|
-
{
|
|
2770
|
-
style: {
|
|
2771
|
-
padding: 6,
|
|
2772
|
-
borderRight: "1px solid black",
|
|
2773
|
-
width: "18%"
|
|
2774
|
-
}
|
|
2775
|
-
},
|
|
2776
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Devotee Name")
|
|
2777
|
-
),
|
|
2778
|
-
/* @__PURE__ */ React14.createElement(
|
|
2779
|
-
View9,
|
|
2780
|
-
{
|
|
2781
|
-
style: {
|
|
2782
|
-
padding: 6,
|
|
2783
|
-
borderRight: "1px solid black",
|
|
2784
|
-
width: "25%"
|
|
2785
|
-
}
|
|
2786
|
-
},
|
|
2787
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Address")
|
|
2788
|
-
),
|
|
2789
|
-
/* @__PURE__ */ React14.createElement(
|
|
2790
|
-
View9,
|
|
2791
|
-
{
|
|
2792
|
-
style: {
|
|
2793
|
-
padding: 6,
|
|
2794
|
-
borderRight: "1px solid black",
|
|
2795
|
-
width: "20%"
|
|
2796
|
-
}
|
|
2797
|
-
},
|
|
2798
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Puja Name")
|
|
2799
|
-
),
|
|
2800
|
-
/* @__PURE__ */ React14.createElement(
|
|
2801
|
-
View9,
|
|
2802
|
-
{
|
|
2803
|
-
style: {
|
|
2804
|
-
padding: 6,
|
|
2805
|
-
width: "15%"
|
|
2806
|
-
}
|
|
2807
|
-
},
|
|
2808
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, "Amount")
|
|
2809
|
-
)
|
|
2810
|
-
),
|
|
2811
|
-
deliveryData.map((item, index) => {
|
|
2742
|
+
deliveryData && deliveryData.map((item) => {
|
|
2812
2743
|
return /* @__PURE__ */ React14.createElement(
|
|
2813
2744
|
View9,
|
|
2814
2745
|
{
|
|
2746
|
+
key: item.id,
|
|
2815
2747
|
style: {
|
|
2748
|
+
width: "46%",
|
|
2816
2749
|
display: "flex",
|
|
2817
|
-
flexDirection: "
|
|
2750
|
+
flexDirection: "column",
|
|
2818
2751
|
border: "1px solid black",
|
|
2819
|
-
|
|
2820
|
-
|
|
2752
|
+
borderStyle: "dotted",
|
|
2753
|
+
borderWidth: 1.5,
|
|
2754
|
+
padding: 6
|
|
2821
2755
|
}
|
|
2822
2756
|
},
|
|
2823
2757
|
/* @__PURE__ */ React14.createElement(
|
|
2824
2758
|
View9,
|
|
2825
2759
|
{
|
|
2826
2760
|
style: {
|
|
2827
|
-
|
|
2828
|
-
borderRight: "1px solid black",
|
|
2829
|
-
width: "10%"
|
|
2830
|
-
}
|
|
2831
|
-
},
|
|
2832
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, new Date(item.date).toLocaleDateString("en-GB", {
|
|
2833
|
-
day: "2-digit",
|
|
2834
|
-
month: "2-digit",
|
|
2835
|
-
year: "2-digit"
|
|
2836
|
-
}))
|
|
2837
|
-
),
|
|
2838
|
-
/* @__PURE__ */ React14.createElement(
|
|
2839
|
-
View9,
|
|
2840
|
-
{
|
|
2841
|
-
style: {
|
|
2842
|
-
padding: 6,
|
|
2843
|
-
borderRight: "1px solid black",
|
|
2844
|
-
width: "13%"
|
|
2845
|
-
}
|
|
2846
|
-
},
|
|
2847
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, item.invoiceNumber)
|
|
2848
|
-
),
|
|
2849
|
-
/* @__PURE__ */ React14.createElement(
|
|
2850
|
-
View9,
|
|
2851
|
-
{
|
|
2852
|
-
style: {
|
|
2853
|
-
padding: 6,
|
|
2854
|
-
borderRight: "1px solid black",
|
|
2855
|
-
width: "18%"
|
|
2856
|
-
}
|
|
2857
|
-
},
|
|
2858
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, item.devoteeName)
|
|
2859
|
-
),
|
|
2860
|
-
/* @__PURE__ */ React14.createElement(
|
|
2861
|
-
View9,
|
|
2862
|
-
{
|
|
2863
|
-
style: {
|
|
2864
|
-
padding: 6,
|
|
2865
|
-
borderRight: "1px solid black",
|
|
2866
|
-
width: "25%"
|
|
2761
|
+
flexGrow: 1
|
|
2867
2762
|
}
|
|
2868
2763
|
},
|
|
2869
|
-
/* @__PURE__ */ React14.createElement(Text_default,
|
|
2764
|
+
/* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 10, fontWeight: "bold" } }, item.name),
|
|
2765
|
+
/* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 10 } }, item.address),
|
|
2766
|
+
/* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 10 } }, item.phone)
|
|
2870
2767
|
),
|
|
2871
2768
|
/* @__PURE__ */ React14.createElement(
|
|
2872
2769
|
View9,
|
|
2873
2770
|
{
|
|
2874
2771
|
style: {
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2772
|
+
borderTop: "1px solid black",
|
|
2773
|
+
marginTop: 5,
|
|
2774
|
+
paddingTop: 3,
|
|
2775
|
+
borderStyle: "dotted"
|
|
2878
2776
|
}
|
|
2879
|
-
}
|
|
2880
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, item.pujaName)
|
|
2777
|
+
}
|
|
2881
2778
|
),
|
|
2882
|
-
/* @__PURE__ */ React14.createElement(
|
|
2883
|
-
View9,
|
|
2884
|
-
{
|
|
2885
|
-
style: {
|
|
2886
|
-
padding: 6,
|
|
2887
|
-
width: "15%"
|
|
2888
|
-
}
|
|
2889
|
-
},
|
|
2890
|
-
/* @__PURE__ */ React14.createElement(Text_default, null, item.amount.toLocaleString("en-IN", {
|
|
2891
|
-
maximumFractionDigits: 2,
|
|
2892
|
-
style: "currency",
|
|
2893
|
-
currency: "INR"
|
|
2894
|
-
}))
|
|
2895
|
-
)
|
|
2779
|
+
/* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 9, marginTop: 3 } }, "Note: ", item.pujaDetails)
|
|
2896
2780
|
);
|
|
2897
2781
|
})
|
|
2898
2782
|
))));
|
package/package.json
CHANGED