|
|
@@ -535,7 +535,8 @@ class Project extends Model {
|
|
|
return CarbonImmutable::parse($this->dts_deadline, "UTC");
|
|
|
}
|
|
|
|
|
|
- public function getDateTimeReport(): CarbonImmutable {
|
|
|
+ public function getDateTimeReport(): ?CarbonImmutable {
|
|
|
+ if(!$this->dts_report) return null;
|
|
|
return CarbonImmutable::parse($this->dts_report, "UTC");
|
|
|
}
|
|
|
|