Added button to show only new Lehraufträge

This commit is contained in:
Cris
2019-09-19 14:16:26 +02:00
committed by hainberg
parent 6d2f911d58
commit 2d8618b746
@@ -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(){