mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 08:52:21 +00:00
Changed: now rows are marked green only for accepted Lehraufträge
This is to achieve same behaviour for whole process Lehraufträge bestellen/erteilen/akzeptieren.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user