mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-30 02:26:58 +00:00
Cleanup.
This commit is contained in:
@@ -285,7 +285,7 @@ class TransactionController extends Controller
|
|||||||
$what = strtolower($journal->getTransactionType());
|
$what = strtolower($journal->getTransactionType());
|
||||||
$subTitle = trans('firefly.' . $journal->getTransactionType()) . ' "' . e($journal->description) . '"';
|
$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'));
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@@ -33,6 +33,7 @@ class AccountType extends Model
|
|||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
/** @noinspection PhpMissingParentCallCommonInspection */
|
||||||
public function getDates()
|
public function getDates()
|
||||||
{
|
{
|
||||||
return ['created_at', 'updated_at'];
|
return ['created_at', 'updated_at'];
|
||||||
|
@@ -32,6 +32,7 @@ class PiggyBankEvent extends Model
|
|||||||
/**
|
/**
|
||||||
* @return array
|
* @return array
|
||||||
*/
|
*/
|
||||||
|
/** @noinspection PhpMissingParentCallCommonInspection */
|
||||||
public function getDates()
|
public function getDates()
|
||||||
{
|
{
|
||||||
return ['created_at', 'updated_at', 'date'];
|
return ['created_at', 'updated_at', 'date'];
|
||||||
|
Reference in New Issue
Block a user