Lots of cleaning up.

This commit is contained in:
James Cole
2015-01-02 12:38:13 +01:00
parent 3be1cdb249
commit 5707dc7579
20 changed files with 201 additions and 121 deletions

View File

@@ -249,7 +249,7 @@ class TransactionController extends BaseController
$data['transaction_currency_id'] = $transactionCurrency->id;
$data['completed'] = 0;
$data['what'] = $what;
$data['currency'] = 'EUR'; // TODO allow custom currency
$data['currency'] = 'EUR';
// always validate:
$messages = $this->_repository->validate($data);