From eedad02e621755aa269a6728364fa2ef07f6bca9 Mon Sep 17 00:00:00 2001 From: einhverfr Date: Sun, 24 Sep 2006 17:44:51 +0000 Subject: Changed all templates to the new syntax git-svn-id: https://ledger-smb.svn.sourceforge.net/svnroot/ledger-smb/trunk@142 4979c152-3d1c-0410-bac9-87ea11338e46 --- templates/Default-purchase_order.tex | 112 +++++++++++++++++------------------ 1 file changed, 56 insertions(+), 56 deletions(-) (limited to 'templates/Default-purchase_order.tex') diff --git a/templates/Default-purchase_order.tex b/templates/Default-purchase_order.tex index fe1e6428..260bec99 100755 --- a/templates/Default-purchase_order.tex +++ b/templates/Default-purchase_order.tex @@ -12,28 +12,28 @@ \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont -<%include letterhead.tex%> + -<%pagebreak 65 27 48%> + \end{tabularx} \rule{\textwidth}{2pt} \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}r@{}} - & Subtotal & <%sumcarriedforward%> \\ + & Subtotal & \\ \end{tabularx} \newpage -\markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>} +\markboth{\hfill }{\hfill } \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ - & carried forward from <%lastpage%> & & & & <%sumcarriedforward%> \\ -<%end pagebreak%> + & carried forward from & & & & \\ + \vspace*{0.5cm} @@ -42,71 +42,71 @@ \textbf{To} \vspace{0.3cm} -<%name%> + -<%address1%> + -<%address2%> + -<%city%> -<%if state%> -\hspace{-0.1cm}, <%state%> -<%end state%> -<%zipcode%> + + +\hspace{-0.1cm}, + + -<%country%> + \vspace{0.3cm} -<%if contact%> -Attn: <%contact%> + +Attn: \vspace{0.2cm} -<%end contact%> + -<%if vendorphone%> -Tel: <%vendorphone%> -<%end vendorphone%> + +Tel: + -<%if vendorfax%> -Fax: <%vendorfax%> -<%end vendorfax%> + +Fax: + -<%email%> + } \parbox[t]{.5\textwidth}{ \textbf{Ship To} \vspace{0.3cm} -<%shiptoname%> + -<%shiptoaddress1%> + -<%shiptoaddress2%> + -<%shiptocity%> -<%if shiptostate%> -\hspace{-0.1cm}, <%shiptostate%> -<%end shiptostate%> -<%shiptozipcode%> + + +\hspace{-0.1cm}, + + -<%shiptocountry%> + \vspace{0.3cm} -<%if shiptocontact%> -Attn: <%shiptocontact%> + +Attn: \vspace{0.2cm} -<%end shiptocontact%> + -<%if shiptophone%> -Tel: <%shiptophone%> -<%end shiptophone%> + +Tel: + -<%if shiptofax%> -Fax: <%shiptofax%> -<%end shiptofax%> + +Fax: + -<%shiptoemail%> + } \hfill @@ -119,7 +119,7 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline \textbf{Order \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex] \hline - <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\ + & & & & & \\ \hline \end{tabularx} @@ -128,10 +128,10 @@ Fax: <%shiptofax%> \begin{tabularx}{\textwidth}{@{}lXrlrr@{}} \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} & \textbf{Price} & \textbf{Amount} \\ -<%foreach number%> - <%number%> & <%description%> & <%qty%> & - <%unit%> & <%sellprice%> & <%linetotal%> \\ -<%end number%> + + & & & + & & \\ + \end{tabularx} @@ -142,22 +142,22 @@ Fax: <%shiptofax%> \hfill \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}} - & Subtotal & <%subtotal%> \\ -<%foreach tax%> - & <%taxdescription%> on <%taxbase%> & <%tax%>\\ -<%end tax%> + & Subtotal & \\ + + & on & \\ + \hline - & Total & <%ordtotal%>\\ + & Total & \\ \end{tabularx} \vspace{0.3cm} \hfill - All prices in \textbf{<%currency%>}. + All prices in \textbf{}. \vspace{12pt} -<%notes%> + } -- cgit v1.2.3