fix: correctly apply due dates for contract and invoice upload reminders
This commit is contained in:
1 parent
3e08965e48
commit
489aafed3e
22 files changed
+732
-156
No files matched your search
@@ -2,12 +2,12 @@
|
||||
|
||||
namespace App\Model;
|
||||
|
||||
use Carbon\CarbonPeriod;
|
||||
use Carbon\CarbonPeriodImmutable;
|
||||
|
||||
class TimelineFilterDto extends AssignmentFilterDto
|
||||
{
|
||||
protected bool $includePast = true;
|
||||
protected ?CarbonPeriod $_period = null;
|
||||
protected ?CarbonPeriodImmutable $_period = null;
|
||||
|
||||
public function getDateFrom(): ?\DateTimeImmutable
|
||||
{
|
||||
@@ -27,12 +27,12 @@ class TimelineFilterDto extends AssignmentFilterDto
|
||||
return $this->dateTo;
|
||||
}
|
||||
|
||||
public function getPeriod(): ?CarbonPeriod
|
||||
public function getPeriod(): ?CarbonPeriodImmutable
|
||||
{
|
||||
return $this->_period;
|
||||
}
|
||||
|
||||
public function setPeriod(?CarbonPeriod $_period): static
|
||||
public function setPeriod(?CarbonPeriodImmutable $_period): static
|
||||
{
|
||||
$this->_period = $_period;
|
||||
|
||||
|
||||
Reference in new issue
Block a user