@mseva/digit-ui-module-common 1.1.72 → 1.1.74

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.
@@ -7239,8 +7239,8 @@ const WrapPaymentComponent = props => {
7239
7239
  } = Digit.Hooks.obps.useLayoutSearchApplication({
7240
7240
  applicationNo: consumerCode
7241
7241
  }, tenantId);
7242
- console.log('cluapplicationdetails', cluapplicationdetails);
7243
- console.log('layoutapplicationdetails', layoutapplicationdetails);
7242
+ console.log("cluapplicationdetails", cluapplicationdetails);
7243
+ console.log("layoutapplicationdetails", layoutapplicationdetails);
7244
7244
  let challanEmpData = ChallanData(tenantId, consumerCode);
7245
7245
  const {
7246
7246
  isLoading,
@@ -7350,23 +7350,6 @@ const WrapPaymentComponent = props => {
7350
7350
  const paymentData = data === null || data === void 0 ? void 0 : (_data$payments2 = data.payments) === null || _data$payments2 === void 0 ? void 0 : _data$payments2.Payments[0];
7351
7351
  console.log("paymentData here here", paymentData);
7352
7352
  const transactionDate = paymentData === null || paymentData === void 0 ? void 0 : paymentData.transactionDate;
7353
- const printCertificate = async () => {
7354
- const state = tenantId;
7355
- const applicationDetails = await Digit.TLService.search({
7356
- applicationNumber: consumerCode,
7357
- tenantId
7358
- });
7359
- const generatePdfKeyForTL = "tlcertificate";
7360
- if (applicationDetails) {
7361
- let response = await Digit.PaymentService.generatePdf(state, {
7362
- Licenses: applicationDetails === null || applicationDetails === void 0 ? void 0 : applicationDetails.Licenses
7363
- }, generatePdfKeyForTL);
7364
- const fileStore = await Digit.PaymentService.printReciept(state, {
7365
- fileStoreIds: response.filestoreIds[0]
7366
- });
7367
- window.open(fileStore[response.filestoreIds[0]], "_blank");
7368
- }
7369
- };
7370
7353
  const svCertificate = async () => {
7371
7354
  const state = tenantId;
7372
7355
  const applicationDetails = await Digit.SVService.search({
@@ -7714,7 +7697,7 @@ const WrapPaymentComponent = props => {
7714
7697
  }
7715
7698
  });
7716
7699
  const location = await getLocationName(applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$c = applicationDetails.challans) === null || _applicationDetails$c === void 0 ? void 0 : (_applicationDetails$c2 = _applicationDetails$c[0]) === null || _applicationDetails$c2 === void 0 ? void 0 : (_applicationDetails$c3 = _applicationDetails$c2.additionalDetail) === null || _applicationDetails$c3 === void 0 ? void 0 : _applicationDetails$c3.latitude, applicationDetails === null || applicationDetails === void 0 ? void 0 : (_applicationDetails$c4 = applicationDetails.challans) === null || _applicationDetails$c4 === void 0 ? void 0 : (_applicationDetails$c5 = _applicationDetails$c4[0]) === null || _applicationDetails$c5 === void 0 ? void 0 : (_applicationDetails$c6 = _applicationDetails$c5.additionalDetail) === null || _applicationDetails$c6 === void 0 ? void 0 : _applicationDetails$c6.longitude);
7717
- console.log('location', location);
7700
+ console.log("location", location);
7718
7701
  const challan = {
7719
7702
  ...applicationDetails,
7720
7703
  ...challanEmpData
@@ -8243,25 +8226,7 @@ const WrapPaymentComponent = props => {
8243
8226
  fill: "none"
8244
8227
  }), /*#__PURE__*/React.createElement("path", {
8245
8228
  d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
8246
- })), t("TL_RECEIPT")) : null, business_service == "TL" ? /*#__PURE__*/React.createElement("div", {
8247
- className: "primary-label-btn d-grid",
8248
- style: {
8249
- marginLeft: "unset",
8250
- marginTop: "15px"
8251
- },
8252
- onClick: printCertificate
8253
- }, /*#__PURE__*/React.createElement("svg", {
8254
- xmlns: "http://www.w3.org/2000/svg",
8255
- height: "24px",
8256
- viewBox: "0 0 24 24",
8257
- width: "24px",
8258
- fill: "#a82227"
8259
- }, /*#__PURE__*/React.createElement("path", {
8260
- d: "M0 0h24v24H0V0z",
8261
- fill: "none"
8262
- }), /*#__PURE__*/React.createElement("path", {
8263
- d: "M19 9h-4V3H9v6H5l7 7 7-7zm-8 2V5h2v6h1.17L12 13.17 9.83 11H11zm-6 7h14v2H5z"
8264
- })), t("TL_CERTIFICATE")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
8229
+ })), t("TL_RECEIPT")) : null, business_service == "sv-services" ? /*#__PURE__*/React.createElement("div", {
8265
8230
  className: "primary-label-btn d-grid",
8266
8231
  style: {
8267
8232
  marginLeft: "unset",
@@ -8955,7 +8920,6 @@ const ChequeDetailsComponent = props => {
8955
8920
  className: "employee-card-input",
8956
8921
  value: bankName,
8957
8922
  type: "text",
8958
- className: "employee-card-input",
8959
8923
  readOnly: true,
8960
8924
  disabled: true
8961
8925
  })))), /*#__PURE__*/React.createElement("div", {
@@ -8970,7 +8934,6 @@ const ChequeDetailsComponent = props => {
8970
8934
  className: "employee-card-input",
8971
8935
  value: bankBranch,
8972
8936
  type: "text",
8973
- className: "employee-card-input",
8974
8937
  readOnly: true,
8975
8938
  disabled: true
8976
8939
  }))))));