@mseva/digit-ui-module-common 1.0.11 → 1.0.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 +395 -137
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +333 -115
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -1357,6 +1357,48 @@ const WrapPaymentComponent = props => {
|
|
|
1357
1357
|
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
1358
1358
|
}
|
|
1359
1359
|
};
|
|
1360
|
+
const svCertificate = async () => {
|
|
1361
|
+
const state = tenantId;
|
|
1362
|
+
const applicationDetails = await Digit.SVService.search({
|
|
1363
|
+
tenantId,
|
|
1364
|
+
filters: {
|
|
1365
|
+
applicationNumber: consumerCode,
|
|
1366
|
+
isDraftApplication: false
|
|
1367
|
+
}
|
|
1368
|
+
});
|
|
1369
|
+
const generatePdfKeyForTL = "svcertificate";
|
|
1370
|
+
if (applicationDetails) {
|
|
1371
|
+
var _applicationDetails$S;
|
|
1372
|
+
let response = await Digit.PaymentService.generatePdf(state, {
|
|
1373
|
+
SVDetail: [applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$S = applicationDetails.SVDetail) === null || _applicationDetails$S === void 0 ? void 0 : _applicationDetails$S[0]]
|
|
1374
|
+
}, generatePdfKeyForTL);
|
|
1375
|
+
const fileStore = await Digit.PaymentService.printReciept(state, {
|
|
1376
|
+
fileStoreIds: response.filestoreIds[0]
|
|
1377
|
+
});
|
|
1378
|
+
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
1379
|
+
}
|
|
1380
|
+
};
|
|
1381
|
+
const svIdCard = async () => {
|
|
1382
|
+
const state = tenantId;
|
|
1383
|
+
const applicationDetails = await Digit.SVService.search({
|
|
1384
|
+
tenantId,
|
|
1385
|
+
filters: {
|
|
1386
|
+
applicationNumber: consumerCode,
|
|
1387
|
+
isDraftApplication: false
|
|
1388
|
+
}
|
|
1389
|
+
});
|
|
1390
|
+
const generatePdfKeyForTL = "svidentitycard";
|
|
1391
|
+
if (applicationDetails) {
|
|
1392
|
+
var _applicationDetails$S2;
|
|
1393
|
+
let response = await Digit.PaymentService.generatePdf(state, {
|
|
1394
|
+
SVDetail: [applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$S2 = applicationDetails.SVDetail) === null || _applicationDetails$S2 === void 0 ? void 0 : _applicationDetails$S2[0]]
|
|
1395
|
+
}, generatePdfKeyForTL);
|
|
1396
|
+
const fileStore = await Digit.PaymentService.printReciept(state, {
|
|
1397
|
+
fileStoreIds: response.filestoreIds[0]
|
|
1398
|
+
});
|
|
1399
|
+
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1360
1402
|
const printReciept = async () => {
|
|
1361
1403
|
var _payments$Payments$;
|
|
1362
1404
|
let generatePdfKeyForWs = "ws-onetime-receipt";
|
|
@@ -1386,8 +1428,8 @@ const WrapPaymentComponent = props => {
|
|
|
1386
1428
|
assessmentYear = assessmentYear == "" ? _fromDate + "-" + _toDate : assessmentYear + "," + _fromDate + "-" + _toDate;
|
|
1387
1429
|
}
|
|
1388
1430
|
const details = {
|
|
1389
|
-
|
|
1390
|
-
|
|
1431
|
+
assessmentYears: assessmentYear,
|
|
1432
|
+
arrearCode: ""
|
|
1391
1433
|
};
|
|
1392
1434
|
payments.Payments[0].paymentDetails[0].additionalDetails = details;
|
|
1393
1435
|
printRecieptNew(payments);
|
|
@@ -1396,7 +1438,7 @@ const WrapPaymentComponent = props => {
|
|
|
1396
1438
|
if (payments.Payments[0].paymentDetails[0].businessService == "BPAREG") {
|
|
1397
1439
|
details = {
|
|
1398
1440
|
...payments.Payments[0].additionalDetails,
|
|
1399
|
-
|
|
1441
|
+
stakeholderType: "Application"
|
|
1400
1442
|
};
|
|
1401
1443
|
}
|
|
1402
1444
|
payments.Payments[0].additionalDetails = details;
|
|
@@ -1669,34 +1711,34 @@ const WrapPaymentComponent = props => {
|
|
|
1669
1711
|
}
|
|
1670
1712
|
});
|
|
1671
1713
|
arrearRow = {
|
|
1672
|
-
|
|
1673
|
-
|
|
1674
|
-
|
|
1675
|
-
|
|
1676
|
-
|
|
1677
|
-
|
|
1678
|
-
|
|
1679
|
-
|
|
1680
|
-
|
|
1681
|
-
|
|
1682
|
-
|
|
1683
|
-
|
|
1684
|
-
|
|
1714
|
+
year: assessmentYearForReceipt,
|
|
1715
|
+
tax: tax,
|
|
1716
|
+
firecess: firecess,
|
|
1717
|
+
cancercess: cancercess,
|
|
1718
|
+
penalty: penalty,
|
|
1719
|
+
rebate: rebate,
|
|
1720
|
+
interest: interest,
|
|
1721
|
+
usage_exemption: usage_exemption,
|
|
1722
|
+
special_category_exemption: special_category_exemption,
|
|
1723
|
+
adhoc_penalty: adhoc_penalty,
|
|
1724
|
+
adhoc_rebate: adhoc_rebate,
|
|
1725
|
+
roundoff: roundoff,
|
|
1726
|
+
total: element.amountPaid
|
|
1685
1727
|
};
|
|
1686
1728
|
taxRow = {
|
|
1687
|
-
|
|
1688
|
-
|
|
1689
|
-
|
|
1690
|
-
|
|
1691
|
-
|
|
1692
|
-
|
|
1693
|
-
|
|
1694
|
-
|
|
1695
|
-
|
|
1696
|
-
|
|
1697
|
-
|
|
1698
|
-
|
|
1699
|
-
|
|
1729
|
+
year: assessmentYearForReceipt,
|
|
1730
|
+
tax: taxT,
|
|
1731
|
+
firecess: firecessT,
|
|
1732
|
+
cancercess: cancercessT,
|
|
1733
|
+
penalty: penaltyT,
|
|
1734
|
+
rebate: rebateT,
|
|
1735
|
+
interest: interestT,
|
|
1736
|
+
usage_exemption: usage_exemptionT,
|
|
1737
|
+
special_category_exemption: special_category_exemptionT,
|
|
1738
|
+
adhoc_penalty: adhoc_penaltyT,
|
|
1739
|
+
adhoc_rebate: adhoc_rebateT,
|
|
1740
|
+
roundoff: roundoffT,
|
|
1741
|
+
total: element.amount
|
|
1700
1742
|
};
|
|
1701
1743
|
arrearArray.push(arrearRow);
|
|
1702
1744
|
taxArray.push(taxRow);
|
|
@@ -1744,41 +1786,41 @@ const WrapPaymentComponent = props => {
|
|
|
1744
1786
|
}
|
|
1745
1787
|
});
|
|
1746
1788
|
arrearRow = {
|
|
1747
|
-
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1751
|
-
|
|
1752
|
-
|
|
1753
|
-
|
|
1754
|
-
|
|
1755
|
-
|
|
1756
|
-
|
|
1757
|
-
|
|
1758
|
-
|
|
1789
|
+
year: assessmentYearForReceipt,
|
|
1790
|
+
tax: tax,
|
|
1791
|
+
firecess: firecess,
|
|
1792
|
+
cancercess: cancercess,
|
|
1793
|
+
penalty: penalty,
|
|
1794
|
+
interest: interest,
|
|
1795
|
+
usage_exemption: usage_exemption,
|
|
1796
|
+
special_category_exemption: special_category_exemption,
|
|
1797
|
+
adhoc_penalty: adhoc_penalty,
|
|
1798
|
+
adhoc_rebate: adhoc_rebate,
|
|
1799
|
+
roundoff: roundoff,
|
|
1800
|
+
total: payments.Payments[0].paymentDetails[0].bill.billDetails[0].amountPaid
|
|
1759
1801
|
};
|
|
1760
1802
|
taxRow = {
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1803
|
+
year: assessmentYearForReceipt,
|
|
1804
|
+
tax: taxT,
|
|
1805
|
+
firecess: firecessT,
|
|
1806
|
+
cancercess: cancercessT,
|
|
1807
|
+
penalty: penaltyT,
|
|
1808
|
+
rebate: rebateT,
|
|
1809
|
+
interest: interestT,
|
|
1810
|
+
usage_exemption: usage_exemptionT,
|
|
1811
|
+
special_category_exemption: special_category_exemptionT,
|
|
1812
|
+
adhoc_penalty: adhoc_penaltyT,
|
|
1813
|
+
adhoc_rebate: adhoc_rebateT,
|
|
1814
|
+
roundoff: roundoffT,
|
|
1815
|
+
total: payments.Payments[0].paymentDetails[0].bill.billDetails[0].amount
|
|
1774
1816
|
};
|
|
1775
1817
|
arrearArray.push(arrearRow);
|
|
1776
1818
|
taxArray.push(taxRow);
|
|
1777
1819
|
}
|
|
1778
1820
|
const details = {
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1821
|
+
assessmentYears: assessmentYear,
|
|
1822
|
+
arrearArray: arrearArray,
|
|
1823
|
+
taxArray: taxArray
|
|
1782
1824
|
};
|
|
1783
1825
|
payments.Payments[0].paymentDetails[0].additionalDetails = details;
|
|
1784
1826
|
}
|
|
@@ -1884,7 +1926,74 @@ const WrapPaymentComponent = props => {
|
|
|
1884
1926
|
fill: "none"
|
|
1885
1927
|
}), /*#__PURE__*/React.createElement("path", {
|
|
1886
1928
|
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
1887
|
-
})), t("TL_CERTIFICATE")) : null, business_service == "
|
|
1929
|
+
})), t("TL_CERTIFICATE")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
1930
|
+
className: "primary-label-btn d-grid",
|
|
1931
|
+
style: {
|
|
1932
|
+
marginLeft: "unset",
|
|
1933
|
+
marginRight: "20px",
|
|
1934
|
+
marginTop: "15px",
|
|
1935
|
+
marginBottom: "15px"
|
|
1936
|
+
},
|
|
1937
|
+
onClick: printReciept
|
|
1938
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
1939
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1940
|
+
height: "24px",
|
|
1941
|
+
viewBox: "0 0 24 24",
|
|
1942
|
+
width: "24px",
|
|
1943
|
+
fill: "#a82227"
|
|
1944
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
1945
|
+
d: "M0 0h24v24H0V0z",
|
|
1946
|
+
fill: "none"
|
|
1947
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1948
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
1949
|
+
})), t("SV_FEE_RECIEPT")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
1950
|
+
className: "primary-label-btn d-grid",
|
|
1951
|
+
style: {
|
|
1952
|
+
marginLeft: "unset",
|
|
1953
|
+
marginRight: "20px",
|
|
1954
|
+
marginTop: "15px",
|
|
1955
|
+
marginBottom: "15px"
|
|
1956
|
+
},
|
|
1957
|
+
onClick: svCertificate
|
|
1958
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
1959
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1960
|
+
height: "24px",
|
|
1961
|
+
viewBox: "0 0 24 24",
|
|
1962
|
+
width: "24px",
|
|
1963
|
+
fill: "#a82227"
|
|
1964
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
1965
|
+
d: "M0 0h24v24H0V0z",
|
|
1966
|
+
fill: "none"
|
|
1967
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1968
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
1969
|
+
})), t("SV_CERTIFICATE")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
1970
|
+
className: "primary-label-btn d-grid",
|
|
1971
|
+
style: {
|
|
1972
|
+
marginLeft: "unset",
|
|
1973
|
+
marginRight: "20px",
|
|
1974
|
+
marginTop: "15px",
|
|
1975
|
+
marginBottom: "15px"
|
|
1976
|
+
},
|
|
1977
|
+
onClick: svIdCard
|
|
1978
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
1979
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
1980
|
+
height: "24px",
|
|
1981
|
+
viewBox: "0 0 24 24",
|
|
1982
|
+
width: "24px",
|
|
1983
|
+
fill: "#a82227"
|
|
1984
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
1985
|
+
d: "M0 0h24v24H0V0z",
|
|
1986
|
+
fill: "none"
|
|
1987
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
1988
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
1989
|
+
})), t("SV_ID_CARD")) : null, business_service == "sv-services" && /*#__PURE__*/React.createElement(Link, {
|
|
1990
|
+
to: `/digit-ui/citizen`
|
|
1991
|
+
}, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
1992
|
+
label: t("CORE_COMMON_GO_TO_HOME"),
|
|
1993
|
+
style: {
|
|
1994
|
+
marginTop: "15px"
|
|
1995
|
+
}
|
|
1996
|
+
})), business_service == "pet-services" ? /*#__PURE__*/React.createElement("div", {
|
|
1888
1997
|
className: "primary-label-btn d-grid",
|
|
1889
1998
|
style: {
|
|
1890
1999
|
marginLeft: "unset",
|
|
@@ -6298,6 +6407,48 @@ const SuccessfulPayment$1 = props => {
|
|
|
6298
6407
|
setTimeout(() => URL.revokeObjectURL(link.href), 7000);
|
|
6299
6408
|
}
|
|
6300
6409
|
};
|
|
6410
|
+
const svCertificate = async () => {
|
|
6411
|
+
const state = tenantId;
|
|
6412
|
+
const applicationDetails = await Digit.SVService.search({
|
|
6413
|
+
tenantId,
|
|
6414
|
+
filters: {
|
|
6415
|
+
applicationNumber: consumerCode,
|
|
6416
|
+
isDraftApplication: false
|
|
6417
|
+
}
|
|
6418
|
+
});
|
|
6419
|
+
const generatePdfKeyForTL = "svcertificate";
|
|
6420
|
+
if (applicationDetails) {
|
|
6421
|
+
var _applicationDetails$S;
|
|
6422
|
+
let response = await Digit.PaymentService.generatePdf(state, {
|
|
6423
|
+
SVDetail: [applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$S = applicationDetails.SVDetail) === null || _applicationDetails$S === void 0 ? void 0 : _applicationDetails$S[0]]
|
|
6424
|
+
}, generatePdfKeyForTL);
|
|
6425
|
+
const fileStore = await Digit.PaymentService.printReciept(state, {
|
|
6426
|
+
fileStoreIds: response.filestoreIds[0]
|
|
6427
|
+
});
|
|
6428
|
+
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
6429
|
+
}
|
|
6430
|
+
};
|
|
6431
|
+
const svIdCard = async () => {
|
|
6432
|
+
const state = tenantId;
|
|
6433
|
+
const applicationDetails = await Digit.SVService.search({
|
|
6434
|
+
tenantId,
|
|
6435
|
+
filters: {
|
|
6436
|
+
applicationNumber: consumerCode,
|
|
6437
|
+
isDraftApplication: false
|
|
6438
|
+
}
|
|
6439
|
+
});
|
|
6440
|
+
const generatePdfKeyForTL = "svidentitycard";
|
|
6441
|
+
if (applicationDetails) {
|
|
6442
|
+
var _applicationDetails$S2;
|
|
6443
|
+
let response = await Digit.PaymentService.generatePdf(state, {
|
|
6444
|
+
SVDetail: [applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$S2 = applicationDetails.SVDetail) === null || _applicationDetails$S2 === void 0 ? void 0 : _applicationDetails$S2[0]]
|
|
6445
|
+
}, generatePdfKeyForTL);
|
|
6446
|
+
const fileStore = await Digit.PaymentService.printReciept(state, {
|
|
6447
|
+
fileStoreIds: response.filestoreIds[0]
|
|
6448
|
+
});
|
|
6449
|
+
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
6450
|
+
}
|
|
6451
|
+
};
|
|
6301
6452
|
const printPdf = blob => {
|
|
6302
6453
|
const fileURL = URL.createObjectURL(blob);
|
|
6303
6454
|
var myWindow = window.open(fileURL);
|
|
@@ -6337,7 +6488,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
6337
6488
|
for (let i = 0; i < (workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data = workflowDetails.data) === null || _workflowDetails$data === void 0 ? void 0 : (_workflowDetails$data2 = _workflowDetails$data.processInstances) === null || _workflowDetails$data2 === void 0 ? void 0 : _workflowDetails$data2.length); i++) {
|
|
6338
6489
|
var _workflowDetails$data, _workflowDetails$data2, _workflowDetails$data3, _workflowDetails$data4, _workflowDetails$data5, _workflowDetails$data6, _workflowDetails$data7, _workflowDetails$data8, _workflowDetails$data9, _workflowDetails$data0, _workflowDetails$data1, _workflowDetails$data10, _workflowDetails$data11;
|
|
6339
6490
|
const newDate = new Date(workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data3 = workflowDetails.data) === null || _workflowDetails$data3 === void 0 ? void 0 : (_workflowDetails$data4 = _workflowDetails$data3.processInstances[i]) === null || _workflowDetails$data4 === void 0 ? void 0 : (_workflowDetails$data5 = _workflowDetails$data4.auditDetails) === null || _workflowDetails$data5 === void 0 ? void 0 : _workflowDetails$data5.createdTime);
|
|
6340
|
-
const formattedDate = format(newDate,
|
|
6491
|
+
const formattedDate = format(newDate, "dd-MM-yyyy HH:mm:ss");
|
|
6341
6492
|
console.log("formatteddate2", formattedDate);
|
|
6342
6493
|
if (((workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data6 = workflowDetails.data) === null || _workflowDetails$data6 === void 0 ? void 0 : (_workflowDetails$data7 = _workflowDetails$data6.processInstances[i]) === null || _workflowDetails$data7 === void 0 ? void 0 : _workflowDetails$data7.action) === "POST_PAYMENT_APPLY" || (workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data8 = workflowDetails.data) === null || _workflowDetails$data8 === void 0 ? void 0 : (_workflowDetails$data9 = _workflowDetails$data8.processInstances[i]) === null || _workflowDetails$data9 === void 0 ? void 0 : _workflowDetails$data9.action) === "PAY") && (workflowDetails === null || workflowDetails === void 0 ? void 0 : (_workflowDetails$data0 = workflowDetails.data) === null || _workflowDetails$data0 === void 0 ? void 0 : (_workflowDetails$data1 = _workflowDetails$data0.processInstances) === null || _workflowDetails$data1 === void 0 ? void 0 : (_workflowDetails$data10 = _workflowDetails$data1[i]) === null || _workflowDetails$data10 === void 0 ? void 0 : (_workflowDetails$data11 = _workflowDetails$data10.state) === null || _workflowDetails$data11 === void 0 ? void 0 : _workflowDetails$data11.applicationStatus) === "APPROVAL_INPROGRESS" && count == 0) {
|
|
6343
6494
|
var _workflowDetails$data12, _workflowDetails$data13, _workflowDetails$data14;
|
|
@@ -6406,7 +6557,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
6406
6557
|
assessmentYear = assessmentYear == "" ? _fromDate + "-" + _toDate : assessmentYear + "," + _fromDate + "-" + _toDate;
|
|
6407
6558
|
}
|
|
6408
6559
|
const details = {
|
|
6409
|
-
|
|
6560
|
+
assessmentYears: assessmentYear
|
|
6410
6561
|
};
|
|
6411
6562
|
payments.Payments[0].paymentDetails[0].additionalDetails = details;
|
|
6412
6563
|
printRecieptNew(payments);
|
|
@@ -6535,34 +6686,34 @@ const SuccessfulPayment$1 = props => {
|
|
|
6535
6686
|
}
|
|
6536
6687
|
});
|
|
6537
6688
|
arrearRow = {
|
|
6538
|
-
|
|
6539
|
-
|
|
6540
|
-
|
|
6541
|
-
|
|
6542
|
-
|
|
6543
|
-
|
|
6544
|
-
|
|
6545
|
-
|
|
6546
|
-
|
|
6547
|
-
|
|
6548
|
-
|
|
6549
|
-
|
|
6550
|
-
|
|
6689
|
+
year: assessmentYearForReceipt,
|
|
6690
|
+
tax: tax,
|
|
6691
|
+
firecess: firecess,
|
|
6692
|
+
cancercess: cancercess,
|
|
6693
|
+
penalty: penalty,
|
|
6694
|
+
rebate: rebate,
|
|
6695
|
+
interest: interest,
|
|
6696
|
+
usage_exemption: usage_exemption,
|
|
6697
|
+
special_category_exemption: special_category_exemption,
|
|
6698
|
+
adhoc_penalty: adhoc_penalty,
|
|
6699
|
+
adhoc_rebate: adhoc_rebate,
|
|
6700
|
+
roundoff: roundoff,
|
|
6701
|
+
total: element.amountPaid
|
|
6551
6702
|
};
|
|
6552
6703
|
taxRow = {
|
|
6553
|
-
|
|
6554
|
-
|
|
6555
|
-
|
|
6556
|
-
|
|
6557
|
-
|
|
6558
|
-
|
|
6559
|
-
|
|
6560
|
-
|
|
6561
|
-
|
|
6562
|
-
|
|
6563
|
-
|
|
6564
|
-
|
|
6565
|
-
|
|
6704
|
+
year: assessmentYearForReceipt,
|
|
6705
|
+
tax: taxT,
|
|
6706
|
+
firecess: firecessT,
|
|
6707
|
+
cancercess: cancercessT,
|
|
6708
|
+
penalty: penaltyT,
|
|
6709
|
+
rebate: rebateT,
|
|
6710
|
+
interest: interestT,
|
|
6711
|
+
usage_exemption: usage_exemptionT,
|
|
6712
|
+
special_category_exemption: special_category_exemptionT,
|
|
6713
|
+
adhoc_penalty: adhoc_penaltyT,
|
|
6714
|
+
adhoc_rebate: adhoc_rebateT,
|
|
6715
|
+
roundoff: roundoffT,
|
|
6716
|
+
total: element.amount
|
|
6566
6717
|
};
|
|
6567
6718
|
arrearArray.push(arrearRow);
|
|
6568
6719
|
taxArray.push(taxRow);
|
|
@@ -6610,41 +6761,41 @@ const SuccessfulPayment$1 = props => {
|
|
|
6610
6761
|
}
|
|
6611
6762
|
});
|
|
6612
6763
|
arrearRow = {
|
|
6613
|
-
|
|
6614
|
-
|
|
6615
|
-
|
|
6616
|
-
|
|
6617
|
-
|
|
6618
|
-
|
|
6619
|
-
|
|
6620
|
-
|
|
6621
|
-
|
|
6622
|
-
|
|
6623
|
-
|
|
6624
|
-
|
|
6764
|
+
year: assessmentYearForReceipt,
|
|
6765
|
+
tax: tax,
|
|
6766
|
+
firecess: firecess,
|
|
6767
|
+
cancercess: cancercess,
|
|
6768
|
+
penalty: penalty,
|
|
6769
|
+
interest: interest,
|
|
6770
|
+
usage_exemption: usage_exemption,
|
|
6771
|
+
special_category_exemption: special_category_exemption,
|
|
6772
|
+
adhoc_penalty: adhoc_penalty,
|
|
6773
|
+
adhoc_rebate: adhoc_rebate,
|
|
6774
|
+
roundoff: roundoff,
|
|
6775
|
+
total: payments.Payments[0].paymentDetails[0].bill.billDetails[0].amountPaid
|
|
6625
6776
|
};
|
|
6626
6777
|
taxRow = {
|
|
6627
|
-
|
|
6628
|
-
|
|
6629
|
-
|
|
6630
|
-
|
|
6631
|
-
|
|
6632
|
-
|
|
6633
|
-
|
|
6634
|
-
|
|
6635
|
-
|
|
6636
|
-
|
|
6637
|
-
|
|
6638
|
-
|
|
6639
|
-
|
|
6778
|
+
year: assessmentYearForReceipt,
|
|
6779
|
+
tax: taxT,
|
|
6780
|
+
firecess: firecessT,
|
|
6781
|
+
cancercess: cancercessT,
|
|
6782
|
+
penalty: penaltyT,
|
|
6783
|
+
rebate: rebateT,
|
|
6784
|
+
interest: interestT,
|
|
6785
|
+
usage_exemption: usage_exemptionT,
|
|
6786
|
+
special_category_exemption: special_category_exemptionT,
|
|
6787
|
+
adhoc_penalty: adhoc_penaltyT,
|
|
6788
|
+
adhoc_rebate: adhoc_rebateT,
|
|
6789
|
+
roundoff: roundoffT,
|
|
6790
|
+
total: payments.Payments[0].paymentDetails[0].bill.billDetails[0].amount
|
|
6640
6791
|
};
|
|
6641
6792
|
arrearArray.push(arrearRow);
|
|
6642
6793
|
taxArray.push(taxRow);
|
|
6643
6794
|
}
|
|
6644
6795
|
const details = {
|
|
6645
|
-
|
|
6646
|
-
|
|
6647
|
-
|
|
6796
|
+
assessmentYears: assessmentYear,
|
|
6797
|
+
arrearArray: arrearArray,
|
|
6798
|
+
taxArray: taxArray
|
|
6648
6799
|
};
|
|
6649
6800
|
payments.Payments[0].paymentDetails[0].additionalDetails = details;
|
|
6650
6801
|
}
|
|
@@ -6703,7 +6854,74 @@ const SuccessfulPayment$1 = props => {
|
|
|
6703
6854
|
fill: "none"
|
|
6704
6855
|
}), /*#__PURE__*/React.createElement("path", {
|
|
6705
6856
|
d: "M19 8H5c-1.66 0-3 1.34-3 3v6h4v4h12v-4h4v-6c0-1.66-1.34-3-3-3zm-3 11H8v-5h8v5zm3-7c-.55 0-1-.45-1-1s.45-1 1-1 1 .45 1 1-.45 1-1 1zm-1-9H6v4h12V3z"
|
|
6706
|
-
})), t("CS_COMMON_PRINT_CERTIFICATE")) : null,
|
|
6857
|
+
})), t("CS_COMMON_PRINT_CERTIFICATE")) : null, businessService == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
6858
|
+
className: "primary-label-btn d-grid",
|
|
6859
|
+
style: {
|
|
6860
|
+
marginLeft: "unset",
|
|
6861
|
+
marginRight: "20px",
|
|
6862
|
+
marginTop: "15px",
|
|
6863
|
+
marginBottom: "15px"
|
|
6864
|
+
},
|
|
6865
|
+
onClick: printReciept
|
|
6866
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
6867
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6868
|
+
height: "24px",
|
|
6869
|
+
viewBox: "0 0 24 24",
|
|
6870
|
+
width: "24px",
|
|
6871
|
+
fill: "#a82227"
|
|
6872
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
6873
|
+
d: "M0 0h24v24H0V0z",
|
|
6874
|
+
fill: "none"
|
|
6875
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
6876
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
6877
|
+
})), t("SV_FEE_RECIEPT")) : null, businessService == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
6878
|
+
className: "primary-label-btn d-grid",
|
|
6879
|
+
style: {
|
|
6880
|
+
marginLeft: "unset",
|
|
6881
|
+
marginRight: "20px",
|
|
6882
|
+
marginTop: "15px",
|
|
6883
|
+
marginBottom: "15px"
|
|
6884
|
+
},
|
|
6885
|
+
onClick: svCertificate
|
|
6886
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
6887
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6888
|
+
height: "24px",
|
|
6889
|
+
viewBox: "0 0 24 24",
|
|
6890
|
+
width: "24px",
|
|
6891
|
+
fill: "#a82227"
|
|
6892
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
6893
|
+
d: "M0 0h24v24H0V0z",
|
|
6894
|
+
fill: "none"
|
|
6895
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
6896
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
6897
|
+
})), t("SV_CERTIFICATE")) : null, businessService == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
6898
|
+
className: "primary-label-btn d-grid",
|
|
6899
|
+
style: {
|
|
6900
|
+
marginLeft: "unset",
|
|
6901
|
+
marginRight: "20px",
|
|
6902
|
+
marginTop: "15px",
|
|
6903
|
+
marginBottom: "15px"
|
|
6904
|
+
},
|
|
6905
|
+
onClick: svIdCard
|
|
6906
|
+
}, /*#__PURE__*/React.createElement("svg", {
|
|
6907
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
6908
|
+
height: "24px",
|
|
6909
|
+
viewBox: "0 0 24 24",
|
|
6910
|
+
width: "24px",
|
|
6911
|
+
fill: "#a82227"
|
|
6912
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
6913
|
+
d: "M0 0h24v24H0V0z",
|
|
6914
|
+
fill: "none"
|
|
6915
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
6916
|
+
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
6917
|
+
})), t("SV_ID_CARD")) : null, businessService == "sv-services" && /*#__PURE__*/React.createElement(Link, {
|
|
6918
|
+
to: `/digit-ui/citizen`
|
|
6919
|
+
}, /*#__PURE__*/React.createElement(SubmitBar, {
|
|
6920
|
+
label: t("CORE_COMMON_GO_TO_HOME"),
|
|
6921
|
+
style: {
|
|
6922
|
+
marginTop: "15px"
|
|
6923
|
+
}
|
|
6924
|
+
})), (data === null || data === void 0 ? void 0 : (_data$8 = data[0]) === null || _data$8 === void 0 ? void 0 : _data$8.businessService) === "BPA_OC" && ((data === null || data === void 0 ? void 0 : (_data$9 = data[0]) === null || _data$9 === void 0 ? void 0 : _data$9.status) === "APPROVED" || (data === null || data === void 0 ? void 0 : (_data$0 = data[0]) === null || _data$0 === void 0 ? void 0 : _data$0.status) === "PENDING_SANC_FEE_PAYMENT") ? /*#__PURE__*/React.createElement("div", {
|
|
6707
6925
|
className: "primary-label-btn d-grid",
|
|
6708
6926
|
style: {
|
|
6709
6927
|
marginLeft: "unset"
|