close #2329 Fixed: Invoice/Bill edit missing notes and footer

This commit is contained in:
Cüneyt Şentürk 2021-12-01 18:51:34 +03:00
parent 314275006e
commit 0d089703da

View File

@ -1039,6 +1039,10 @@ abstract class DocumentForm extends Base
return $footerSetting;
}
if (!empty($this->document)) {
return $this->document->footer;
}
return setting($this->getSettingKey($this->type, 'footer'));
}
@ -1048,6 +1052,10 @@ abstract class DocumentForm extends Base
return $notesSetting;
}
if (!empty($this->document)) {
return $this->document->notes;
}
return setting($this->getSettingKey($this->type, 'notes'));
}