This commit is contained in:
James Cole 2015-12-29 08:27:05 +01:00
parent 026683a8e1
commit 77056dcf8d
3 changed files with 3 additions and 1 deletions

View File

@ -285,7 +285,7 @@ class TransactionController extends Controller
$what = strtolower($journal->getTransactionType());
$subTitle = trans('firefly.' . $journal->getTransactionType()) . ' "' . e($journal->description) . '"';
return view('transactions.show', compact('journal','events', 'subTitle', 'what'));
return view('transactions.show', compact('journal', 'events', 'subTitle', 'what'));
}
/**

View File

@ -33,6 +33,7 @@ class AccountType extends Model
/**
* @return array
*/
/** @noinspection PhpMissingParentCallCommonInspection */
public function getDates()
{
return ['created_at', 'updated_at'];

View File

@ -32,6 +32,7 @@ class PiggyBankEvent extends Model
/**
* @return array
*/
/** @noinspection PhpMissingParentCallCommonInspection */
public function getDates()
{
return ['created_at', 'updated_at', 'date'];