summaryrefslogtreecommitdiff
path: root/templates/Estonian_UTF8-sales_order.tex
blob: d3693af88db85d36ccbb32dffa81029369867484 (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. <?lsmb include letterhead.tex ?>
  11. <?lsmb pagebreak 65 27 48 ?>
  12. \end{tabularx}
  13. \rule{\textwidth}{2pt}
  14. \hfill
  15. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  16. & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
  17. \end{tabularx}
  18. \newpage
  19. \markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
  20. \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
  21. \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  22. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  23. & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
  24. <?lsmb end pagebreak ?>
  25. \vspace*{0.5cm}
  26. \parbox[t]{.5\textwidth}{
  27. \textbf{To}
  28. \vspace{0.3cm}
  29. <?lsmb name ?>
  30. <?lsmb address1 ?>
  31. <?lsmb address2 ?>
  32. <?lsmb city ?>
  33. <?lsmb if state ?>
  34. \hspace{-0.1cm}, <?lsmb state ?>
  35. <?lsmb end state ?>
  36. <?lsmb zipcode ?>
  37. <?lsmb country ?>
  38. \vspace{0.3cm}
  39. <?lsmb if contact ?>
  40. <?lsmb contact ?>
  41. \vspace{0.2cm}
  42. <?lsmb end contact ?>
  43. <?lsmb if customerphone ?>
  44. Tel: <?lsmb customerphone ?>
  45. <?lsmb end customerphone ?>
  46. <?lsmb if customerfax ?>
  47. Fax: <?lsmb customerfax ?>
  48. <?lsmb end customerfax ?>
  49. <?lsmb email ?>
  50. }
  51. \parbox[t]{.5\textwidth}{
  52. \textbf{Ship To}
  53. \vspace{0.3cm}
  54. <?lsmb shiptoname ?>
  55. <?lsmb shiptoaddress1 ?>
  56. <?lsmb shiptoaddress2 ?>
  57. <?lsmb shiptocity ?>
  58. <?lsmb if shiptostate ?>
  59. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  60. <?lsmb end shiptostate ?>
  61. <?lsmb shiptozipcode ?>
  62. <?lsmb shiptocountry ?>
  63. \vspace{0.3cm}
  64. <?lsmb if shiptocontact ?>
  65. <?lsmb shiptocontact ?>
  66. \vspace{0.2cm}
  67. <?lsmb end shiptocontact ?>
  68. <?lsmb if shiptophone ?>
  69. Tel: <?lsmb shiptophone ?>
  70. <?lsmb end shiptophone ?>
  71. <?lsmb if shiptofax ?>
  72. Fax: <?lsmb shiptofax ?>
  73. <?lsmb end shiptofax ?>
  74. <?lsmb shiptoemail ?>
  75. }
  76. \hfill
  77. \vspace{1cm}
  78. \textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
  79. \hfill
  80. \vspace{1cm}
  81. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  82. \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
  83. \hline
  84. <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  85. \hline
  86. \end{tabularx}
  87. \vspace{1cm}
  88. \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
  89. \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  90. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  91. <?lsmb foreach number ?>
  92. <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  93. <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
  94. <?lsmb end number ?>
  95. \end{tabularx}
  96. \parbox{\textwidth}{
  97. \rule{\textwidth}{2pt}
  98. \vspace{0.2cm}
  99. \hfill
  100. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  101. & Subtotal & <?lsmb subtotal ?> \\
  102. <?lsmb foreach tax ?>
  103. & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
  104. <?lsmb end tax ?>
  105. \hline
  106. & Total & <?lsmb ordtotal ?>\\
  107. \end{tabularx}
  108. \vspace{0.3cm}
  109. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100
  110. \hfill
  111. All prices in \textbf{<?lsmb currency ?>}.
  112. <?lsmb if terms ?>
  113. Terms: <?lsmb terms ?> days
  114. <?lsmb end terms ?>
  115. \vspace{12pt}
  116. <?lsmb notes ?>
  117. }
  118. \vfill
  119. \centerline{\textbf{Thank You for your valued business!}}
  120. \rule{\textwidth}{0.5pt}
  121. \end{document}