close #2329 Fixed: Invoice/Bill edit missing notes and footer
This commit is contained in:
parent
314275006e
commit
0d089703da
@ -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'));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user