Large commit to get rid of a lot of static methods.

This commit is contained in:
James Cole
2017-03-04 07:26:03 +01:00
parent d9aa074330
commit 45f4395f26
10 changed files with 11 additions and 11 deletions

View File

@@ -195,7 +195,7 @@ class MassController extends Controller
$journal = $repository->find(intval($journalId));
if ($journal) {
// get optional fields:
$what = strtolower(TransactionJournal::transactionTypeStr($journal));
$what = strtolower($journal->transactionTypeStr());
$sourceAccountId = $request->get('source_account_id')[$journal->id] ?? 0;
$sourceAccountName = $request->get('source_account_name')[$journal->id] ?? '';
$destAccountId = $request->get('destination_account_id')[$journal->id] ?? 0;