... | ... |
@@ -41,8 +41,8 @@ class AFPDF extends \TCPDF { |
41 | 41 |
$this->SetAutoPageBreak($auto_page_break, $bMargin); |
42 | 42 |
$this->SetMargins(0,0,0); |
43 | 43 |
$this->SetFooterMargin(0); |
44 |
- $this->Image(TL_ROOT . '/files/base/layout/img/mail/header_mail.png', 15, 35,180,0,'','','T',true,300); |
|
45 |
- $this->Image(TL_ROOT . '/files/base/layout/img/mail/logo_mail.png', 75, 10,60,0,'PNG','','T',true,300); |
|
44 |
+ $this->Image(TL_ROOT . '/files/base/layout/img/pdf/header_expertise.jpg', 0,30,210,0,'','','T',true,300); |
|
45 |
+ $this->Image(TL_ROOT . '/files/base/layout/img/pdf/logo.png', 75, 10,60,0,'PNG','','T',true,300); |
|
46 | 46 |
$this->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); |
47 | 47 |
$this->SetFooterMargin(PDF_MARGIN_FOOTER); |
48 | 48 |
} |
... | ... |
@@ -64,14 +64,17 @@ class AFPDF extends \TCPDF { |
64 | 64 |
$this->SetMargins(0,0,0); |
65 | 65 |
$this->SetFooterMargin(0); |
66 | 66 |
|
67 |
- $this->SetDrawColor(29,94,65); |
|
68 |
- $this->SetLineWidth(0.5); |
|
69 |
- $this->Line(15, 277, 195, 277, 'F'); |
|
67 |
+// $this->SetDrawColor(29,94,65); |
|
68 |
+// $this->SetLineWidth(0.5); |
|
69 |
+// $this->Line(15, 277, 195, 277, 'F'); |
|
70 |
+ $this->Rect(0,277,210,20,"F",array(),array(29,94,65)); |
|
70 | 71 |
|
71 | 72 |
|
72 |
- $this->SetTextColor(29,94,65); |
|
73 |
- $this->SetXY(15, 277); |
|
74 |
- $this->CreateCell(180, 10, 'www.affentaler.de', 0, 15, '', 'C', PDF_FONT_NAME_DATA); |
|
73 |
+ $this->SetTextColor(255,255,255); |
|
74 |
+ $this->SetXY(15, 282); |
|
75 |
+ $this->CreateCell(180, 10, 'www.affentaler.de', 0, 10, '', 'R', PDF_FONT_NAME_DATA); |
|
76 |
+ $this->ImageSVG(TL_ROOT . '/files/base/layout/img/scroll-logo.svg', 100, 282,0,10); |
|
77 |
+ |
|
75 | 78 |
|
76 | 79 |
// $this->Image(TL_ROOT . '/files/themes/gengenbach_v1/assets/images/pdf/expertise_papier_footer.jpg', 0, 278,210,0,'JPG','','T',true,300); |
77 | 80 |
$this->SetMargins(PDF_MARGIN_LEFT, PDF_MARGIN_TOP, PDF_MARGIN_RIGHT); |
... | ... |
@@ -42,12 +42,13 @@ use Isotope\Isotope; |
42 | 42 |
<div class="price h1" itemprop="price" |
43 | 43 |
content="<?= Isotope::roundPrice($price->getAmount(1, $this->product->getOptions())) ?>"><?= $this->generatePrice(); ?></div> |
44 | 44 |
|
45 |
+ <p class="fw-bold mb-0"><?php echo $this->generateAttribute('karton'); ?> x <?php echo rtrim(rtrim(\System::getFormattedNumber($this->generateAttribute('flascheninhalt'),3),'0'),','); ?> l</p> |
|
45 | 46 |
<?php if ($this->generateAttribute('baseprice')): ?> |
46 | 47 |
<div class="baseprice">(<?= $this->generateAttribute('baseprice'); ?>)</div> |
47 | 48 |
<?php endif; ?> |
48 |
- <span class="tax-note"> |
|
49 |
+ <div class="tax-note mt-1"> |
|
49 | 50 |
Preis inkl. MwSt., zzgl. Versandkosten |
50 |
- </span> |
|
51 |
+ </div> |
|
51 | 52 |
</div> |
52 | 53 |
<?php endif; ?> |
53 | 54 |
|