projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
e685a94
)
Bug 5194: The company name is not displayed on invoices if the logo is set. Fixed.
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 6 Oct 2020 20:50:31 +0000
(22:50 +0200)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Tue, 6 Oct 2020 20:50:31 +0000
(22:50 +0200)
reporting/includes/header2.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/header2.inc
b/reporting/includes/header2.inc
index 95b3a7e249157abcb31d081588a4ea0403e8dd5e..d97f50e65d0d2775e6c639ae4ad4da06e140a75c 100644
(file)
--- a/
reporting/includes/header2.inc
+++ b/
reporting/includes/header2.inc
@@
-67,20
+67,18
@@
$this->LineTo($right, $iline5 ,$right, $iline7);
// Company Logo
$this->LineTo($right, $iline5 ,$right, $iline7);
// Company Logo
- $this->NewLine();
$logo = company_path() . "/images/" . $this->company['coy_logo'];
if ($this->company['coy_logo'] != '' && file_exists($logo))
{
$logo = company_path() . "/images/" . $this->company['coy_logo'];
if ($this->company['coy_logo'] != '' && file_exists($logo))
{
+ $this->NewLine();
$this->AddImage($logo, $ccol, $this->row, 0, 40);
}
$this->AddImage($logo, $ccol, $this->row, 0, 40);
}
- else
- {
- $this->fontSize += 4;
- $this->Font('bold');
- $this->Text($ccol, $this->company['coy_name'], $icol);
- $this->Font();
- $this->fontSize -= 4;
- }
+ $this->NewLine();
+ $this->fontSize += 4;
+ $this->Font('bold');
+ $this->Text($ccol, $this->company['coy_name'], $icol);
+ $this->Font();
+ $this->fontSize -= 4;
// Document title
$this->SetTextColor(190, 190, 190);
$this->fontSize += 10;
// Document title
$this->SetTextColor(190, 190, 190);
$this->fontSize += 10;