reverted minor merge issue

This commit is contained in:
Frank Schubert
2023-04-19 18:14:31 +02:00
parent 91b71747d3
commit 4d0cbd84f3
3 changed files with 3 additions and 8 deletions

View File

@@ -208,11 +208,6 @@ class Contract extends mfBaseModel {
return $this->journals;
}
if($name == "journals") {
$this->journals = array_reverse(ContractjournalModel::search(["contract_id" => $this->id]));
return $this->journals;
}
if($name == "links") {
$this->links = ContractLinkModel::includesContractId($this->id, ["type" => $link]);
//var_dump($this->links);exit;