mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Removed "date in the future" demand.
This commit is contained in:
parent
073da8fb2a
commit
25585b28c7
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user