@mseva/digit-ui-module-common 1.1.88-dev.1.26 → 1.1.88-dev.1.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 +1 -1
- package/dist/index.js.map +1 -1
- package/dist/index.modern.js +157 -38
- package/dist/index.modern.js.map +1 -1
- package/package.json +1 -1
package/dist/index.modern.js
CHANGED
|
@@ -7410,11 +7410,16 @@ const WrapPaymentComponent = props => {
|
|
|
7410
7410
|
if (sourceData) {
|
|
7411
7411
|
var _sourceData$approvalN, _sourceData$additiona, _sourceData$additiona2, _sourceData$additiona3, _sourceData$additiona4;
|
|
7412
7412
|
fileNo = `PB/${districtCode}/${ulbCode}/${+(sourceData === null || sourceData === void 0 ? void 0 : (_sourceData$approvalN = sourceData.approvalNo) === null || _sourceData$approvalN === void 0 ? void 0 : _sourceData$approvalN.slice(-6)) + 500000}`;
|
|
7413
|
+
console.log("newCode", fileNo);
|
|
7413
7414
|
usage = (sourceData === null || sourceData === void 0 ? void 0 : (_sourceData$additiona = sourceData.additionalDetails) === null || _sourceData$additiona === void 0 ? void 0 : _sourceData$additiona.usage) || (sourceData === null || sourceData === void 0 ? void 0 : (_sourceData$additiona2 = sourceData.additionalDetails) === null || _sourceData$additiona2 === void 0 ? void 0 : (_sourceData$additiona3 = _sourceData$additiona2.siteDetails) === null || _sourceData$additiona3 === void 0 ? void 0 : (_sourceData$additiona4 = _sourceData$additiona3.buildingCategory) === null || _sourceData$additiona4 === void 0 ? void 0 : _sourceData$additiona4.name);
|
|
7415
|
+
console.log("usage", usage);
|
|
7414
7416
|
}
|
|
7417
|
+
console.log("licenseType:", licenseType);
|
|
7415
7418
|
const state = Digit.ULBService.getStateId();
|
|
7416
7419
|
const fee = paymentData === null || paymentData === void 0 ? void 0 : paymentData.totalAmountPaid;
|
|
7420
|
+
console.log("fee here here", fee);
|
|
7417
7421
|
const amountinwords = amountToWords(fee);
|
|
7422
|
+
console.log('amountinwords', amountinwords);
|
|
7418
7423
|
let response = {
|
|
7419
7424
|
filestoreIds: [(_payments$Payments$ = payments.Payments[0]) === null || _payments$Payments$ === void 0 ? void 0 : _payments$Payments$.fileStoreId]
|
|
7420
7425
|
};
|
|
@@ -7458,7 +7463,7 @@ const WrapPaymentComponent = props => {
|
|
|
7458
7463
|
...paymentData
|
|
7459
7464
|
}]
|
|
7460
7465
|
}, generatePdfKeyForWs);
|
|
7461
|
-
} else if (paymentData.paymentDetails[0].businessService.includes("BPA") || paymentData.paymentDetails[0].businessService.includes("clu") || paymentData.paymentDetails[0].businessService.includes("
|
|
7466
|
+
} else if (paymentData.paymentDetails[0].businessService.includes("BPA") || paymentData.paymentDetails[0].businessService.includes("clu") || paymentData.paymentDetails[0].businessService.includes("LAYOUT")) {
|
|
7462
7467
|
const designation = ulbType === "Municipal Corporation" ? "Municipal Commissioner" : "Executive Officer";
|
|
7463
7468
|
let updatedpayments;
|
|
7464
7469
|
if (paymentData.paymentDetails[0].businessService.includes("BPAREG")) {
|
|
@@ -7504,6 +7509,7 @@ const WrapPaymentComponent = props => {
|
|
|
7504
7509
|
}]
|
|
7505
7510
|
}, generatePdfKey);
|
|
7506
7511
|
} else {
|
|
7512
|
+
console.log('this else triggered');
|
|
7507
7513
|
response = await Digit.PaymentService.generatePdf(tenantId, {
|
|
7508
7514
|
Payments: [{
|
|
7509
7515
|
...paymentData,
|
|
@@ -7529,6 +7535,7 @@ const WrapPaymentComponent = props => {
|
|
|
7529
7535
|
const blob = await res.blob();
|
|
7530
7536
|
downloadPdf(blob, `receipt_${receiptNumber || "obpas_noc"}.pdf`);
|
|
7531
7537
|
} catch (err) {
|
|
7538
|
+
console.log(err, "error in receipt download");
|
|
7532
7539
|
window.open(downloadUrl, "_blank");
|
|
7533
7540
|
}
|
|
7534
7541
|
} else {
|
|
@@ -7700,15 +7707,28 @@ const WrapPaymentComponent = props => {
|
|
|
7700
7707
|
if (chbPermissionLoading) return;
|
|
7701
7708
|
setChbPermissionLoading(true);
|
|
7702
7709
|
try {
|
|
7703
|
-
var _applicationDetails$c,
|
|
7710
|
+
var _applicationDetails$c, _challanDetails$addit, _challanDetails$addit2, _challanDetails$addre, _applicationDetails$A3, _applicationDetails$A4;
|
|
7704
7711
|
const applicationDetails = await Digit.ChallanGenerationService.search({
|
|
7705
7712
|
tenantId,
|
|
7706
7713
|
filters: {
|
|
7707
7714
|
challanNo: consumerCode
|
|
7708
7715
|
}
|
|
7709
7716
|
});
|
|
7710
|
-
const
|
|
7711
|
-
|
|
7717
|
+
const challanDetails = applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$c = applicationDetails.challans) === null || _applicationDetails$c === void 0 ? void 0 : _applicationDetails$c[0];
|
|
7718
|
+
const latitude = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addit = challanDetails.additionalDetail) === null || _challanDetails$addit === void 0 ? void 0 : _challanDetails$addit.latitude;
|
|
7719
|
+
const longitude = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addit2 = challanDetails.additionalDetail) === null || _challanDetails$addit2 === void 0 ? void 0 : _challanDetails$addit2.longitude;
|
|
7720
|
+
const addressFallback = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addre = challanDetails.address) === null || _challanDetails$addre === void 0 ? void 0 : _challanDetails$addre.addressLine1;
|
|
7721
|
+
let location = addressFallback;
|
|
7722
|
+
if (latitude && longitude) {
|
|
7723
|
+
try {
|
|
7724
|
+
const geoLocation = await getLocationName(latitude, longitude);
|
|
7725
|
+
if (geoLocation) {
|
|
7726
|
+
location = geoLocation;
|
|
7727
|
+
}
|
|
7728
|
+
} catch (err) {
|
|
7729
|
+
console.warn("Reverse geocoding failed, using address fallback", err);
|
|
7730
|
+
}
|
|
7731
|
+
}
|
|
7712
7732
|
const challan = {
|
|
7713
7733
|
...applicationDetails,
|
|
7714
7734
|
...challanEmpData
|
|
@@ -8251,27 +8271,7 @@ const WrapPaymentComponent = props => {
|
|
|
8251
8271
|
month: "2-digit",
|
|
8252
8272
|
year: "numeric"
|
|
8253
8273
|
})
|
|
8254
|
-
})), business_service == "
|
|
8255
|
-
className: "primary-label-btn d-grid",
|
|
8256
|
-
style: {
|
|
8257
|
-
marginLeft: "unset",
|
|
8258
|
-
marginRight: "20px",
|
|
8259
|
-
marginTop: "15px",
|
|
8260
|
-
marginBottom: "15px"
|
|
8261
|
-
},
|
|
8262
|
-
onClick: printReciept
|
|
8263
|
-
}, /*#__PURE__*/React.createElement("svg", {
|
|
8264
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
8265
|
-
height: "24px",
|
|
8266
|
-
viewBox: "0 0 24 24",
|
|
8267
|
-
width: "24px",
|
|
8268
|
-
fill: "#a82227"
|
|
8269
|
-
}, /*#__PURE__*/React.createElement("path", {
|
|
8270
|
-
d: "M0 0h24v24H0V0z",
|
|
8271
|
-
fill: "none"
|
|
8272
|
-
}), /*#__PURE__*/React.createElement("path", {
|
|
8273
|
-
d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
|
|
8274
|
-
})), t("TL_RECEIPT")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
8274
|
+
})), business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
|
|
8275
8275
|
className: "primary-label-btn d-grid",
|
|
8276
8276
|
style: {
|
|
8277
8277
|
marginLeft: "unset",
|
|
@@ -8601,7 +8601,7 @@ const CitizenPayment = ({
|
|
|
8601
8601
|
const isResponse = window.location.href.includes("/response");
|
|
8602
8602
|
const isMobile = window.Digit.Utils.browser.isMobile();
|
|
8603
8603
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("div", {
|
|
8604
|
-
className: "
|
|
8604
|
+
className: "card"
|
|
8605
8605
|
}, /*#__PURE__*/React.createElement(Switch, null, /*#__PURE__*/React.createElement(AppContainer, null, !isResponse ? /*#__PURE__*/React.createElement("div", {
|
|
8606
8606
|
style: window.location.href.includes("application-overview") || isMobile ? {
|
|
8607
8607
|
marginLeft: "10px"
|
|
@@ -11288,6 +11288,7 @@ const BillDetails$1 = ({
|
|
|
11288
11288
|
})));
|
|
11289
11289
|
};
|
|
11290
11290
|
const isTL = businessService === "TL";
|
|
11291
|
+
console.log("billDetails==||||", billDetails);
|
|
11291
11292
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(StatusTable, null, !checkFSM && bill && config.details.map((obj, index) => {
|
|
11292
11293
|
const value = obj.keyPath.reduce((acc, key) => {
|
|
11293
11294
|
if (typeof key === "function") acc = key(acc);else acc = acc[key];
|
|
@@ -11608,6 +11609,8 @@ const CollectPayment = props => {
|
|
|
11608
11609
|
} = useQRDetails(props, t);
|
|
11609
11610
|
const [toast, setToast] = useState(null);
|
|
11610
11611
|
const isChallanGeneration = location.pathname.includes("Challan_Generation");
|
|
11612
|
+
const isPetService = location.pathname.includes("pet-services");
|
|
11613
|
+
console.log("isPetService", isPetService);
|
|
11611
11614
|
useEffect(() => {
|
|
11612
11615
|
if (paymentdetails !== null && paymentdetails !== void 0 && paymentdetails.Bill && paymentdetails.Bill.length === 0) {
|
|
11613
11616
|
setToast({
|
|
@@ -11622,25 +11625,25 @@ const CollectPayment = props => {
|
|
|
11622
11625
|
}, {
|
|
11623
11626
|
code: "CHEQUE",
|
|
11624
11627
|
label: t("COMMON_MASTERS_PAYMENTMODE_CHEQUE")
|
|
11625
|
-
}, ...(!isChallanGeneration ? [{
|
|
11628
|
+
}, ...(!(isChallanGeneration || isPetService) ? [{
|
|
11626
11629
|
code: "CARD",
|
|
11627
11630
|
label: t("COMMON_MASTERS_PAYMENTMODE_CREDIT/DEBIT CARD")
|
|
11628
11631
|
}] : []), {
|
|
11629
11632
|
code: "DD",
|
|
11630
11633
|
label: "Demand Draft"
|
|
11631
|
-
}, ...(isChallanGeneration ? [{
|
|
11634
|
+
}, ...(isChallanGeneration || isPetService ? [{
|
|
11632
11635
|
code: "ONLINE",
|
|
11633
11636
|
label: "Online"
|
|
11634
|
-
}] : []), ...(!isChallanGeneration ? [{
|
|
11637
|
+
}] : []), ...(!(isChallanGeneration || isPetService) ? [{
|
|
11635
11638
|
code: "OFFLINE_NEFT",
|
|
11636
11639
|
label: "NEFT"
|
|
11637
|
-
}] : []), ...(!isChallanGeneration ? [{
|
|
11640
|
+
}] : []), ...(!(isChallanGeneration || isPetService) ? [{
|
|
11638
11641
|
code: "OFFLINE_RTGS",
|
|
11639
11642
|
label: "RTGS"
|
|
11640
|
-
}] : []), ...(!isChallanGeneration ? [{
|
|
11643
|
+
}] : []), ...(!(isChallanGeneration || isPetService) ? [{
|
|
11641
11644
|
code: "POSTAL_ORDER",
|
|
11642
11645
|
label: "Postal Order"
|
|
11643
|
-
}] : []), ...(!isChallanGeneration ? [{
|
|
11646
|
+
}] : []), ...(!(isChallanGeneration || isPetService) ? [{
|
|
11644
11647
|
code: "QR_CODE",
|
|
11645
11648
|
label: "QR Code"
|
|
11646
11649
|
}] : [])];
|
|
@@ -13817,6 +13820,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
13817
13820
|
receiptNumber,
|
|
13818
13821
|
businessService
|
|
13819
13822
|
} = useParams();
|
|
13823
|
+
const isMCollectService = (businessService === null || businessService === void 0 ? void 0 : businessService.includes(".")) && !(businessService !== null && businessService !== void 0 && businessService.includes("FSM")) && !(businessService !== null && businessService !== void 0 && businessService.includes("WS")) && !(businessService !== null && businessService !== void 0 && businessService.includes("SW")) && !(businessService !== null && businessService !== void 0 && businessService.includes("GC")) && !(businessService !== null && businessService !== void 0 && businessService.includes("BPA"));
|
|
13820
13824
|
console.log("checkParam", checkParam);
|
|
13821
13825
|
console.log("egPgTxnId", egPgTxnId);
|
|
13822
13826
|
console.log("businessService", businessService);
|
|
@@ -13913,7 +13917,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
13913
13917
|
} = Digit.Hooks.useCommonMDMS(tenantId, "common-masters", "ReceiptKey", {
|
|
13914
13918
|
select: data => {
|
|
13915
13919
|
var _data$commonMasters, _data$commonMasters$u, _data$commonMasters$u2;
|
|
13916
|
-
return businessService === "GC.ONE_TIME_FEE" ? "garbage-receipt" :
|
|
13920
|
+
return businessService === "GC.ONE_TIME_FEE" ? "garbage-receipt" : ((_data$commonMasters = data["common-masters"]) === null || _data$commonMasters === void 0 ? void 0 : (_data$commonMasters$u = _data$commonMasters.uiCommonPay) === null || _data$commonMasters$u === void 0 ? void 0 : (_data$commonMasters$u2 = _data$commonMasters$u.filter(({
|
|
13917
13921
|
code
|
|
13918
13922
|
}) => businessService === null || businessService === void 0 ? void 0 : businessService.includes(code))[0]) === null || _data$commonMasters$u2 === void 0 ? void 0 : _data$commonMasters$u2.receiptKey) || "consolidatedreceipt";
|
|
13919
13923
|
}
|
|
@@ -13965,6 +13969,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
13965
13969
|
...applicationDetails,
|
|
13966
13970
|
...challanEmpData
|
|
13967
13971
|
};
|
|
13972
|
+
console.log("applicationDetails", applicationDetails);
|
|
13968
13973
|
let application = challan;
|
|
13969
13974
|
let fileStoreId = applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$A = applicationDetails.Applications) === null || _applicationDetails$A === void 0 ? void 0 : (_applicationDetails$A2 = _applicationDetails$A[0]) === null || _applicationDetails$A2 === void 0 ? void 0 : _applicationDetails$A2.paymentReceiptFilestoreId;
|
|
13970
13975
|
if (!fileStoreId) {
|
|
@@ -13992,15 +13997,28 @@ const SuccessfulPayment$1 = props => {
|
|
|
13992
13997
|
if (chbPermissionLoading) return;
|
|
13993
13998
|
setChbPermissionLoading(true);
|
|
13994
13999
|
try {
|
|
13995
|
-
var _applicationDetails$c,
|
|
14000
|
+
var _applicationDetails$c, _challanDetails$addit, _challanDetails$addit2, _challanDetails$addre, _applicationDetails$A3, _applicationDetails$A4;
|
|
13996
14001
|
const applicationDetails = await Digit.ChallanGenerationService.search({
|
|
13997
14002
|
tenantId,
|
|
13998
14003
|
filters: {
|
|
13999
14004
|
challanNo: consumerCode
|
|
14000
14005
|
}
|
|
14001
14006
|
});
|
|
14002
|
-
const
|
|
14003
|
-
|
|
14007
|
+
const challanDetails = applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$c = applicationDetails.challans) === null || _applicationDetails$c === void 0 ? void 0 : _applicationDetails$c[0];
|
|
14008
|
+
const latitude = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addit = challanDetails.additionalDetail) === null || _challanDetails$addit === void 0 ? void 0 : _challanDetails$addit.latitude;
|
|
14009
|
+
const longitude = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addit2 = challanDetails.additionalDetail) === null || _challanDetails$addit2 === void 0 ? void 0 : _challanDetails$addit2.longitude;
|
|
14010
|
+
const addressFallback = challanDetails === null || challanDetails === void 0 ? void 0 : (_challanDetails$addre = challanDetails.address) === null || _challanDetails$addre === void 0 ? void 0 : _challanDetails$addre.addressLine1;
|
|
14011
|
+
let location = addressFallback;
|
|
14012
|
+
if (latitude && longitude) {
|
|
14013
|
+
try {
|
|
14014
|
+
const geoLocation = await getLocationName(latitude, longitude);
|
|
14015
|
+
if (geoLocation) {
|
|
14016
|
+
location = geoLocation;
|
|
14017
|
+
}
|
|
14018
|
+
} catch (err) {
|
|
14019
|
+
console.warn("Reverse geocoding failed, using address fallback", err);
|
|
14020
|
+
}
|
|
14021
|
+
}
|
|
14004
14022
|
const challan = {
|
|
14005
14023
|
...applicationDetails,
|
|
14006
14024
|
...challanEmpData
|
|
@@ -14235,6 +14253,64 @@ const SuccessfulPayment$1 = props => {
|
|
|
14235
14253
|
setPrinting(false);
|
|
14236
14254
|
}
|
|
14237
14255
|
};
|
|
14256
|
+
const printMCollectReceipt = async () => {
|
|
14257
|
+
if (printing) return;
|
|
14258
|
+
setPrinting(true);
|
|
14259
|
+
try {
|
|
14260
|
+
var _payments$Payments8, _payments$Payments8$, _payments$Payments9, _payments$Payments9$;
|
|
14261
|
+
const payments = await Digit.PaymentService.getReciept(tenantId, businessService, {
|
|
14262
|
+
consumerCodes: consumerCode
|
|
14263
|
+
});
|
|
14264
|
+
let response = {
|
|
14265
|
+
filestoreIds: [payments === null || payments === void 0 ? void 0 : (_payments$Payments8 = payments.Payments) === null || _payments$Payments8 === void 0 ? void 0 : (_payments$Payments8$ = _payments$Payments8[0]) === null || _payments$Payments8$ === void 0 ? void 0 : _payments$Payments8$.fileStoreId]
|
|
14266
|
+
};
|
|
14267
|
+
if (!(payments !== null && payments !== void 0 && (_payments$Payments9 = payments.Payments) !== null && _payments$Payments9 !== void 0 && (_payments$Payments9$ = _payments$Payments9[0]) !== null && _payments$Payments9$ !== void 0 && _payments$Payments9$.fileStoreId)) {
|
|
14268
|
+
response = await Digit.PaymentService.generatePdf(tenantId, {
|
|
14269
|
+
Payments: payments.Payments
|
|
14270
|
+
}, generatePdfKey || "consolidatedreceipt");
|
|
14271
|
+
}
|
|
14272
|
+
const fileStore = await Digit.PaymentService.printReciept(tenantId, {
|
|
14273
|
+
fileStoreIds: response.filestoreIds[0]
|
|
14274
|
+
});
|
|
14275
|
+
window.open(fileStore[response.filestoreIds[0]], "_blank");
|
|
14276
|
+
} finally {
|
|
14277
|
+
setPrinting(false);
|
|
14278
|
+
}
|
|
14279
|
+
};
|
|
14280
|
+
const printRLReceipt = async () => {
|
|
14281
|
+
if (printing) return;
|
|
14282
|
+
setPrinting(true);
|
|
14283
|
+
try {
|
|
14284
|
+
var _applicationDetails$B3, _applicationDetails$B4;
|
|
14285
|
+
const applicationDetails = await Digit.RentAndLeaseService.search({
|
|
14286
|
+
tenantId,
|
|
14287
|
+
filters: {
|
|
14288
|
+
applicationNumbers: consumerCode
|
|
14289
|
+
}
|
|
14290
|
+
});
|
|
14291
|
+
let application = applicationDetails;
|
|
14292
|
+
let fileStoreId = applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$B3 = applicationDetails.BookingApplication) === null || _applicationDetails$B3 === void 0 ? void 0 : (_applicationDetails$B4 = _applicationDetails$B3[0]) === null || _applicationDetails$B4 === void 0 ? void 0 : _applicationDetails$B4.paymentReceiptFilestoreId;
|
|
14293
|
+
if (!fileStoreId) {
|
|
14294
|
+
var _payments$Payments0;
|
|
14295
|
+
const payments = await Digit.PaymentService.getReciept(tenantId, businessService, {
|
|
14296
|
+
receiptNumbers: receiptNumber
|
|
14297
|
+
});
|
|
14298
|
+
let response = await Digit.PaymentService.generatePdf(tenantId, {
|
|
14299
|
+
Payments: [{
|
|
14300
|
+
...((payments === null || payments === void 0 ? void 0 : (_payments$Payments0 = payments.Payments) === null || _payments$Payments0 === void 0 ? void 0 : _payments$Payments0[0]) || {}),
|
|
14301
|
+
...application
|
|
14302
|
+
}]
|
|
14303
|
+
}, "rentandlease-receipt");
|
|
14304
|
+
fileStoreId = response === null || response === void 0 ? void 0 : response.filestoreIds[0];
|
|
14305
|
+
}
|
|
14306
|
+
const fileStore = await Digit.PaymentService.printReciept(tenantId, {
|
|
14307
|
+
fileStoreIds: fileStoreId
|
|
14308
|
+
});
|
|
14309
|
+
window.open(fileStore[fileStoreId], "_blank");
|
|
14310
|
+
} finally {
|
|
14311
|
+
setPrinting(false);
|
|
14312
|
+
}
|
|
14313
|
+
};
|
|
14238
14314
|
const svCertificate = async () => {
|
|
14239
14315
|
const state = tenantId;
|
|
14240
14316
|
const applicationDetails = await Digit.SVService.search({
|
|
@@ -14660,7 +14736,7 @@ const SuccessfulPayment$1 = props => {
|
|
|
14660
14736
|
display: "flex",
|
|
14661
14737
|
justifyContent: "space-evenly"
|
|
14662
14738
|
}
|
|
14663
|
-
}, businessService !== "chb-services" && businessService !== "adv-services" && businessService !== "pet-services" && businessService !== "NDC" && businessService !== "Challan_Generation" && /*#__PURE__*/React.createElement("div", {
|
|
14739
|
+
}, businessService !== "chb-services" && businessService !== "adv-services" && businessService !== "pet-services" && businessService !== "NDC" && businessService !== "Challan_Generation" && businessService !== "rl-services" && !isMCollectService && /*#__PURE__*/React.createElement("div", {
|
|
14664
14740
|
className: "primary-label-btn d-grid",
|
|
14665
14741
|
style: {
|
|
14666
14742
|
marginLeft: "unset",
|
|
@@ -14838,6 +14914,50 @@ const SuccessfulPayment$1 = props => {
|
|
|
14838
14914
|
fill: "none"
|
|
14839
14915
|
}), /*#__PURE__*/React.createElement("path", {
|
|
14840
14916
|
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"
|
|
14917
|
+
})), t("CHB_FEE_RECEIPT")))) : null, isMCollectService ? /*#__PURE__*/React.createElement("div", {
|
|
14918
|
+
style: {
|
|
14919
|
+
display: "flex",
|
|
14920
|
+
justifyContent: "flex-end",
|
|
14921
|
+
gap: "20px",
|
|
14922
|
+
marginRight: "20px",
|
|
14923
|
+
marginTop: "15px",
|
|
14924
|
+
marginBottom: "15px"
|
|
14925
|
+
}
|
|
14926
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
14927
|
+
className: "primary-label-btn d-grid",
|
|
14928
|
+
onClick: printing ? undefined : printMCollectReceipt
|
|
14929
|
+
}, printing ? /*#__PURE__*/React.createElement(Loader, null) : /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("svg", {
|
|
14930
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14931
|
+
height: "24",
|
|
14932
|
+
viewBox: "0 0 24 24",
|
|
14933
|
+
width: "24"
|
|
14934
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14935
|
+
d: "M0 0h24v24H0z",
|
|
14936
|
+
fill: "none"
|
|
14937
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
14938
|
+
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"
|
|
14939
|
+
})), t("CS_COMMON_PRINT_RECEIPT")))) : null, businessService == "rl-services" ? /*#__PURE__*/React.createElement("div", {
|
|
14940
|
+
style: {
|
|
14941
|
+
display: "flex",
|
|
14942
|
+
justifyContent: "flex-end",
|
|
14943
|
+
gap: "20px",
|
|
14944
|
+
marginRight: "20px",
|
|
14945
|
+
marginTop: "15px",
|
|
14946
|
+
marginBottom: "15px"
|
|
14947
|
+
}
|
|
14948
|
+
}, /*#__PURE__*/React.createElement("div", {
|
|
14949
|
+
className: "primary-label-btn d-grid",
|
|
14950
|
+
onClick: printing ? undefined : printRLReceipt
|
|
14951
|
+
}, printing ? /*#__PURE__*/React.createElement(Loader, null) : /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("svg", {
|
|
14952
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
14953
|
+
height: "24",
|
|
14954
|
+
viewBox: "0 0 24 24",
|
|
14955
|
+
width: "24"
|
|
14956
|
+
}, /*#__PURE__*/React.createElement("path", {
|
|
14957
|
+
d: "M0 0h24v24H0z",
|
|
14958
|
+
fill: "none"
|
|
14959
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
14960
|
+
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"
|
|
14841
14961
|
})), t("CHB_FEE_RECEIPT")))) : null, businessService == "Challan_Generation" ? /*#__PURE__*/React.createElement("div", {
|
|
14842
14962
|
style: {
|
|
14843
14963
|
display: "flex",
|
|
@@ -15174,7 +15294,6 @@ const EmployeePayment = ({
|
|
|
15174
15294
|
setLink
|
|
15175
15295
|
};
|
|
15176
15296
|
const isFsm = ((_location = location) === null || _location === void 0 ? void 0 : (_location$pathname = _location.pathname) === null || _location$pathname === void 0 ? void 0 : _location$pathname.includes("fsm")) || ((_location2 = location) === null || _location2 === void 0 ? void 0 : (_location2$pathname = _location2.pathname) === null || _location2$pathname === void 0 ? void 0 : _location2$pathname.includes("FSM"));
|
|
15177
|
-
const isMobile = window.Digit.Utils.browser.isMobile();
|
|
15178
15297
|
return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement("p", {
|
|
15179
15298
|
className: "breadcrumb",
|
|
15180
15299
|
style: {
|