mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-09-05 20:22:07 +00:00
Lots of new code for recurring transactions. #1469
This commit is contained in:
@@ -64,8 +64,7 @@ class Recurrence extends Model
|
||||
* @var array
|
||||
*/
|
||||
protected $casts
|
||||
= [
|
||||
|
||||
= [
|
||||
'created_at' => 'datetime',
|
||||
'updated_at' => 'datetime',
|
||||
'first_date' => 'date',
|
||||
@@ -73,6 +72,10 @@ class Recurrence extends Model
|
||||
'active' => 'bool',
|
||||
'apply_rules' => 'bool',
|
||||
];
|
||||
/** @var array */
|
||||
protected $fillable
|
||||
= ['user_id', 'transaction_type_id', 'title', 'description', 'first_date', 'repeat_until', 'latest_date', 'repetitions', 'apply_rules', 'active'];
|
||||
/** @var string */
|
||||
protected $table = 'recurrences';
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user