Add timezone info to new objects.

This commit is contained in:
James Cole
2024-11-06 11:12:26 +01:00
parent fb3295bde1
commit 038790a5d6
7 changed files with 21 additions and 10 deletions

View File

@@ -51,7 +51,7 @@ class AvailableBudget extends Model
'transaction_currency_id' => 'int',
];
protected $fillable = ['user_id', 'user_group_id', 'transaction_currency_id', 'amount', 'start_date', 'end_date'];
protected $fillable = ['user_id', 'user_group_id', 'transaction_currency_id', 'amount', 'start_date', 'end_date', 'start_date_tz','end_date_tz'];
/**
* Route binder. Converts the key in the URL to the specified object (or throw 404).