diff --git a/site/controllers/ledger_entries_controller.php b/site/controllers/ledger_entries_controller.php index ec003cb..5b422c0 100644 --- a/site/controllers/ledger_entries_controller.php +++ b/site/controllers/ledger_entries_controller.php @@ -34,7 +34,7 @@ class LedgerEntriesController extends AppController { ), 'DebitLedger' => - array('fields' => array('id', 'name'), + array('fields' => array('id', 'sequence'), // Models 'DebitAccount' => array('class' => 'Account', 'fields' => array('id', 'name'), @@ -42,7 +42,7 @@ class LedgerEntriesController extends AppController { ), 'CreditLedger' => - array('fields' => array('id', 'name'), + array('fields' => array('id', 'sequence'), // Models 'CreditAccount' => array('class' => 'Account', 'fields' => array('id', 'name'),