Weekly reporting view (#1892)
This commit is contained in:
@@ -9,6 +9,7 @@
|
||||
|
||||
namespace App\Entity;
|
||||
|
||||
use App\Constants;
|
||||
use App\Export\Annotation as Exporter;
|
||||
use Doctrine\ORM\Mapping as ORM;
|
||||
use JMS\Serializer\Annotation as Serializer;
|
||||
@@ -36,6 +37,10 @@ trait ColorTrait
|
||||
*/
|
||||
public function getColor(): ?string
|
||||
{
|
||||
if ($this->color === Constants::DEFAULT_COLOR) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return $this->color;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user