[freeside-commits] freeside/conf invoice_latex,1.11.4.4,1.11.4.5
Jeff Finucane,420,,
jeff at wavetail.420.am
Wed Jun 4 06:27:46 PDT 2008
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.180.2.26, 1.180.2.27 cust_bill.pm, 1.163.2.29, 1.163.2.30
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.151, 1.152 cust_main.pm, 1.342, 1.343 tax_rate.pm, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /home/cvs/cvsroot/freeside/conf
In directory wavetail.420.am:/tmp/cvs-serv12363/conf
Modified Files:
Tag: FREESIDE_1_7_BRANCH
invoice_latex
Log Message:
service address on invoice
Index: invoice_latex
===================================================================
RCS file: /home/cvs/cvsroot/freeside/conf/invoice_latex,v
retrieving revision 1.11.4.4
retrieving revision 1.11.4.5
diff -u -d -r1.11.4.4 -r1.11.4.5
--- invoice_latex 2 Jun 2008 11:17:12 -0000 1.11.4.4
+++ invoice_latex 4 Jun 2008 13:27:43 -0000 1.11.4.5
@@ -58,7 +58,7 @@
\newcommand{\returninset}[1][]{\hspace{-0.25cm}}
% New command for address lines i.e. skip them if blank
-\newcommand{\addressline}[1]{\ifthenelse{\equal{#1}{}}{}{#1\newline}}
+\newcommand{\addressline}[1]{\ifthenelse{\equal{#1}{}}{}{#1\\}}
% Inserts dollar symbol
\newcommand{\dollar}[1][]{\symbol{36}}
@@ -186,8 +186,7 @@
%
%
[@-- $coupon ? '\enlargethispage{-\extracouponspace}' : '' --@]
-\begin{tabular}{ll}
-\addressinset \rule{0cm}{0cm} &
+\addressinset \rule{0.5cm}{0cm}
\makebox{
\begin{minipage}[t]{5.0cm}
\vspace{0.25cm}
@@ -198,11 +197,23 @@
\addressline{[@-- $city --@], [@-- $state --@]~~[@-- $zip --@]}
\addressline{[@-- $country --@]}
\end{minipage}}
-\end{tabular}
\hfill
\makebox{
\begin{minipage}[t]{6.4cm}
\begin{flushright}
+[@--
+ if ($ship_enable) {
+ $OUT .= '\textbf{Service Address}\\\\';
+ $OUT .= "\\addressline{$ship_company}";
+ $OUT .= "\\addressline{$ship_address1}";
+ $OUT .= "\\addressline{$ship_address2}";
+ $OUT .= "\\addressline{$ship_city, $ship_state~~$ship_zip}";
+ $OUT .= "\\addressline{$ship_country}";
+ $OUT .= '~\\\\';
+ }else{
+ $OUT .= '';
+ }
+--@]
Terms: [@-- $terms --@]\\
[@-- $po_line --@]\\
\end{flushright}
- Previous message: [freeside-commits] freeside/FS/FS Conf.pm, 1.180.2.26, 1.180.2.27 cust_bill.pm, 1.163.2.29, 1.163.2.30
- Next message: [freeside-commits] freeside/FS/FS Record.pm, 1.151, 1.152 cust_main.pm, 1.342, 1.343 tax_rate.pm, 1.4, 1.5
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
More information about the freeside-commits
mailing list