Skip to content

Commit

Permalink
Merge pull request #597 from bcgov/srs-160
Browse files Browse the repository at this point in the history
sdm next reviewer button will not be displayed when status is empty
  • Loading branch information
nikhila-aot authored Jan 11, 2024
2 parents c449a36 + 4ee3f6f commit 0dee4c0
Showing 1 changed file with 14 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@
"eq": "",
"json": ""
},
"customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") || \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") || \r\nroles.includes(\"formsflow-reviewer/caseworker\") || \r\nroles.includes(\"formsflow-reviewer/sdm\")) \r\n{\r\n if(data.bundleStatus === 'cssaCaseworkerAccepted' ||\r\n (data.bundleStatus === 'cssaMgrAccepted' && \r\n data.typeOfReview === 'applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc'))\r\n show = false;\r\n else\r\n show = true;\r\n}\r\nelse\r\n{\r\n if(data.bundleStatus === 'cssaMgrAccepted')\r\n show = true;\r\n else\r\n show = false;\r\n}",
"customConditional": "const UserDetails = JSON.parse(localStorage.getItem(\"UserDetails\"))\r\nconst roles = UserDetails[\"role\"];\r\nif(roles.includes(\"formsflow-reviewer/cssa-team\") || \r\nroles.includes(\"formsflow-reviewer/cssa-manager\") || \r\nroles.includes(\"formsflow-reviewer/csap\") || \r\nroles.includes(\"formsflow-reviewer/csap-society\") || \r\nroles.includes(\"formsflow-reviewer/caseworker\")) \r\n{\r\n if(data.bundleStatus === 'cssaCaseworkerAccepted' ||\r\n (data.bundleStatus === 'cssaMgrAccepted' && \r\n data.typeOfReview === 'applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc'))\r\n show = false;\r\n else\r\n show = true;\r\n}\r\nelse if(roles.includes(\"formsflow-reviewer/sdm\"))\r\n{\r\n if(data.bundleStatus === 'cssaCaseworkerAccepted' ||\r\n (data.bundleStatus === 'cssaMgrAccepted' && \r\n data.typeOfReview === 'applicationViaTheSocietyOfContaminatedSitesApprovedProfessionalsOfBc'))\r\n show = false;\r\n else if (data.bundleStatus === '')\r\n show = false;\r\n else\r\n show = true;\t\r\n}\r\nelse\r\n{\r\n if(data.bundleStatus === 'cssaMgrAccepted')\r\n show = true;\r\n else\r\n show = false;\r\n}\r\n",
"logic": [],
"attributes": {},
"overlay": {
Expand Down Expand Up @@ -1313,7 +1313,7 @@
"showWordCount": false,
"allowMultipleMasks": false,
"addons": [],
"id": "eauk8rr"
"id": "ecqyuo4"
},
{
"label": "Approved",
Expand Down Expand Up @@ -7711,7 +7711,7 @@
"addons": [],
"tree": false,
"lazyLoad": false,
"id": "ehmz9lv00000000000000000000000"
"id": "ehmz9lv000000000000000000000000000"
}
],
"placeholder": "",
Expand Down Expand Up @@ -9354,7 +9354,7 @@
}
],
"collapsible": false,
"id": "ewhx8sm00000000000000000000000",
"id": "ewhx8sm000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -18522,7 +18522,7 @@
},
"inputMask": "999-999-999",
"tableView": true,
"id": "elva8800000000000000000000000",
"id": "elva88000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -18602,7 +18602,7 @@
"tableView": true,
"autoExpand": true,
"inputFormat": "plain",
"id": "ey48nu00000000000000000000000",
"id": "ey48nu000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -18977,7 +18977,7 @@
"input": true,
"label": "PIN",
"tableView": true,
"id": "eyxe45n00000000000000000000000",
"id": "eyxe45n000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -19070,7 +19070,7 @@
"autoExpand": true,
"inputFormat": "plain",
"placeholder": "example, metes and bounds",
"id": "efdcvf00000000000000000000000",
"id": "efdcvf000000000000000000000000000",
"prefix": "",
"customClass": "",
"suffix": "",
Expand Down Expand Up @@ -19284,7 +19284,7 @@
"input": true,
"label": "Crown Land File Numbers",
"tableView": true,
"id": "emf4u7g00000000000000000000000",
"id": "emf4u7g000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -20336,7 +20336,7 @@
},
"inputMask": "999-999-999",
"tableView": true,
"id": "ev43oe900000000000000000000000",
"id": "ev43oe9000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -20416,7 +20416,7 @@
"tableView": true,
"autoExpand": true,
"inputFormat": "plain",
"id": "eb3d0l00000000000000000000000",
"id": "eb3d0l000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -20791,7 +20791,7 @@
"input": true,
"label": "PIN",
"tableView": true,
"id": "eyv4fcu00000000000000000000000",
"id": "eyv4fcu000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down Expand Up @@ -20884,7 +20884,7 @@
"autoExpand": true,
"inputFormat": "plain",
"placeholder": "example, metes and bounds",
"id": "ecgeub00000000000000000000000",
"id": "ecgeub000000000000000000000000000",
"prefix": "",
"customClass": "",
"suffix": "",
Expand Down Expand Up @@ -21098,7 +21098,7 @@
"input": true,
"label": "Crown Land File Numbers",
"tableView": true,
"id": "eguyyh00000000000000000000000",
"id": "eguyyh000000000000000000000000000",
"placeholder": "",
"prefix": "",
"customClass": "",
Expand Down

0 comments on commit 0dee4c0

Please sign in to comment.