From 22437db1c374193e3d9a0391e419c5d285ab0c97 Mon Sep 17 00:00:00 2001 From: Markus Date: Thu, 28 Apr 2022 09:40:52 +0200 Subject: [PATCH] bugfix Filter DropdownListe --- app/Models/mAccounts.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Models/mAccounts.php b/app/Models/mAccounts.php index 968d6c5..fdc8bbc 100644 --- a/app/Models/mAccounts.php +++ b/app/Models/mAccounts.php @@ -74,8 +74,8 @@ class mAccounts extends Model { if ($lkz == false) $this->where('lkz',NULL); if ( $type == 'InOut' ) $this->where('type !=','account'); elseif ( $type == 'Acc' ) $this->where('type','account'); - elseif ( $type == 'In' ) $this->where('type','output'); - elseif ( $type == 'Out' ) $this->where('type','input'); + elseif ( $type == 'In' ) $this->where('type','input'); + elseif ( $type == 'Out' ) $this->where('type','output'); $this->orderBy('description'); $result = $this->findAll(); $parent = array();