Prevent grouping of ledger entries by transaction, at least for now.
git-svn-id: file:///svn-source/pmgr/branches/ledger_transactions_20090605/site@178 97e9348a-65ac-dc4b-aefc-98561f571b83
This commit is contained in:
@@ -2,10 +2,16 @@
|
|||||||
|
|
||||||
// Define the table columns
|
// Define the table columns
|
||||||
$cols = array();
|
$cols = array();
|
||||||
|
if (0) {
|
||||||
if (isset($notxgroup))
|
if (isset($notxgroup))
|
||||||
$cols['Entry'] = array('index' => 'LedgerEntry.id', 'formatter' => 'id');
|
$cols['Entry'] = array('index' => 'LedgerEntry.id', 'formatter' => 'id');
|
||||||
else
|
else
|
||||||
$cols['Transaction'] = array('index' => 'Transaction.id', 'formatter' => 'id');
|
$cols['Transaction'] = array('index' => 'Transaction.id', 'formatter' => 'id');
|
||||||
|
} else {
|
||||||
|
$notxgroup = true;
|
||||||
|
$cols['Transaction'] = array('index' => 'Transaction.id', 'formatter' => 'id');
|
||||||
|
$cols['Entry'] = array('index' => 'LedgerEntry.id', 'formatter' => 'id');
|
||||||
|
}
|
||||||
|
|
||||||
$cols['Date'] = array('index' => 'Transaction.stamp', 'formatter' => 'date');
|
$cols['Date'] = array('index' => 'Transaction.stamp', 'formatter' => 'date');
|
||||||
if (isset($account_ftype) || isset($ledger_id)) {
|
if (isset($account_ftype) || isset($ledger_id)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user