Do not delete unconfirmed fetchdates to allow up to one day of late confirming
Delete unconfirmed fetchdates one day later to allow one day of confirming late. This is already possible visible in frontend. This change would allow it also in backend.
Find
public function deleteUnconfirmedFetchDates(): int
Implementation:
$age = $this->db->date(Carbon::yesterday()->subDay())
(this could be passed in to the deleteUnconfirmedFetchDates(Carbon $age)
method)
return $this->db->delete('fs_abholer', ['confirmed' => 0, 'date <' => $age]);
This is a reserved starter task which allows to concentrate on our workflow. A huge part is also testing.
Edited by Johannes