mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 16:02:15 +00:00
Added button to show only new Lehraufträge
This commit is contained in:
@@ -86,6 +86,7 @@ $this->load->view(
|
||||
<button id="deselect-all" class="btn btn-default">Alle abwählen</button>
|
||||
<button id="show-all" class="btn btn-default">Alle anzeigen</button>
|
||||
<button id="show-new" class="btn btn-default">Nur neue anzeigen</button>
|
||||
<button id="show-ordered" class="btn btn-default">Nur bestellte anzeigen</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -151,6 +152,11 @@ $(function() {
|
||||
$('#filterTabulator').tabulator('setFilter', 'bestellt', '=', null);
|
||||
});
|
||||
|
||||
// Show only rows with ordered lehrauftraege
|
||||
$("#show-ordered").click(function(){
|
||||
$('#filterTabulator').tabulator('setFilter', 'bestellt', '!=', null);
|
||||
});
|
||||
|
||||
// Order Lehrauftraege
|
||||
$("#order-lehrauftraege").click(function(){
|
||||
|
||||
|
||||
Reference in New Issue
Block a user