@bookmypuja-tech/bmp-pdf 0.2.11 → 0.2.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.js +267 -278
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1309,13 +1309,142 @@ var A4PujaList = ({
|
|
|
1309
1309
|
},
|
|
1310
1310
|
src: bmpLogo
|
|
1311
1311
|
}
|
|
1312
|
-
), /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()),
|
|
1312
|
+
), /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), pujas.some(
|
|
1313
|
+
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1314
|
+
) && /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 14, fontWeight: "bold", marginTop: 10 } }, "Early Reminders for Upcoming Pujas"), /* @__PURE__ */ React11.createElement(View7, { wrap: false, style: { marginTop: 10 } }, /* @__PURE__ */ React11.createElement(
|
|
1315
|
+
View7,
|
|
1316
|
+
{
|
|
1317
|
+
style: {
|
|
1318
|
+
display: "flex",
|
|
1319
|
+
flexDirection: "row",
|
|
1320
|
+
border: "1px solid black"
|
|
1321
|
+
}
|
|
1322
|
+
},
|
|
1323
|
+
/* @__PURE__ */ React11.createElement(
|
|
1324
|
+
View7,
|
|
1325
|
+
{
|
|
1326
|
+
style: {
|
|
1327
|
+
padding: 6,
|
|
1328
|
+
fontSize: 10,
|
|
1329
|
+
borderRight: "1px solid black",
|
|
1330
|
+
fontWeight: "semibold",
|
|
1331
|
+
width: "10%"
|
|
1332
|
+
}
|
|
1333
|
+
},
|
|
1334
|
+
/* @__PURE__ */ React11.createElement(Text11, null, "Sr No")
|
|
1335
|
+
),
|
|
1336
|
+
/* @__PURE__ */ React11.createElement(
|
|
1337
|
+
View7,
|
|
1338
|
+
{
|
|
1339
|
+
style: {
|
|
1340
|
+
padding: 6,
|
|
1341
|
+
fontSize: 10,
|
|
1342
|
+
borderRight: "1px solid black",
|
|
1343
|
+
fontWeight: "semibold",
|
|
1344
|
+
width: "60%"
|
|
1345
|
+
}
|
|
1346
|
+
},
|
|
1347
|
+
/* @__PURE__ */ React11.createElement(Text11, null, "Puja Name")
|
|
1348
|
+
),
|
|
1349
|
+
/* @__PURE__ */ React11.createElement(
|
|
1350
|
+
View7,
|
|
1351
|
+
{
|
|
1352
|
+
style: {
|
|
1353
|
+
padding: 6,
|
|
1354
|
+
fontSize: 10,
|
|
1355
|
+
borderRight: "1px solid black",
|
|
1356
|
+
fontWeight: "semibold",
|
|
1357
|
+
width: "10%"
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1360
|
+
/* @__PURE__ */ React11.createElement(Text11, null, "Qty")
|
|
1361
|
+
),
|
|
1362
|
+
/* @__PURE__ */ React11.createElement(
|
|
1363
|
+
View7,
|
|
1364
|
+
{
|
|
1365
|
+
style: {
|
|
1366
|
+
padding: 6,
|
|
1367
|
+
fontSize: 10,
|
|
1368
|
+
borderRight: "none",
|
|
1369
|
+
fontWeight: "semibold",
|
|
1370
|
+
width: "20%"
|
|
1371
|
+
}
|
|
1372
|
+
},
|
|
1373
|
+
/* @__PURE__ */ React11.createElement(Text11, null, "Date")
|
|
1374
|
+
)
|
|
1375
|
+
))), pujas.some(
|
|
1376
|
+
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1377
|
+
) ? pujas.flatMap(
|
|
1378
|
+
(puja, pujaIndex) => puja.bookings.filter((booking) => booking.is_early_reminder).map((booking, bookingIndex) => {
|
|
1379
|
+
serialOfEarlyReminders++;
|
|
1380
|
+
return /* @__PURE__ */ React11.createElement(
|
|
1381
|
+
View7,
|
|
1382
|
+
{
|
|
1383
|
+
key: `${pujaIndex}-${bookingIndex}`,
|
|
1384
|
+
style: {
|
|
1385
|
+
display: "flex",
|
|
1386
|
+
flexDirection: "row",
|
|
1387
|
+
border: "1px solid black",
|
|
1388
|
+
borderTop: "none"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
/* @__PURE__ */ React11.createElement(
|
|
1392
|
+
View7,
|
|
1393
|
+
{
|
|
1394
|
+
style: {
|
|
1395
|
+
padding: 6,
|
|
1396
|
+
fontSize: 10,
|
|
1397
|
+
borderRight: "1px solid black",
|
|
1398
|
+
width: "10%"
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1401
|
+
/* @__PURE__ */ React11.createElement(Text11, null, serialOfEarlyReminders)
|
|
1402
|
+
),
|
|
1403
|
+
/* @__PURE__ */ React11.createElement(
|
|
1404
|
+
View7,
|
|
1405
|
+
{
|
|
1406
|
+
style: {
|
|
1407
|
+
padding: 6,
|
|
1408
|
+
fontSize: 10,
|
|
1409
|
+
borderRight: "1px solid black",
|
|
1410
|
+
width: "60%"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
/* @__PURE__ */ React11.createElement(Text11, null, puja.name)
|
|
1414
|
+
),
|
|
1415
|
+
/* @__PURE__ */ React11.createElement(
|
|
1416
|
+
View7,
|
|
1417
|
+
{
|
|
1418
|
+
style: {
|
|
1419
|
+
padding: 6,
|
|
1420
|
+
fontSize: 10,
|
|
1421
|
+
borderRight: "1px solid black",
|
|
1422
|
+
width: "10%"
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
/* @__PURE__ */ React11.createElement(Text11, null, booking.quantity)
|
|
1426
|
+
),
|
|
1427
|
+
/* @__PURE__ */ React11.createElement(
|
|
1428
|
+
View7,
|
|
1429
|
+
{
|
|
1430
|
+
style: {
|
|
1431
|
+
padding: 6,
|
|
1432
|
+
fontSize: 10,
|
|
1433
|
+
borderRight: "none",
|
|
1434
|
+
width: "20%"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
/* @__PURE__ */ React11.createElement(Text11, null, booking.date ? new Date(booking.date).toDateString() : "")
|
|
1438
|
+
)
|
|
1439
|
+
);
|
|
1440
|
+
})
|
|
1441
|
+
) : null, /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 14, fontWeight: "bold", marginTop: 20 } }, "Puja List"), /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React11.createElement(
|
|
1313
1442
|
View7,
|
|
1314
1443
|
{
|
|
1315
1444
|
style: {
|
|
1316
1445
|
display: "flex",
|
|
1317
1446
|
flexDirection: "column",
|
|
1318
|
-
marginTop:
|
|
1447
|
+
marginTop: 10
|
|
1319
1448
|
}
|
|
1320
1449
|
},
|
|
1321
1450
|
pujas.map((puja, pujaIndex) => {
|
|
@@ -1518,136 +1647,7 @@ var A4PujaList = ({
|
|
|
1518
1647
|
));
|
|
1519
1648
|
})));
|
|
1520
1649
|
})
|
|
1521
|
-
)
|
|
1522
|
-
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1523
|
-
) && /* @__PURE__ */ React11.createElement(React11.Fragment, null, /* @__PURE__ */ React11.createElement(Text11, { style: { fontSize: 14, fontWeight: "bold", marginTop: 20 } }, "Early Reminders for Upcoming Pujas"), /* @__PURE__ */ React11.createElement(View7, { wrap: false, style: { marginTop: 10 } }, /* @__PURE__ */ React11.createElement(
|
|
1524
|
-
View7,
|
|
1525
|
-
{
|
|
1526
|
-
style: {
|
|
1527
|
-
display: "flex",
|
|
1528
|
-
flexDirection: "row",
|
|
1529
|
-
border: "1px solid black"
|
|
1530
|
-
}
|
|
1531
|
-
},
|
|
1532
|
-
/* @__PURE__ */ React11.createElement(
|
|
1533
|
-
View7,
|
|
1534
|
-
{
|
|
1535
|
-
style: {
|
|
1536
|
-
padding: 6,
|
|
1537
|
-
fontSize: 10,
|
|
1538
|
-
borderRight: "1px solid black",
|
|
1539
|
-
fontWeight: "semibold",
|
|
1540
|
-
width: "10%"
|
|
1541
|
-
}
|
|
1542
|
-
},
|
|
1543
|
-
/* @__PURE__ */ React11.createElement(Text11, null, "Sr No")
|
|
1544
|
-
),
|
|
1545
|
-
/* @__PURE__ */ React11.createElement(
|
|
1546
|
-
View7,
|
|
1547
|
-
{
|
|
1548
|
-
style: {
|
|
1549
|
-
padding: 6,
|
|
1550
|
-
fontSize: 10,
|
|
1551
|
-
borderRight: "1px solid black",
|
|
1552
|
-
fontWeight: "semibold",
|
|
1553
|
-
width: "60%"
|
|
1554
|
-
}
|
|
1555
|
-
},
|
|
1556
|
-
/* @__PURE__ */ React11.createElement(Text11, null, "Puja Name")
|
|
1557
|
-
),
|
|
1558
|
-
/* @__PURE__ */ React11.createElement(
|
|
1559
|
-
View7,
|
|
1560
|
-
{
|
|
1561
|
-
style: {
|
|
1562
|
-
padding: 6,
|
|
1563
|
-
fontSize: 10,
|
|
1564
|
-
borderRight: "1px solid black",
|
|
1565
|
-
fontWeight: "semibold",
|
|
1566
|
-
width: "10%"
|
|
1567
|
-
}
|
|
1568
|
-
},
|
|
1569
|
-
/* @__PURE__ */ React11.createElement(Text11, null, "Qty")
|
|
1570
|
-
),
|
|
1571
|
-
/* @__PURE__ */ React11.createElement(
|
|
1572
|
-
View7,
|
|
1573
|
-
{
|
|
1574
|
-
style: {
|
|
1575
|
-
padding: 6,
|
|
1576
|
-
fontSize: 10,
|
|
1577
|
-
borderRight: "none",
|
|
1578
|
-
fontWeight: "semibold",
|
|
1579
|
-
width: "20%"
|
|
1580
|
-
}
|
|
1581
|
-
},
|
|
1582
|
-
/* @__PURE__ */ React11.createElement(Text11, null, "Date")
|
|
1583
|
-
)
|
|
1584
|
-
))), pujas.some(
|
|
1585
|
-
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1586
|
-
) ? pujas.flatMap(
|
|
1587
|
-
(puja, pujaIndex) => puja.bookings.filter((booking) => booking.is_early_reminder).map((booking, bookingIndex) => {
|
|
1588
|
-
serialOfEarlyReminders++;
|
|
1589
|
-
return /* @__PURE__ */ React11.createElement(
|
|
1590
|
-
View7,
|
|
1591
|
-
{
|
|
1592
|
-
key: `${pujaIndex}-${bookingIndex}`,
|
|
1593
|
-
style: {
|
|
1594
|
-
display: "flex",
|
|
1595
|
-
flexDirection: "row",
|
|
1596
|
-
border: "1px solid black",
|
|
1597
|
-
borderTop: "none"
|
|
1598
|
-
}
|
|
1599
|
-
},
|
|
1600
|
-
/* @__PURE__ */ React11.createElement(
|
|
1601
|
-
View7,
|
|
1602
|
-
{
|
|
1603
|
-
style: {
|
|
1604
|
-
padding: 6,
|
|
1605
|
-
fontSize: 10,
|
|
1606
|
-
borderRight: "1px solid black",
|
|
1607
|
-
width: "10%"
|
|
1608
|
-
}
|
|
1609
|
-
},
|
|
1610
|
-
/* @__PURE__ */ React11.createElement(Text11, null, serialOfEarlyReminders)
|
|
1611
|
-
),
|
|
1612
|
-
/* @__PURE__ */ React11.createElement(
|
|
1613
|
-
View7,
|
|
1614
|
-
{
|
|
1615
|
-
style: {
|
|
1616
|
-
padding: 6,
|
|
1617
|
-
fontSize: 10,
|
|
1618
|
-
borderRight: "1px solid black",
|
|
1619
|
-
width: "60%"
|
|
1620
|
-
}
|
|
1621
|
-
},
|
|
1622
|
-
/* @__PURE__ */ React11.createElement(Text11, null, puja.name)
|
|
1623
|
-
),
|
|
1624
|
-
/* @__PURE__ */ React11.createElement(
|
|
1625
|
-
View7,
|
|
1626
|
-
{
|
|
1627
|
-
style: {
|
|
1628
|
-
padding: 6,
|
|
1629
|
-
fontSize: 10,
|
|
1630
|
-
borderRight: "1px solid black",
|
|
1631
|
-
width: "10%"
|
|
1632
|
-
}
|
|
1633
|
-
},
|
|
1634
|
-
/* @__PURE__ */ React11.createElement(Text11, null, booking.quantity)
|
|
1635
|
-
),
|
|
1636
|
-
/* @__PURE__ */ React11.createElement(
|
|
1637
|
-
View7,
|
|
1638
|
-
{
|
|
1639
|
-
style: {
|
|
1640
|
-
padding: 6,
|
|
1641
|
-
fontSize: 10,
|
|
1642
|
-
borderRight: "none",
|
|
1643
|
-
width: "20%"
|
|
1644
|
-
}
|
|
1645
|
-
},
|
|
1646
|
-
/* @__PURE__ */ React11.createElement(Text11, null, booking.date ? new Date(booking.date).toDateString() : "")
|
|
1647
|
-
)
|
|
1648
|
-
);
|
|
1649
|
-
})
|
|
1650
|
-
) : null)));
|
|
1650
|
+
))));
|
|
1651
1651
|
};
|
|
1652
1652
|
var A4PujaList_default = A4PujaList;
|
|
1653
1653
|
|
|
@@ -1860,20 +1860,148 @@ var A4CombinedReport = ({
|
|
|
1860
1860
|
},
|
|
1861
1861
|
src: bmpLogo
|
|
1862
1862
|
}
|
|
1863
|
-
), /* @__PURE__ */ React13.createElement(
|
|
1863
|
+
), /* @__PURE__ */ React13.createElement(Text13, { style: { fontSize: 11, marginTop: 5, textAlign: "right" } }, "Date: ", date.toDateString()), pujaData.some(
|
|
1864
|
+
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1865
|
+
) && /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(
|
|
1864
1866
|
Text13,
|
|
1865
1867
|
{
|
|
1866
|
-
style: { fontSize:
|
|
1868
|
+
style: { fontSize: 14, fontWeight: "bold", marginTop: 10 }
|
|
1867
1869
|
},
|
|
1868
|
-
"
|
|
1869
|
-
|
|
1870
|
-
|
|
1870
|
+
"Early Reminders for Upcoming Pujas"
|
|
1871
|
+
), /* @__PURE__ */ React13.createElement(View9, { wrap: false, style: { marginTop: 10 } }, /* @__PURE__ */ React13.createElement(
|
|
1872
|
+
View9,
|
|
1873
|
+
{
|
|
1874
|
+
style: {
|
|
1875
|
+
display: "flex",
|
|
1876
|
+
flexDirection: "row",
|
|
1877
|
+
border: "1px solid black"
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
/* @__PURE__ */ React13.createElement(
|
|
1881
|
+
View9,
|
|
1882
|
+
{
|
|
1883
|
+
style: {
|
|
1884
|
+
padding: 6,
|
|
1885
|
+
fontSize: 10,
|
|
1886
|
+
borderRight: "1px solid black",
|
|
1887
|
+
fontWeight: "semibold",
|
|
1888
|
+
width: "10%"
|
|
1889
|
+
}
|
|
1890
|
+
},
|
|
1891
|
+
/* @__PURE__ */ React13.createElement(Text13, null, "Sr No")
|
|
1892
|
+
),
|
|
1893
|
+
/* @__PURE__ */ React13.createElement(
|
|
1894
|
+
View9,
|
|
1895
|
+
{
|
|
1896
|
+
style: {
|
|
1897
|
+
padding: 6,
|
|
1898
|
+
fontSize: 10,
|
|
1899
|
+
borderRight: "1px solid black",
|
|
1900
|
+
fontWeight: "semibold",
|
|
1901
|
+
width: "60%"
|
|
1902
|
+
}
|
|
1903
|
+
},
|
|
1904
|
+
/* @__PURE__ */ React13.createElement(Text13, null, "Puja Name")
|
|
1905
|
+
),
|
|
1906
|
+
/* @__PURE__ */ React13.createElement(
|
|
1907
|
+
View9,
|
|
1908
|
+
{
|
|
1909
|
+
style: {
|
|
1910
|
+
padding: 6,
|
|
1911
|
+
fontSize: 10,
|
|
1912
|
+
borderRight: "1px solid black",
|
|
1913
|
+
fontWeight: "semibold",
|
|
1914
|
+
width: "10%"
|
|
1915
|
+
}
|
|
1916
|
+
},
|
|
1917
|
+
/* @__PURE__ */ React13.createElement(Text13, null, "Qty")
|
|
1918
|
+
),
|
|
1919
|
+
/* @__PURE__ */ React13.createElement(
|
|
1920
|
+
View9,
|
|
1921
|
+
{
|
|
1922
|
+
style: {
|
|
1923
|
+
padding: 6,
|
|
1924
|
+
fontSize: 10,
|
|
1925
|
+
borderRight: "none",
|
|
1926
|
+
fontWeight: "semibold",
|
|
1927
|
+
width: "20%"
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1930
|
+
/* @__PURE__ */ React13.createElement(Text13, null, "Date")
|
|
1931
|
+
)
|
|
1932
|
+
))), pujaData.some(
|
|
1933
|
+
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
1934
|
+
) ? pujaData.flatMap(
|
|
1935
|
+
(puja, pujaIndex) => puja.bookings.filter((booking) => booking.is_early_reminder).map((booking, bookingIndex) => {
|
|
1936
|
+
serialOfEarlyReminders++;
|
|
1937
|
+
return /* @__PURE__ */ React13.createElement(
|
|
1938
|
+
View9,
|
|
1939
|
+
{
|
|
1940
|
+
key: `${pujaIndex}-${bookingIndex}`,
|
|
1941
|
+
style: {
|
|
1942
|
+
display: "flex",
|
|
1943
|
+
flexDirection: "row",
|
|
1944
|
+
border: "1px solid black",
|
|
1945
|
+
borderTop: "none"
|
|
1946
|
+
}
|
|
1947
|
+
},
|
|
1948
|
+
/* @__PURE__ */ React13.createElement(
|
|
1949
|
+
View9,
|
|
1950
|
+
{
|
|
1951
|
+
style: {
|
|
1952
|
+
padding: 6,
|
|
1953
|
+
fontSize: 10,
|
|
1954
|
+
borderRight: "1px solid black",
|
|
1955
|
+
width: "10%"
|
|
1956
|
+
}
|
|
1957
|
+
},
|
|
1958
|
+
/* @__PURE__ */ React13.createElement(Text13, null, serialOfEarlyReminders)
|
|
1959
|
+
),
|
|
1960
|
+
/* @__PURE__ */ React13.createElement(
|
|
1961
|
+
View9,
|
|
1962
|
+
{
|
|
1963
|
+
style: {
|
|
1964
|
+
padding: 6,
|
|
1965
|
+
fontSize: 10,
|
|
1966
|
+
borderRight: "1px solid black",
|
|
1967
|
+
width: "60%"
|
|
1968
|
+
}
|
|
1969
|
+
},
|
|
1970
|
+
/* @__PURE__ */ React13.createElement(Text13, null, puja.name)
|
|
1971
|
+
),
|
|
1972
|
+
/* @__PURE__ */ React13.createElement(
|
|
1973
|
+
View9,
|
|
1974
|
+
{
|
|
1975
|
+
style: {
|
|
1976
|
+
padding: 6,
|
|
1977
|
+
fontSize: 10,
|
|
1978
|
+
borderRight: "1px solid black",
|
|
1979
|
+
width: "10%"
|
|
1980
|
+
}
|
|
1981
|
+
},
|
|
1982
|
+
/* @__PURE__ */ React13.createElement(Text13, null, booking.quantity)
|
|
1983
|
+
),
|
|
1984
|
+
/* @__PURE__ */ React13.createElement(
|
|
1985
|
+
View9,
|
|
1986
|
+
{
|
|
1987
|
+
style: {
|
|
1988
|
+
padding: 6,
|
|
1989
|
+
fontSize: 10,
|
|
1990
|
+
borderRight: "none",
|
|
1991
|
+
width: "20%"
|
|
1992
|
+
}
|
|
1993
|
+
},
|
|
1994
|
+
/* @__PURE__ */ React13.createElement(Text13, null, booking.date ? new Date(booking.date).toDateString() : "")
|
|
1995
|
+
)
|
|
1996
|
+
);
|
|
1997
|
+
})
|
|
1998
|
+
) : null, /* @__PURE__ */ React13.createElement(Text13, { style: { fontSize: 14, fontWeight: "bold", marginTop: 20 } }, "Puja List"), /* @__PURE__ */ React13.createElement(Text13, { style: { fontSize: 12 } }, `${templeName}`), /* @__PURE__ */ React13.createElement(
|
|
1871
1999
|
View9,
|
|
1872
2000
|
{
|
|
1873
2001
|
style: {
|
|
1874
2002
|
display: "flex",
|
|
1875
2003
|
flexDirection: "column",
|
|
1876
|
-
marginTop:
|
|
2004
|
+
marginTop: 10
|
|
1877
2005
|
}
|
|
1878
2006
|
},
|
|
1879
2007
|
pujaData.map((puja, pujaIndex) => {
|
|
@@ -2076,146 +2204,7 @@ var A4CombinedReport = ({
|
|
|
2076
2204
|
));
|
|
2077
2205
|
})));
|
|
2078
2206
|
})
|
|
2079
|
-
),
|
|
2080
|
-
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
2081
|
-
) && /* @__PURE__ */ React13.createElement(React13.Fragment, null, /* @__PURE__ */ React13.createElement(
|
|
2082
|
-
Text13,
|
|
2083
|
-
{
|
|
2084
|
-
style: {
|
|
2085
|
-
fontSize: 14,
|
|
2086
|
-
fontWeight: "bold",
|
|
2087
|
-
marginTop: 20
|
|
2088
|
-
}
|
|
2089
|
-
},
|
|
2090
|
-
"Early Reminders for Upcoming Pujas"
|
|
2091
|
-
), /* @__PURE__ */ React13.createElement(View9, { wrap: false, style: { marginTop: 10 } }, /* @__PURE__ */ React13.createElement(
|
|
2092
|
-
View9,
|
|
2093
|
-
{
|
|
2094
|
-
style: {
|
|
2095
|
-
display: "flex",
|
|
2096
|
-
flexDirection: "row",
|
|
2097
|
-
border: "1px solid black"
|
|
2098
|
-
}
|
|
2099
|
-
},
|
|
2100
|
-
/* @__PURE__ */ React13.createElement(
|
|
2101
|
-
View9,
|
|
2102
|
-
{
|
|
2103
|
-
style: {
|
|
2104
|
-
padding: 6,
|
|
2105
|
-
fontSize: 10,
|
|
2106
|
-
borderRight: "1px solid black",
|
|
2107
|
-
fontWeight: "semibold",
|
|
2108
|
-
width: "10%"
|
|
2109
|
-
}
|
|
2110
|
-
},
|
|
2111
|
-
/* @__PURE__ */ React13.createElement(Text13, null, "Sr No")
|
|
2112
|
-
),
|
|
2113
|
-
/* @__PURE__ */ React13.createElement(
|
|
2114
|
-
View9,
|
|
2115
|
-
{
|
|
2116
|
-
style: {
|
|
2117
|
-
padding: 6,
|
|
2118
|
-
fontSize: 10,
|
|
2119
|
-
borderRight: "1px solid black",
|
|
2120
|
-
fontWeight: "semibold",
|
|
2121
|
-
width: "60%"
|
|
2122
|
-
}
|
|
2123
|
-
},
|
|
2124
|
-
/* @__PURE__ */ React13.createElement(Text13, null, "Puja Name")
|
|
2125
|
-
),
|
|
2126
|
-
/* @__PURE__ */ React13.createElement(
|
|
2127
|
-
View9,
|
|
2128
|
-
{
|
|
2129
|
-
style: {
|
|
2130
|
-
padding: 6,
|
|
2131
|
-
fontSize: 10,
|
|
2132
|
-
borderRight: "1px solid black",
|
|
2133
|
-
fontWeight: "semibold",
|
|
2134
|
-
width: "10%"
|
|
2135
|
-
}
|
|
2136
|
-
},
|
|
2137
|
-
/* @__PURE__ */ React13.createElement(Text13, null, "Qty")
|
|
2138
|
-
),
|
|
2139
|
-
/* @__PURE__ */ React13.createElement(
|
|
2140
|
-
View9,
|
|
2141
|
-
{
|
|
2142
|
-
style: {
|
|
2143
|
-
padding: 6,
|
|
2144
|
-
fontSize: 10,
|
|
2145
|
-
borderRight: "none",
|
|
2146
|
-
fontWeight: "semibold",
|
|
2147
|
-
width: "20%"
|
|
2148
|
-
}
|
|
2149
|
-
},
|
|
2150
|
-
/* @__PURE__ */ React13.createElement(Text13, null, "Date")
|
|
2151
|
-
)
|
|
2152
|
-
))), pujaData.some(
|
|
2153
|
-
(puja) => puja.bookings.some((booking) => booking.is_early_reminder)
|
|
2154
|
-
) ? pujaData.flatMap(
|
|
2155
|
-
(puja, pujaIndex) => puja.bookings.filter((booking) => booking.is_early_reminder).map((booking, bookingIndex) => {
|
|
2156
|
-
serialOfEarlyReminders++;
|
|
2157
|
-
return /* @__PURE__ */ React13.createElement(
|
|
2158
|
-
View9,
|
|
2159
|
-
{
|
|
2160
|
-
key: `${pujaIndex}-${bookingIndex}`,
|
|
2161
|
-
style: {
|
|
2162
|
-
display: "flex",
|
|
2163
|
-
flexDirection: "row",
|
|
2164
|
-
border: "1px solid black",
|
|
2165
|
-
borderTop: "none"
|
|
2166
|
-
}
|
|
2167
|
-
},
|
|
2168
|
-
/* @__PURE__ */ React13.createElement(
|
|
2169
|
-
View9,
|
|
2170
|
-
{
|
|
2171
|
-
style: {
|
|
2172
|
-
padding: 6,
|
|
2173
|
-
fontSize: 10,
|
|
2174
|
-
borderRight: "1px solid black",
|
|
2175
|
-
width: "10%"
|
|
2176
|
-
}
|
|
2177
|
-
},
|
|
2178
|
-
/* @__PURE__ */ React13.createElement(Text13, null, serialOfEarlyReminders)
|
|
2179
|
-
),
|
|
2180
|
-
/* @__PURE__ */ React13.createElement(
|
|
2181
|
-
View9,
|
|
2182
|
-
{
|
|
2183
|
-
style: {
|
|
2184
|
-
padding: 6,
|
|
2185
|
-
fontSize: 10,
|
|
2186
|
-
borderRight: "1px solid black",
|
|
2187
|
-
width: "60%"
|
|
2188
|
-
}
|
|
2189
|
-
},
|
|
2190
|
-
/* @__PURE__ */ React13.createElement(Text13, null, puja.name)
|
|
2191
|
-
),
|
|
2192
|
-
/* @__PURE__ */ React13.createElement(
|
|
2193
|
-
View9,
|
|
2194
|
-
{
|
|
2195
|
-
style: {
|
|
2196
|
-
padding: 6,
|
|
2197
|
-
fontSize: 10,
|
|
2198
|
-
borderRight: "1px solid black",
|
|
2199
|
-
width: "10%"
|
|
2200
|
-
}
|
|
2201
|
-
},
|
|
2202
|
-
/* @__PURE__ */ React13.createElement(Text13, null, booking.quantity)
|
|
2203
|
-
),
|
|
2204
|
-
/* @__PURE__ */ React13.createElement(
|
|
2205
|
-
View9,
|
|
2206
|
-
{
|
|
2207
|
-
style: {
|
|
2208
|
-
padding: 6,
|
|
2209
|
-
fontSize: 10,
|
|
2210
|
-
borderRight: "none",
|
|
2211
|
-
width: "20%"
|
|
2212
|
-
}
|
|
2213
|
-
},
|
|
2214
|
-
/* @__PURE__ */ React13.createElement(Text13, null, booking.date ? new Date(booking.date).toDateString() : "")
|
|
2215
|
-
)
|
|
2216
|
-
);
|
|
2217
|
-
})
|
|
2218
|
-
) : null), prasadData.length > 0 && /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
|
|
2207
|
+
)), prasadData.length > 0 && /* @__PURE__ */ React13.createElement(Page9, { size: "A4", style: { padding: 30, fontFamily: "Noto Sans" } }, /* @__PURE__ */ React13.createElement(
|
|
2219
2208
|
Image11,
|
|
2220
2209
|
{
|
|
2221
2210
|
fixed: true,
|
package/package.json
CHANGED