projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
c19cd26
)
add customer # to default invoice templates
author
ivan
<ivan>
Fri, 20 Apr 2007 21:40:56 +0000
(21:40 +0000)
committer
ivan
<ivan>
Fri, 20 Apr 2007 21:40:56 +0000
(21:40 +0000)
conf/invoice_html
patch
|
blob
|
history
conf/invoice_latex
patch
|
blob
|
history
diff --git
a/conf/invoice_html
b/conf/invoice_html
index
fa1f943
..
f9fd847
100644
(file)
--- a/
conf/invoice_html
+++ b/
conf/invoice_html
@@
-26,13
+26,19
@@
<td>
</td>
<td align="left">
<td>
</td>
<td align="left">
- Invoice
number
<BR>
+ Invoice
#
<BR>
<B><%= $invnum %></B>
</td>
<B><%= $invnum %></B>
</td>
+ <td>
+ </td>
+ <td align="center">
+ Customer #<BR>
+ <B><%= $custnum %></B>
+ </td>
</tr>
<tr>
<th> </th>
</tr>
<tr>
<th> </th>
- <th colspan=
1
align="center">
+ <th colspan=
3
align="center">
<FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
</th>
<th> </th>
<FONT SIZE="+3">I</FONT><FONT SIZE="+2">NVOICE</FONT>
</th>
<th> </th>
diff --git
a/conf/invoice_latex
b/conf/invoice_latex
index
cf557f4
..
660c4d5
100644
(file)
--- a/
conf/invoice_latex
+++ b/
conf/invoice_latex
@@
-101,10
+101,10
@@
\fancyhead[R]{
\r
\ifthenelse{\equal{\thepage}{1}}
\r
{ % First page
\r
\fancyhead[R]{
\r
\ifthenelse{\equal{\thepage}{1}}
\r
{ % First page
\r
- \begin{tabular}{
rcl
}
\r
- Invoice date &
& Invoice number
\\
\r
+ \begin{tabular}{
ccc
}
\r
+ Invoice date &
Invoice \#& Customer\#
\\
\r
\vspace{0.2cm}
\r
\vspace{0.2cm}
\r
- \textbf{[@-- $date --@]} &
& \textbf{[@-- $inv
num --@]} \\\hline
\r
+ \textbf{[@-- $date --@]} &
\textbf{[@-- $invnum --@]} & \textbf{[@-- $cust
num --@]} \\\hline
\r
\rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\
\r
\vspace{-0.2cm}
\r
& & \\\hline
\r
\rule{0pt}{5ex} &~~ \huge{\textsc{Invoice}} & \\
\r
\vspace{-0.2cm}
\r
& & \\\hline
\r
@@
-112,9
+112,9
@@
}
\r
{ % ... pages
\r
\small{
\r
}
\r
{ % ... pages
\r
\small{
\r
- \begin{tabular}{ll}
\r
- Invoice date & Invoice
number
\\
\r
- \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]}\\
\r
+ \begin{tabular}{ll
l
}
\r
+ Invoice date & Invoice
\#& Customer\#
\\
\r
+ \textbf{[@-- $date --@]} & \textbf{[@-- $invnum --@]}
& \textbf{[@-- $custnum --@]}
\\
\r
\end{tabular}
\r
}
\r
}
\r
\end{tabular}
\r
}
\r
}
\r