projects
/
fa-stable.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
7a263b9
)
Rerun
author
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 20 Mar 2010 11:21:49 +0000
(11:21 +0000)
committer
Joe Hunt
<joe.hunt.consulting@gmail.com>
Sat, 20 Mar 2010 11:21:49 +0000
(11:21 +0000)
reporting/includes/header2.inc
patch
|
blob
|
history
diff --git
a/reporting/includes/header2.inc
b/reporting/includes/header2.inc
index d839ec424936381a51bf5af6548b998a1378c7de..e1ad9af18889bbd11f8c67a7dc4f49a51beafc7a 100644
(file)
--- a/
reporting/includes/header2.inc
+++ b/
reporting/includes/header2.inc
@@
-188,11
+188,12
@@
if ($sales_order != NULL)
{
$this->row = $temp;
if ($sales_order != NULL)
{
$this->row = $temp;
- if ($doctype == ST_PURCHORDER) // comment out the next line if you don't want to print company name
- $this->Text($mcol, $this->company['coy_name']);
- elseif ($doctype != ST_SUPPAYMENT && isset($sales_order['deliver_to']))
+ if ($doctype != ST_SUPPAYMENT && isset($sales_order['deliver_to']))
+ {
$this->Text($mcol, $sales_order['deliver_to']);
$this->Text($mcol, $sales_order['deliver_to']);
- $this->NewLine();
+ $this->NewLine();
+ }
+ // if you need the company name in purchase order then write it as first line in location addresss.
if ($doctype != ST_SUPPAYMENT && isset($sales_order['delivery_address']))
$this->TextWrapLines($mcol, $this->rightMargin - $mcol, $sales_order['delivery_address']);
}
if ($doctype != ST_SUPPAYMENT && isset($sales_order['delivery_address']))
$this->TextWrapLines($mcol, $this->rightMargin - $mcol, $sales_order['delivery_address']);
}