$OUT .= "\\addressline{$ship_city, $ship_state~~$ship_zip}";\r
$OUT .= "\\addressline{$ship_country}";\r
$OUT .= '~\\\\';\r
+ $OUT .= "\\textbf{ID:}~~$agent_custid\\\\" if $agent_custid;\r
+ $OUT .= "\\textbf{Fax:}~~$ship_fax\\\\" if $ship_fax;\r
+ $OUT .= '~\\\\' if ($ship_fax or $agent_custid);\r
}else{\r
$OUT .= '';\r
}\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
- $OUT .= '\makebox[2.0cm][l]{\textbf{'. ($unitprices ? '~~Unit Price' : ''). '}&';\r
- $OUT .= '\makebox[2.0cm]{\textbf{'. ($unitprices ? '~Quantity' : ''). '}&';\r
+ $OUT .= '\makebox[2.0cm][l]{\textbf{'. ($unitprices ? '~~Unit Price' : ''). '}}&';\r
+ $OUT .= '\makebox[2.0cm]{\textbf{'. ($unitprices ? '~Quantity' : ''). '}}&';\r
$OUT .= '\makebox[2.0cm][r]{\textbf{Amount}} \\\\';\r
$OUT .= '\hline';\r
$OUT .= '\endfirsthead';\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
$OUT .= '\makebox[2.0cm][l]{}& ';\r
- $OUT .= '\makebox[2.0cm][l]{\textbf{'. ($unitprices ? '~~Unit Price' : ''). '}&';\r
- $OUT .= '\makebox[2.0cm]{\textbf{'. ($unitprices ? '~Quantity' : ''). '}&';\r
+ $OUT .= '\makebox[2.0cm][l]{\textbf{'. ($unitprices ? '~~Unit Price' : ''). '}}&';\r
+ $OUT .= '\makebox[2.0cm]{\textbf{'. ($unitprices ? '~Quantity' : ''). '}}&';\r
$OUT .= '\makebox[2.0cm][r]{\textbf{Amount}} \\\\';\r
$OUT .= '\hline';\r
$OUT .= '\endhead';\r