mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Adapted filter select-all to select also geaenderte Lehrauftraege
This commit is contained in:
@@ -385,7 +385,9 @@ $(function() {
|
||||
// Select all (filtered) rows and ignore rows which have status bestellt
|
||||
$("#select-all").click(function(){
|
||||
$('#filterTabulator').tabulator('getRows', true)
|
||||
.filter(row => row.getData().bestellt == null)
|
||||
.filter(row => row.getData().bestellt == null || // neu
|
||||
row.getData().bestellt != null && // OR bestellt
|
||||
row.getData().betrag != row.getData().vertrag_betrag) // AND geaendert
|
||||
.forEach((row => row.select()));
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user