contract template obligation api

This commit is contained in:
glovetleong
2021-06-28 21:20:32 +08:00
parent ebdf9d57cc
commit 64280f5754
12 changed files with 464 additions and 4 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ class ContractTemplate extends Model
public function getContractTemplateObligationListAttribute()
{
return $this->contract_template_obligation()->get();
return $this->contract_template_obligation()->get()->makeHidden(['contract_template_list']);
}
public function getUpdatedAtAttribute($date)