Fixed the problem with zero dollar balance forward entries when closing a ledger.
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@422 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -167,7 +167,7 @@ class TransactionsController extends AppController {
|
||||
// have their corresponding account ledgers closed.
|
||||
$type_ids = $close_type_ids = array();
|
||||
foreach ($this->data['TenderType'] AS $type_id => $type) {
|
||||
if (!$type['checked'])
|
||||
if (empty($type['checked']))
|
||||
continue;
|
||||
$type_ids[] = $type_id;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user