bugfix Filter DropdownListe

This commit is contained in:
Markus 2022-04-28 09:40:52 +02:00
parent 795794f992
commit 22437db1c3

View File

@ -74,8 +74,8 @@ class mAccounts extends Model {
if ($lkz == false) $this->where('lkz',NULL); if ($lkz == false) $this->where('lkz',NULL);
if ( $type == 'InOut' ) $this->where('type !=','account'); if ( $type == 'InOut' ) $this->where('type !=','account');
elseif ( $type == 'Acc' ) $this->where('type','account'); elseif ( $type == 'Acc' ) $this->where('type','account');
elseif ( $type == 'In' ) $this->where('type','output'); elseif ( $type == 'In' ) $this->where('type','input');
elseif ( $type == 'Out' ) $this->where('type','input'); elseif ( $type == 'Out' ) $this->where('type','output');
$this->orderBy('description'); $this->orderBy('description');
$result = $this->findAll(); $result = $this->findAll();
$parent = array(); $parent = array();