@bookmypuja-tech/bmp-pdf 0.3.26 → 0.3.28
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 +71 -20
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1534,9 +1534,13 @@ var A4PujaList = ({
|
|
|
1534
1534
|
/* @__PURE__ */ React12.createElement(Text_default, null, "Date")
|
|
1535
1535
|
)
|
|
1536
1536
|
))), pujas.some(
|
|
1537
|
-
(puja) => puja.bookings.some(
|
|
1537
|
+
(puja) => puja.bookings.some(
|
|
1538
|
+
(booking) => booking.is_early_reminder && !booking.requires_coupon
|
|
1539
|
+
)
|
|
1538
1540
|
) ? pujas.flatMap(
|
|
1539
|
-
(puja, pujaIndex) => puja.bookings.filter(
|
|
1541
|
+
(puja, pujaIndex) => puja.bookings.filter(
|
|
1542
|
+
(booking) => booking.is_early_reminder && !booking.requires_coupon
|
|
1543
|
+
).map((booking, bookingIndex) => {
|
|
1540
1544
|
serialOfEarlyReminders++;
|
|
1541
1545
|
return /* @__PURE__ */ React12.createElement(
|
|
1542
1546
|
View7,
|
|
@@ -1609,7 +1613,9 @@ var A4PujaList = ({
|
|
|
1609
1613
|
}
|
|
1610
1614
|
},
|
|
1611
1615
|
pujas.map((puja, pujaIndex) => {
|
|
1612
|
-
if (puja.bookings.every(
|
|
1616
|
+
if (puja.bookings.every(
|
|
1617
|
+
(booking) => booking.is_early_reminder || booking.requires_coupon
|
|
1618
|
+
))
|
|
1613
1619
|
return null;
|
|
1614
1620
|
serialOfNormalPujas = 0;
|
|
1615
1621
|
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(View7, { wrap: false, style: { marginBottom: 25 } }, /* @__PURE__ */ React12.createElement(View7, null, /* @__PURE__ */ React12.createElement(
|
|
@@ -1700,7 +1706,8 @@ var A4PujaList = ({
|
|
|
1700
1706
|
/* @__PURE__ */ React12.createElement(Text_default, null, "Qty")
|
|
1701
1707
|
)
|
|
1702
1708
|
), puja.bookings.map((booking, bookingIndex) => {
|
|
1703
|
-
if (booking.is_early_reminder || booking.requires_coupon)
|
|
1709
|
+
if (booking.is_early_reminder || booking.requires_coupon)
|
|
1710
|
+
return null;
|
|
1704
1711
|
serialOfNormalPujas++;
|
|
1705
1712
|
return /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement(
|
|
1706
1713
|
View7,
|
|
@@ -1877,12 +1884,11 @@ var A4PujaList = ({
|
|
|
1877
1884
|
),
|
|
1878
1885
|
/* @__PURE__ */ React12.createElement(Text_default, null, booking.phone_number)
|
|
1879
1886
|
),
|
|
1880
|
-
/* @__PURE__ */ React12.createElement(Text_default, { style: { fontSize: 16 } }, puja.name),
|
|
1881
1887
|
/* @__PURE__ */ React12.createElement(
|
|
1882
1888
|
View7,
|
|
1883
1889
|
{
|
|
1884
1890
|
style: {
|
|
1885
|
-
height:
|
|
1891
|
+
height: 15,
|
|
1886
1892
|
width: "100%"
|
|
1887
1893
|
}
|
|
1888
1894
|
}
|
|
@@ -1892,14 +1898,37 @@ var A4PujaList = ({
|
|
|
1892
1898
|
{
|
|
1893
1899
|
style: {
|
|
1894
1900
|
display: "flex",
|
|
1895
|
-
flexDirection: "row"
|
|
1896
|
-
flexWrap: "wrap"
|
|
1901
|
+
flexDirection: "row"
|
|
1897
1902
|
}
|
|
1898
1903
|
},
|
|
1899
|
-
/* @__PURE__ */ React12.createElement(
|
|
1900
|
-
|
|
1901
|
-
|
|
1902
|
-
|
|
1904
|
+
/* @__PURE__ */ React12.createElement(
|
|
1905
|
+
View7,
|
|
1906
|
+
{
|
|
1907
|
+
style: {
|
|
1908
|
+
width: "40%"
|
|
1909
|
+
}
|
|
1910
|
+
},
|
|
1911
|
+
/* @__PURE__ */ React12.createElement(Text_default, null, booking.devoteeName)
|
|
1912
|
+
),
|
|
1913
|
+
/* @__PURE__ */ React12.createElement(
|
|
1914
|
+
View7,
|
|
1915
|
+
{
|
|
1916
|
+
style: {
|
|
1917
|
+
width: "30%"
|
|
1918
|
+
}
|
|
1919
|
+
},
|
|
1920
|
+
/* @__PURE__ */ React12.createElement(Text_default, null, booking.nakshatra)
|
|
1921
|
+
),
|
|
1922
|
+
/* @__PURE__ */ React12.createElement(
|
|
1923
|
+
View7,
|
|
1924
|
+
{
|
|
1925
|
+
style: {
|
|
1926
|
+
width: "30%"
|
|
1927
|
+
}
|
|
1928
|
+
},
|
|
1929
|
+
/* @__PURE__ */ React12.createElement(Text_default, null, puja.name)
|
|
1930
|
+
)
|
|
1931
|
+
)
|
|
1903
1932
|
);
|
|
1904
1933
|
});
|
|
1905
1934
|
})
|
|
@@ -2536,12 +2565,11 @@ var A4CombinedReport = ({
|
|
|
2536
2565
|
),
|
|
2537
2566
|
/* @__PURE__ */ React14.createElement(Text_default, null, booking.phone_number)
|
|
2538
2567
|
),
|
|
2539
|
-
/* @__PURE__ */ React14.createElement(Text_default, { style: { fontSize: 16 } }, puja.name),
|
|
2540
2568
|
/* @__PURE__ */ React14.createElement(
|
|
2541
2569
|
View9,
|
|
2542
2570
|
{
|
|
2543
2571
|
style: {
|
|
2544
|
-
height:
|
|
2572
|
+
height: 15,
|
|
2545
2573
|
width: "100%"
|
|
2546
2574
|
}
|
|
2547
2575
|
}
|
|
@@ -2551,14 +2579,37 @@ var A4CombinedReport = ({
|
|
|
2551
2579
|
{
|
|
2552
2580
|
style: {
|
|
2553
2581
|
display: "flex",
|
|
2554
|
-
flexDirection: "row"
|
|
2555
|
-
flexWrap: "wrap"
|
|
2582
|
+
flexDirection: "row"
|
|
2556
2583
|
}
|
|
2557
2584
|
},
|
|
2558
|
-
/* @__PURE__ */ React14.createElement(
|
|
2559
|
-
|
|
2560
|
-
|
|
2561
|
-
|
|
2585
|
+
/* @__PURE__ */ React14.createElement(
|
|
2586
|
+
View9,
|
|
2587
|
+
{
|
|
2588
|
+
style: {
|
|
2589
|
+
width: "40%"
|
|
2590
|
+
}
|
|
2591
|
+
},
|
|
2592
|
+
/* @__PURE__ */ React14.createElement(Text_default, null, booking.devoteeName)
|
|
2593
|
+
),
|
|
2594
|
+
/* @__PURE__ */ React14.createElement(
|
|
2595
|
+
View9,
|
|
2596
|
+
{
|
|
2597
|
+
style: {
|
|
2598
|
+
width: "30%"
|
|
2599
|
+
}
|
|
2600
|
+
},
|
|
2601
|
+
/* @__PURE__ */ React14.createElement(Text_default, null, booking.nakshatra)
|
|
2602
|
+
),
|
|
2603
|
+
/* @__PURE__ */ React14.createElement(
|
|
2604
|
+
View9,
|
|
2605
|
+
{
|
|
2606
|
+
style: {
|
|
2607
|
+
width: "30%"
|
|
2608
|
+
}
|
|
2609
|
+
},
|
|
2610
|
+
/* @__PURE__ */ React14.createElement(Text_default, null, puja.name)
|
|
2611
|
+
)
|
|
2612
|
+
)
|
|
2562
2613
|
);
|
|
2563
2614
|
});
|
|
2564
2615
|
})
|
package/package.json
CHANGED