diff --git a/application/views/lehre/lehrauftrag/approveLehrauftragData.php b/application/views/lehre/lehrauftrag/approveLehrauftragData.php index 02c3a6e22..f27e65170 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftragData.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftragData.php @@ -240,13 +240,13 @@ $filterWidgetArray = array( var data = row.getData(); // default (white): rows to be approved - // green: rows approved + // green: rows accepted // grey: all other if(row.getData().bestellt != null && row.getData().erteilt == null) { return; } - else if(row.getData().bestellt != null && row.getData().erteilt != null) + else if(row.getData().bestellt != null && row.getData().erteilt != null && row.getData().akzeptiert != null) { row.getElement().style["background-color"] = "#d1f1d196"; // green } diff --git a/application/views/lehre/lehrauftrag/lehrauftragData.php b/application/views/lehre/lehrauftrag/lehrauftragData.php index e6e2204da..5cf9bbb4c 100644 --- a/application/views/lehre/lehrauftrag/lehrauftragData.php +++ b/application/views/lehre/lehrauftrag/lehrauftragData.php @@ -240,13 +240,13 @@ $filterWidgetArray = array( var data = row.getData(); // default (white): rows to be ordered - // green: rows ordered + // green: rows accepted // grey: all other if(row.getData().bestellt == null) { return; } - else if(row.getData().bestellt != null) + else if(row.getData().bestellt != null && row.getData().erteilt != null && row.getData().akzeptiert != null) { row.getElement().style["background-color"] = "#d1f1d196"; // green }