bugfix Filter DropdownListe
This commit is contained in:
parent
795794f992
commit
22437db1c3
@ -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();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user