Change time for rule.

This commit is contained in:
James Cole
2024-01-05 18:09:19 +01:00
parent 5725570dbb
commit bd2ecb13b8

View File

@@ -462,7 +462,7 @@ trait TimeCollection
*/
public function setBefore(Carbon $date): GroupCollectorInterface
{
$beforeStr = $date->format('Y-m-d 00:00:00');
$beforeStr = $date->format('Y-m-d 23:59:59');
$this->query->where('transaction_journals.date', '<=', $beforeStr);
return $this;