Skip to content

Commit

Permalink
feat(UI): Add clearing type column in closed clearing request tab
Browse files Browse the repository at this point in the history
Signed-off-by: sameed.ahmad <sameed.ahmad@siemens-healthineers.com>
  • Loading branch information
sameed20 committed Feb 1, 2024
1 parent 002a8da commit b98d346
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ AUI().use('liferay-portlet-url', function () {
} else {
$("#date_type option[value="+"<%=ClearingRequest._Fields.TIMESTAMP_OF_DECISION%>"+"]").show().removeAttr("disabled");
$("#cr_priority_div").hide();
$("#cr_type_div").hide();
$("#cr_type_div").show();
$('#cr_status option').each(function() {
let val = $(this).attr("value");
if (val === "" || val === "2" || val === "5") {
Expand Down Expand Up @@ -611,15 +611,15 @@ AUI().use('liferay-portlet-url', function () {
"12": '<fmt:formatDate value="${modifiedOn}" pattern="yyyy-MM-dd"/>',
</core_rt:if>
"13": '<fmt:formatDate value="${closedOn}" pattern="yyyy-MM-dd"/>',
"14": '<sw360:out value="${request.clearingType}"/>',
"14": "<sw360:DisplayEnum value="${request.clearingType}"/>",
"15": "${request.projectId}",
});
</core_rt:forEach>
return result;
}
function createClearingRequestsTable(tableId, tableData) {
let hiddenCol = (tableId === '#clearingRequestsTable') ? [8, 12, 13] : [3, 5, 7, 12, 14];
let hiddenCol = (tableId === '#clearingRequestsTable') ? [8, 12, 13] : [3, 5, 7, 12];
return datatables.create(tableId, {
searching: true,
deferRender: false, // do not change this value
Expand Down

0 comments on commit b98d346

Please sign in to comment.