\usepackage{graphicx} % required for logo graphic\r
\r
\addtolength{\voffset}{-0.0in} % top margin to top of header\r
-\addtolength{\hoffset}{-0.55in} %left margin on page\r
+\addtolength{\hoffset}{-0.60in} %left margin on page\r
\addtolength{\topmargin}{-0.6in} % top margin to top of header\r
\setlength{\headheight}{1in} % height of header\r
\setlength{\headsep}{0.5in} % between header and text\r
%% UNCOMMENT the following FOUR lines and change the path if necssary to provide a logo\r
\fancyhead[LO,LE]{\r
\begin{tabular}{l}\r
-\includegraphics{/usr/local/etc/freeside/logo.eps}\r
+\includegraphics{/usr/local/etc/freeside/conf.DBI:Pg:dbname=freeside/logo.eps}\r
\end{tabular}}\r
%\r
%% The Heading comprising isue date, customer ref & INVOICE name\r
%% Header & footer changes for subsequent pages\r
%\r
\afterpage{ \fancyfoot[RO,RE]{\small{\thepage\ of \pageref{LastPage}}} }\r
-\afterpage{ \fancyfoot[CO,CE]{\small{$org_company}} }\r
+\afterpage{ \fancyfoot[CO,CE]{\small{$smallfooter}} }\r
\afterpage{ \fancyhead[LO,LE]{\small{}} }\r
\afterpage{ \fancyhead[RO,RE]{\small{\r
\begin{tabular}{ll}\r
-Date & Account number\\\r
-\textbf{ $date_of_bill} & \textbf{ $customer_ref}\\\r
+Invoice date & Invoice number\\\r
+\textbf{$date} & \textbf{$invnum}\\\r
\end{tabular}}} }\r
%\r
%\r