This commit is contained in:
weiz 2024-03-08 11:49:04 +08:00
parent 3d29228886
commit 2853b18656

View File

@ -76,6 +76,11 @@ class ManageProject extends BaseModel
return !empty($value) ? date('Y-m-d', $value) : '';
}
public function getInitiationDateDateAttr($value): string
{
return !empty($value) ? date('Y-m-d', $value) : '';
}
public function getAnnexAttr($value)
{
return !empty($value) ? json_decode($value,true) : '';