[PLUG] web-based invoicing app suggestions

Rich Shepard rshepard at appl-ecosys.com
Mon Oct 29 20:39:58 UTC 2007


On Mon, 29 Oct 2007, Kurt Sussman wrote:

> OK, on the SQL-Ledger demo site, where would I go to look at such an
> invoice form?

   See attached.

Rich

-- 
Richard B. Shepard, Ph.D.               |    The Environmental Permitting
Applied Ecosystem Services, Inc.        |         Accelerators(TM)
<http://www.appl-ecosys.com>     Voice: 503-667-4517      Fax: 503-667-8863
-------------- next part --------------
\documentclass{scrartcl}
\usepackage[latin1]{inputenc}
\usepackage{tabularx}
\usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry}
\usepackage{graphicx}

\begin{document}

\fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont

\parbox{\textwidth}{
   \includegraphics[scale=0.85]{aesi-invoice-logo}
   \hfill
   \begin{tabular}[b]{r}
    2404 SW 22 Street\\
    Troutdale, OR 97060-1247\\
    Telephone: 503-667-4517\\
    Facsimile: 503-667-8863\\
    EIN: 93-1550420\\
   \end{tabular}

  \rule[1.5ex]{\textwidth}{0.5pt}
}

\newsavebox{\ftr}

\sbox{\ftr}{
  \parbox{\textwidth}{
  \small
  \rule[1.5em]{\textwidth}{0.5pt}
\textbf{TERMS:} Accounts are considered past due after 15 days from the date
of the invoice. After that time, an 18 percent per annum (1.5 percent per
month) interest rate may be assessed. If assessed, the interest rate will be
retroactive to the invoice date.
  }
}

<%pagebreak 65 27 37%>

\rule{\textwidth}{2pt}
  
\vspace{0.2cm}

\rule{\textwidth}{12pt}

\hfill

\begin{tabularx}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rlrr@{}}
  \textbf{Description} & \textbf{Qt'y} &
    \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
  & carried forward from <%lastpage%> & & & & <%sumcarriedforward%>
  \end{tabularx}

\vspace*{0.5cm}

\parbox[t]{.5\textwidth}{
\textbf{To}
\vspace{0.3cm}

<%name%>

<%address1%>

<%if address2%>
<%address2%>
<%end address2%>

<%city%>
<%state%>
<%zipcode%>

<%if country%>
<%country%>
<%end country%>
}

\hfill

\vspace{1.5cm}

{\bfseries\huge I N V O I C E}
\hfill

\vspace{1cm}

\begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  \textbf{Date} & <%invdate%> \\
  \textbf{Number} & <%invnumber%> \\
  \textbf{Client} & <%customernumber%>
\end{tabular}

\vspace{1cm}

\begin{tabularx}{\textwidth}{@{}p{8cm}@{\extracolsep\fill}rlrr@{}}
  \textbf{Description} & \textbf{Quant.} &
    \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\
<%foreach number%>
  <%description%> & <%qty%> &
    <%unit%> & <%sellprice%> & <%linetotal%> \\
<%end number%>
\end{tabularx}

\parbox{\textwidth}{
\rule{\textwidth}{2pt}

\vspace{0.2cm}

\hfill
\begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  & \textbf{Balance Due} & \textbf{\$<%invtotal%>}
\end{tabularx}

\vspace{12pt}

<%notes%>

}

\vfill

\vspace{1cm}

\centerline{\textbf{Thank You for your valued business!}}

\rule{\textwidth}{0.5pt}

\usebox{\ftr}

\end{document}



More information about the PLUG mailing list