mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
Bugfix briefpapier freitexte width
This commit is contained in:
parent
791a12b731
commit
49dfd255e4
@ -1797,12 +1797,19 @@ class Briefpapier extends SuperFPDF {
|
|||||||
|
|
||||||
public function setStyleData($styleData){
|
public function setStyleData($styleData){
|
||||||
$this->styleData = $styleData;
|
$this->styleData = $styleData;
|
||||||
}
|
}
|
||||||
|
|
||||||
private function getStyleElement($key){
|
private function getStyleElement($key){
|
||||||
if(isset($this->styleData[$key]) && !empty($this->styleData[$key])) return $this->styleData[$key];
|
$result = null;
|
||||||
|
if(isset($this->styleData[$key]) && !empty($this->styleData[$key])) {
|
||||||
return $this->app->erp->Firmendaten($key);
|
$result = $this->styleData[$key];
|
||||||
|
} else {
|
||||||
|
$result = $this->app->erp->Firmendaten($key);
|
||||||
|
}
|
||||||
|
if (empty($result)) {
|
||||||
|
$result = 0;
|
||||||
|
}
|
||||||
|
return($result);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function renderDocument() {
|
public function renderDocument() {
|
||||||
|
Loading…
Reference in New Issue
Block a user