mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-22 03:53:37 +00:00
Removed "date in the future" demand.
This commit is contained in:
@@ -175,12 +175,6 @@ class EloquentRecurringTransactionRepository implements RecurringTransactionRepo
|
|||||||
return $messageBag;
|
return $messageBag;
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($recurringTransaction->date < Carbon::now()) {
|
|
||||||
$messageBag->add('date', 'Must be in the future.');
|
|
||||||
return $messageBag;
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
if ($recurringTransaction->validate()) {
|
if ($recurringTransaction->validate()) {
|
||||||
$recurringTransaction->save();
|
$recurringTransaction->save();
|
||||||
} else {
|
} else {
|
||||||
|
Reference in New Issue
Block a user