From ae313175c8a327f6bb59febafe49130bf3fb0ecf Mon Sep 17 00:00:00 2001 From: Cris Date: Fri, 25 Oct 2019 12:29:38 +0200 Subject: [PATCH] =?UTF-8?q?Fixed:=20'Alle=20ausw=C3=A4hlen'-button=20filte?= =?UTF-8?q?rs=20now=20correctly?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The changed contracts were still selected when using the 'Alle Auswählen' button. This is fixed now. --- application/views/lehre/lehrauftrag/approveLehrauftrag.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/views/lehre/lehrauftrag/approveLehrauftrag.php b/application/views/lehre/lehrauftrag/approveLehrauftrag.php index 0c81e7805..bcaaa430a 100644 --- a/application/views/lehre/lehrauftrag/approveLehrauftrag.php +++ b/application/views/lehre/lehrauftrag/approveLehrauftrag.php @@ -371,7 +371,8 @@ $this->load->view( $('#filterTabulator').tabulator('getRows', true) .filter(row => row.getData().personalnummer >= 0 && // NOT dummies row.getData().bestellt != null && // AND bestellt - row.getData().erteilt == null) // AND NOT erteilt + row.getData().erteilt == null && // AND NOT erteilt + row.getData().betrag == row.getData().vertrag_betrag) // AND NOT geaendert .forEach((row => row.select())); }