mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-02-14 05:30:09 +01:00
briefpapier fix corrDetails line break
This commit is contained in:
parent
b9f9c68d15
commit
4b4a1dbbda
@ -2309,15 +2309,35 @@ class Briefpapier extends SuperFPDF {
|
||||
$this->SetY($this->GetY()+$this->abstand_boxrechtsoben);
|
||||
|
||||
$this->SetFont($this->GetFont(),'',$fontinfobox);
|
||||
$tempY = $this->GetY();
|
||||
/* $tempY = $this->GetY();
|
||||
$this->SetX($startpos_links_rechts);
|
||||
$this->MultiCell($this->box_breite1,4,$titleStr,"",$this->boxausrichtung); //BL
|
||||
$this->SetXY($startpos_links_rechts+$breite_spalte_rechts,$tempY);
|
||||
$this->MultiCell($this->box_breitexi21,4,$valueStr,"",$this->boxausrichtung); //BR
|
||||
$this->MultiCell($this->box_breitexi21,4,$valueStr,"",$this->boxausrichtung); //BR*/
|
||||
|
||||
foreach($this->corrDetails as $title => $value) {
|
||||
if($value!="")
|
||||
{
|
||||
$titleStr = $title !== ''?$this->app->erp->ReadyForPDF($title).": \n":" \n";
|
||||
$valueStr = $this->app->erp->ReadyForPDF($value)."\n";
|
||||
$startY = $this->GetY();
|
||||
$this->SetX($startpos_links_rechts);
|
||||
$this->MultiCell($this->box_breite1,4,$titleStr,"",$this->boxausrichtung); //BL
|
||||
$tempY = $this->GetY();
|
||||
$this->SetY($startY);
|
||||
$this->SetX($startpos_links_rechts+$breite_spalte_rechts);
|
||||
$this->MultiCell($this->box_breitexi21,4,$valueStr,"",$this->boxausrichtung); //BR*/
|
||||
|
||||
if ($tempY > $this->GetY()) {
|
||||
$this->SetY($tempY);
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
return($this->GetY());
|
||||
}
|
||||
|
||||
|
||||
public function renderDoctype() {
|
||||
//$this->Ln(1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user