diff --git a/app/Models/BudgetLimit.php b/app/Models/BudgetLimit.php index 379f095dfa..d4375cc8a7 100644 --- a/app/Models/BudgetLimit.php +++ b/app/Models/BudgetLimit.php @@ -54,7 +54,7 @@ class BudgetLimit extends Model 'deleted' => Deleted::class, ]; - protected $fillable = ['budget_id', 'start_date', 'end_date', 'amount', 'transaction_currency_id']; + protected $fillable = ['budget_id', 'start_date', 'end_date','start_date_tz','end_date_tz', 'amount', 'transaction_currency_id']; /** * Route binder. Converts the key in the URL to the specified object (or throw 404). diff --git a/app/Models/CurrencyExchangeRate.php b/app/Models/CurrencyExchangeRate.php index f451c82da6..88cbb9ecb3 100644 --- a/app/Models/CurrencyExchangeRate.php +++ b/app/Models/CurrencyExchangeRate.php @@ -49,7 +49,7 @@ class CurrencyExchangeRate extends Model 'to_currency_id' => 'int', 'date' => 'datetime', ]; - protected $fillable = ['user_id', 'from_currency_id', 'to_currency_id', 'date', 'rate']; + protected $fillable = ['user_id', 'from_currency_id', 'to_currency_id', 'date','date_tz', 'rate']; public function fromCurrency(): BelongsTo { diff --git a/app/Models/InvitedUser.php b/app/Models/InvitedUser.php index edc06b8f2b..9501f137d9 100644 --- a/app/Models/InvitedUser.php +++ b/app/Models/InvitedUser.php @@ -44,7 +44,7 @@ class InvitedUser extends Model 'expires' => 'datetime', 'redeemed' => 'boolean', ]; - protected $fillable = ['user_id', 'email', 'invite_code', 'expires', 'redeemed']; + protected $fillable = ['user_id', 'email', 'invite_code', 'expires','expires_tz', 'redeemed']; /** * Route binder. Converts the key in the URL to the specified object (or throw 404). diff --git a/app/Models/PiggyBankEvent.php b/app/Models/PiggyBankEvent.php index 2e06cb55a4..813e5e4517 100644 --- a/app/Models/PiggyBankEvent.php +++ b/app/Models/PiggyBankEvent.php @@ -42,7 +42,7 @@ class PiggyBankEvent extends Model 'date' => 'date', ]; - protected $fillable = ['piggy_bank_id', 'transaction_journal_id', 'date', 'amount']; + protected $fillable = ['piggy_bank_id', 'transaction_journal_id', 'date', 'date_tz','amount']; protected $hidden = ['amount_encrypted']; diff --git a/app/Models/PiggyBankRepetition.php b/app/Models/PiggyBankRepetition.php index b85e494b73..01df565ff4 100644 --- a/app/Models/PiggyBankRepetition.php +++ b/app/Models/PiggyBankRepetition.php @@ -45,7 +45,7 @@ class PiggyBankRepetition extends Model 'targetdate' => 'date', ]; - protected $fillable = ['piggy_bank_id', 'startdate', 'targetdate', 'currentamount']; + protected $fillable = ['piggy_bank_id', 'startdate','startdate_tz', 'targetdate','targetdate_tz', 'currentamount']; public function piggyBank(): BelongsTo { diff --git a/app/Models/Tag.php b/app/Models/Tag.php index b8f19ad4e3..7eda1f1e91 100644 --- a/app/Models/Tag.php +++ b/app/Models/Tag.php @@ -53,7 +53,7 @@ class Tag extends Model 'longitude' => 'float', ]; - protected $fillable = ['user_id', 'user_group_id', 'tag', 'date', 'description', 'tagMode']; + protected $fillable = ['user_id', 'user_group_id', 'tag', 'date','date_tz', 'description', 'tagMode']; protected $hidden = ['zoomLevel', 'latitude', 'longitude'];