@mseva/upyog-ui-module-asset 1.1.44-dev.1.6 → 1.1.44-dev.1.8
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.map +1 -1
- package/dist/index.modern.js +2 -39
- package/dist/index.modern.js.map +1 -1
- package/package.json +2 -2
package/dist/index.modern.js
CHANGED
|
@@ -8163,20 +8163,7 @@ const configTLApproverApplication = ({
|
|
|
8163
8163
|
populators: {
|
|
8164
8164
|
name: "comments"
|
|
8165
8165
|
}
|
|
8166
|
-
}, ...(checkCondtions ? [{
|
|
8167
|
-
label: t("TL_FORWARD_NAME_LABEL"),
|
|
8168
|
-
type: "text",
|
|
8169
|
-
populators: {
|
|
8170
|
-
name: "name",
|
|
8171
|
-
placeholder: t("TL_FORWARD_NAME_PLACEHOLDER")
|
|
8172
|
-
}
|
|
8173
8166
|
}, {
|
|
8174
|
-
label: t("TL_FORWARD_DATE_LABEL"),
|
|
8175
|
-
type: "date",
|
|
8176
|
-
populators: {
|
|
8177
|
-
name: "date"
|
|
8178
|
-
}
|
|
8179
|
-
}] : []), {
|
|
8180
8167
|
label: t("TL_APPROVAL_CHECKLIST_BUTTON_UP_FILE"),
|
|
8181
8168
|
populators: /*#__PURE__*/React.createElement(UploadFile, {
|
|
8182
8169
|
id: "workflow-doc",
|
|
@@ -9294,19 +9281,11 @@ const ActionModal$1 = ({
|
|
|
9294
9281
|
})();
|
|
9295
9282
|
}, [file]);
|
|
9296
9283
|
function submit(data) {
|
|
9297
|
-
var _applicationData;
|
|
9298
9284
|
applicationData = {
|
|
9299
9285
|
...applicationData,
|
|
9300
9286
|
action: action === null || action === void 0 ? void 0 : action.action,
|
|
9301
9287
|
comment: data === null || data === void 0 ? void 0 : data.comments,
|
|
9302
9288
|
assignee: !(selectedApprover !== null && selectedApprover !== void 0 && selectedApprover.uuid) ? null : [selectedApprover === null || selectedApprover === void 0 ? void 0 : selectedApprover.uuid],
|
|
9303
|
-
additionalDetails: {
|
|
9304
|
-
...(((_applicationData = applicationData) === null || _applicationData === void 0 ? void 0 : _applicationData.additionalDetails) || {}),
|
|
9305
|
-
...(data !== null && data !== void 0 && data.name || data !== null && data !== void 0 && data.date ? {
|
|
9306
|
-
forwardedBy: (data === null || data === void 0 ? void 0 : data.name) || "",
|
|
9307
|
-
forwardedDate: (data === null || data === void 0 ? void 0 : data.date) || ""
|
|
9308
|
-
} : {})
|
|
9309
|
-
},
|
|
9310
9289
|
wfDocuments: uploadedFile ? [{
|
|
9311
9290
|
documentType: (action === null || action === void 0 ? void 0 : action.action) + " DOC",
|
|
9312
9291
|
fileName: file === null || file === void 0 ? void 0 : file.name,
|
|
@@ -15879,22 +15858,6 @@ function ApplicationDetailsContent({
|
|
|
15879
15858
|
if (isWSModule) {
|
|
15880
15859
|
return;
|
|
15881
15860
|
}
|
|
15882
|
-
if (moduleCode === "TL") {
|
|
15883
|
-
const appNo = applicationData === null || applicationData === void 0 ? void 0 : applicationData.applicationNumber;
|
|
15884
|
-
if (!appNo) return;
|
|
15885
|
-
Digit.PaymentService.recieptSearch(tenantId, "TL", {
|
|
15886
|
-
consumerCodes: appNo
|
|
15887
|
-
}).then(response => {
|
|
15888
|
-
var _response$Payments;
|
|
15889
|
-
console.log("TL Payment History response:", response);
|
|
15890
|
-
if ((response === null || response === void 0 ? void 0 : (_response$Payments = response.Payments) === null || _response$Payments === void 0 ? void 0 : _response$Payments.length) > 0) {
|
|
15891
|
-
setPayments(response.Payments);
|
|
15892
|
-
}
|
|
15893
|
-
}).catch(error => {
|
|
15894
|
-
console.error("TL Payment search error:", error);
|
|
15895
|
-
});
|
|
15896
|
-
return;
|
|
15897
|
-
}
|
|
15898
15861
|
if (!propertyId) {
|
|
15899
15862
|
return;
|
|
15900
15863
|
}
|
|
@@ -15923,7 +15886,7 @@ function ApplicationDetailsContent({
|
|
|
15923
15886
|
} catch (error) {
|
|
15924
15887
|
console.error("❌ Payment search error for PT/BPREG:", error);
|
|
15925
15888
|
}
|
|
15926
|
-
}, [moduleCode, propertyId, tenantId
|
|
15889
|
+
}, [moduleCode, propertyId, tenantId]);
|
|
15927
15890
|
return /*#__PURE__*/React.createElement(Card, {
|
|
15928
15891
|
style: {
|
|
15929
15892
|
position: "relative"
|
|
@@ -16258,7 +16221,7 @@ function ApplicationDetailsToast({
|
|
|
16258
16221
|
label = (showToast === null || showToast === void 0 ? void 0 : showToast.key) === "error" ? showToast === null || showToast === void 0 ? void 0 : (_showToast$error7 = showToast.error) === null || _showToast$error7 === void 0 ? void 0 : _showToast$error7.message : t("TL_TL_CANCELLED_MESSAGE_HEAD");
|
|
16259
16222
|
break;
|
|
16260
16223
|
default:
|
|
16261
|
-
label = (showToast === null || showToast === void 0 ? void 0 : showToast.key) === "error" ?
|
|
16224
|
+
label = (showToast === null || showToast === void 0 ? void 0 : showToast.key) === "error" ? showToast === null || showToast === void 0 ? void 0 : (_showToast$error8 = showToast.error) === null || _showToast$error8 === void 0 ? void 0 : _showToast$error8.message : t(`ES_${businessService}_${showToast === null || showToast === void 0 ? void 0 : (_showToast$action2 = showToast.action) === null || _showToast$action2 === void 0 ? void 0 : _showToast$action2.action}_UPDATE_SUCCESS`);
|
|
16262
16225
|
}
|
|
16263
16226
|
return /*#__PURE__*/React.createElement(React.Fragment, null, showToast && /*#__PURE__*/React.createElement(Toast, {
|
|
16264
16227
|
error: showToast.key === "error",
|