Got the ledger closings to work again. This seems to work ok, although I notice closing the ledger after deposit results in a balance forward entry of $0.00 . I'll work on it next
git-svn-id: file:///svn-source/pmgr/branches/yafr_20090716/site@421 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -81,8 +81,8 @@ echo $this->element('ledger_entries', array
|
||||
'caption' => ("Current Ledger: " .
|
||||
"(". $current_ledger['name'] .")"),
|
||||
'filter' => array('ledger_id' => $current_ledger['id']),
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Debit', 'Credit'),
|
||||
'include' => array('Balance', 'Sub-Total'),
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Balance'),
|
||||
'include' => array('Debit', 'Credit', 'Sub-Total'),
|
||||
)));
|
||||
|
||||
|
||||
@@ -98,8 +98,8 @@ echo $this->element('ledger_entries', array
|
||||
'grid_setup' => array('hiddengrid' => true),
|
||||
'caption' => "Entire Ledger",
|
||||
'filter' => array('account_id' => $account['id']),
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Debit', 'Credit'),
|
||||
'include' => array('Balance', 'Sub-Total'),
|
||||
'exclude' => array('Account', 'Amount', 'Cr/Dr', 'Balance'),
|
||||
'include' => array('Debit', 'Credit', 'Sub-Total'),
|
||||
)));
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user