diff --git a/app/Abstracts/View/Components/DocumentForm.php b/app/Abstracts/View/Components/DocumentForm.php index ebb65f5bd..daaf64966 100644 --- a/app/Abstracts/View/Components/DocumentForm.php +++ b/app/Abstracts/View/Components/DocumentForm.php @@ -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')); }