Skip to content

Commit

Permalink
Merge pull request #828 from odisha-muktasoft/FIXES-2
Browse files Browse the repository at this point in the history
UCEM-1063 : updated privacy fixes
  • Loading branch information
Tulika-eGov authored Dec 10, 2024
2 parents afd68ee + e2b4270 commit efdd711
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"@egovernments/digit-ui-module-dss": "1.5.52",
"@egovernments/digit-ui-module-attendencemgmt": "0.4.16",
"@egovernments/digit-ui-module-contracts": "0.4.15",
"@egovernments/digit-ui-module-measurement":"0.2.25",
"@egovernments/digit-ui-module-measurement":"0.2.26",
"@egovernments/digit-ui-module-estimate": "0.4.22",
"@egovernments/digit-ui-module-masters": "0.4.27",
"@egovernments/digit-ui-module-project": "0.4.17",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@egovernments/digit-ui-module-measurement",
"version": "0.2.25",
"version": "0.2.26",
"description": "Measurement Module UI",
"main": "dist/index.js",
"module": "dist/index.modern.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export const getDefaultValues = (data, t, mbNumber) => {
CurrentEndDate = data?.allMeasurements?.filter(ob => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.endDate;
}
//const musterRoll = typeof musterRollNumber == "string" ? musterRollNumber : (allMeasurements?.filter((ob) => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.musterRollNumber?.[0] || "NA")
const musterRoll = findMusterRollNumber(data?.musterRolls,'',data?.allMeasurements?.filter(ob => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.startDate,data?.allMeasurements?.filter(ob => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.endDate)
const musterRoll = findMusterRollNumber(data?.musterRolls,'',data?.allMeasurements?.length > 0 ? data?.allMeasurements?.filter(ob => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.startDate : period?.startDate,data?.allMeasurements?.length > 0 ? data?.allMeasurements?.filter(ob => ob?.measurementNumber === mbNumber)?.[0]?.additionalDetails?.endDate : period?.endDate)

let uploadedDocs = {}
allMeasurements?.[0]?.documents.forEach((doc,index)=>{
Expand Down Expand Up @@ -164,7 +164,7 @@ export const getDefaultValues = (data, t, mbNumber) => {
projectDesc,
projectLocation,
sanctionDate:issueDate ? Digit.DateUtils.ConvertEpochToDate(issueDate) : Digit.DateUtils.ConvertEpochToDate(estimate?.proposalDate),
musterRollNo: window.location.href.includes("measurement/update") ? <Link style={{ color: "#C84C0E" }} to={`/works-ui/employee/attendencemgmt/view-attendance?tenantId=${data?.allMeasurements?.[0]?.tenantId}&musterRollNumber=${musterRoll}`}>{musterRoll}</Link> : musterRoll,
musterRollNo: musterRoll ? <Link style={{ color: "#C84C0E" }} to={`/works-ui/employee/attendencemgmt/view-attendance?tenantId=${data?.allMeasurements?.[0]?.tenantId}&musterRollNumber=${musterRoll}`}>{musterRoll}</Link> : "NA",
measurementPeriod: measurementPeriod,
CurrentStartDate,
CurrentEndDate,
Expand Down
2 changes: 1 addition & 1 deletion frontend/micro-ui/web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"@egovernments/digit-ui-module-dss": "1.5.52",
"@egovernments/digit-ui-module-attendencemgmt": "0.4.16",
"@egovernments/digit-ui-module-contracts": "0.4.15",
"@egovernments/digit-ui-module-measurement":"0.2.25",
"@egovernments/digit-ui-module-measurement":"0.2.26",
"@egovernments/digit-ui-module-estimate": "0.4.22",
"@egovernments/digit-ui-module-masters": "0.4.27",
"@egovernments/digit-ui-module-project": "0.4.17",
Expand Down

0 comments on commit efdd711

Please sign in to comment.