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();