mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-03 20:20:37 -06:00
Journal allows date edits and sets fields as dates #122
This commit is contained in:
parent
c26bf557d0
commit
8f1bf846fe
@ -102,12 +102,12 @@ class TransactionJournal extends TransactionJournalSupport
|
||||
|
||||
];
|
||||
/** @var array */
|
||||
protected $dates = ['created_at', 'updated_at', 'date', 'deleted_at', 'interest_date', 'book_date'];
|
||||
protected $dates = ['created_at', 'updated_at', 'date', 'deleted_at', 'interest_date', 'book_date', 'process_date'];
|
||||
/** @var array */
|
||||
protected $fillable
|
||||
= ['user_id', 'transaction_type_id', 'bill_id',
|
||||
= ['user_id', 'transaction_type_id', 'bill_id', 'interest_date', 'book_date', 'process_date',
|
||||
'transaction_currency_id', 'description', 'completed',
|
||||
'date', 'rent_date', 'book_date', 'encrypted', 'tag_count'];
|
||||
'date', 'rent_date', 'encrypted', 'tag_count'];
|
||||
/** @var array */
|
||||
protected $hidden = ['encrypted'];
|
||||
/** @var array */
|
||||
|
Loading…
Reference in New Issue
Block a user