summaryrefslogtreecommitdiff
path: root/templates/spiff-en/sales_quotation.tex
blob: 6843a21dbb53cea82e50d7803c4c09ff7aa61135 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[latin1]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[letterpaper,top=2cm,bottom=-3cm,left=1.1cm,right=1.5cm]{geometry}
  5. \usepackage{graphicx}
  6. \begin{document}
  7. \pagestyle{myheadings}
  8. \thispagestyle{empty}
  9. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  10. \newsavebox{\ftr}
  11. \sbox{\ftr}{
  12.   \parbox{\textwidth}{
  13. \tiny
  14. \rule[1.5em]{\textwidth}{0.5pt}
  15. Special order items are subject to a 10\% cancellation fee.
  16. }
  17. }
  18. <%include letterhead.tex%>
  19. <%pagebreak 90 27 48%>
  20. \end{tabularx}
  21. \rule{\textwidth}{2pt}
  22. \hfill
  23. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  24. & \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
  25. \end{tabularx}
  26. \newpage
  27. \markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
  28. \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}}
  29. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  30. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  31. & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
  32. <%end pagebreak%>
  33. \vspace*{0.5cm}
  34. \parbox[t]{.5\textwidth}{
  35. <%name%>
  36. <%address1%>
  37. <%address2%>
  38. <%city%>
  39. <%if state%>
  40. \hspace{-0.1cm}, <%state%>
  41. <%end state%>
  42. <%zipcode%>
  43. <%country%>
  44. \vspace{0.3cm}
  45. <%if contact%>
  46. <%contact%>
  47. \vspace{0.2cm}
  48. <%end contact%>
  49. <%if customerphone%>
  50. Tel: <%customerphone%>
  51. <%end customerphone%>
  52. <%if customerfax%>
  53. Fax: <%customerfax%>
  54. <%end customerfax%>
  55. <%email%>
  56. }
  57. \vspace{1cm}
  58. \textbf{Q U O T A T I O N}
  59. \hfill
  60. \vspace{1cm}
  61. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  62. \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
  63. \hline
  64. <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  65. \hline
  66. \end{tabularx}
  67. \vspace{1cm}
  68. \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}}
  69. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  70. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  71. <%foreach number%>
  72. <%number%> & <%description%> & <%qty%> &
  73. <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
  74. <%end number%>
  75. \end{tabularx}
  76. \parbox{\textwidth}{
  77. \rule{\textwidth}{2pt}
  78. \vspace{0.2cm}
  79. \hfill
  80. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  81. & Subtotal & <%subtotal%> \\
  82. <%foreach tax%>
  83. & <%taxdescription%> on <%taxbase%> & <%tax%>\\
  84. <%end tax%>
  85. \hline
  86. & Total & <%quototal%>\\
  87. \end{tabularx}
  88. \vspace{0.3cm}
  89. \hfill
  90. All prices in \textbf{<%currency%>}.
  91. <%if terms%>
  92. Terms: <%terms%> days
  93. <%end terms%>
  94. \vspace{12pt}
  95. <%notes%>
  96. }
  97. \vfill
  98. \hfill \parbox{7cm}{X \rule{6.5cm}{0.5pt}}
  99. \rule{\textwidth}{0.5pt}
  100. \usebox{\ftr}
  101. \end{document}