Further progress on payment entries. There is an outstanding charges grid, but it doesn't have amounts due to the way I designed the ledger_entries element. I'll do a bit of rework on that next.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605@163 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -122,7 +122,7 @@ class Customer extends AppModel {
|
||||
$left = &$unreconciled[$type];
|
||||
$right = &$unrec[$type];
|
||||
|
||||
$left['entries'] = array_merge($left['entries'], $right['entries']);
|
||||
$left['entry'] = array_merge($left['entry'], $right['entry']);
|
||||
$left['balance'] += $right['balance'];
|
||||
}
|
||||
}
|
||||
@@ -159,7 +159,7 @@ class Customer extends AppModel {
|
||||
$left = &$reconciled[$type];
|
||||
$right = &$rec[$type];
|
||||
|
||||
$left['entries'] = array_merge($left['entries'], $right['entries']);
|
||||
$left['entry'] = array_merge($left['entry'], $right['entry']);
|
||||
$left['balance'] += $right['balance'];
|
||||
$left['applied'] += $right['applied'];
|
||||
$left['unapplied'] = $right['unapplied'];
|
||||
|
||||
Reference in New Issue
Block a user