summaryrefslogtreecommitdiff
path: root/templates/Russian-sales_order.tex
blob: f74d036d65e7697dba08c729e4924c5a770b6472 (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage{graphicx}
  5. \setlength{\voffset}{0.5cm}
  6. \setlength{\hoffset}{-1.9cm}
  7. \setlength{\topmargin}{0cm}
  8. \setlength{\headheight}{0.5cm}
  9. \setlength{\headsep}{1cm}
  10. \setlength{\topskip}{0pt}
  11. \setlength{\oddsidemargin}{1.0cm}
  12. \setlength{\evensidemargin}{1.0cm}
  13. \setlength{\textwidth}{19.2cm}
  14. \setlength{\textheight}{24.7cm}
  15. \setlength{\footskip}{1cm}
  16. \setlength{\parindent}{0pt}
  17. \renewcommand{\baselinestretch}{1}
  18. \begin{document}
  19. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  20. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  21. \pagestyle{myheadings}
  22. \thispagestyle{empty}
  23. \vspace*{-1.3cm}
  24. \parbox{\textwidth}{%
  25.   \parbox[b]{.42\textwidth}{%
  26. <%company%>
  27. <%address%>
  28. }
  29. \parbox[b]{.2\textwidth}{
  30. \includegraphics[scale=0.3]{ledger-smb}
  31. }\hfill
  32. \begin{tabular}[b]{rr@{}}
  33. Telephone & <%tel%>\\
  34. Facsimile & <%fax%>
  35. \end{tabular}
  36. \rule[1.5em]{\textwidth}{0.5pt}
  37. }
  38. <%pagebreak 65 27 48%>
  39. \end{tabularx}
  40. \rule{\textwidth}{2pt}
  41. \hfill
  42. \begin{tabularx}{7cm}{Xr@{}}
  43. \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
  44. \end{tabularx}
  45. \newpage
  46. \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
  47. \vspace*{-12pt}
  48. \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
  49. \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  50. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  51. & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
  52. <%end pagebreak%>
  53. \vspace*{0.5cm}
  54. \parbox[t]{1cm}{\hfill}
  55. \parbox[t]{.45\textwidth}{
  56. \textbf{To}
  57. \vspace{0.7cm}
  58. <%name%>
  59. <%address1%>
  60. <%address2%>
  61. <%city%> <%state%> <%zipcode%>
  62. <%country%>
  63. \vspace{0.3cm}
  64. <%if contact%>
  65. <%contact%>
  66. \vspace{0.2cm}
  67. <%end contact%>
  68. <%if customerphone%>
  69. Tel: <%customerphone%>
  70. <%end customerphone%>
  71. <%if customerfax%>
  72. Fax: <%customerfax%>
  73. <%end customerfax%>
  74. <%email%>
  75. }
  76. \parbox[t]{.45\textwidth}{
  77. \textbf{Ship To}
  78. \vspace{0.7cm}
  79. <%shiptoname%>
  80. <%shiptoaddress1%>
  81. <%shiptoaddress2%>
  82. <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
  83. <%shiptocountry%>
  84. \vspace{0.3cm}
  85. <%if shiptocontact%>
  86. <%shiptocontact%>
  87. \vspace{0.2cm}
  88. <%end shiptocontact%>
  89. <%if shiptophone%>
  90. Tel: <%shiptophone%>
  91. <%end shiptophone%>
  92. <%if shiptofax%>
  93. Fax: <%shiptofax%>
  94. <%end shiptofax%>
  95. <%shiptoemail%>
  96. }
  97. \hfill
  98. \vspace{1cm}
  99. \textbf{S A L E S} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
  100. \hfill
  101. \vspace{1cm}
  102. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  103. \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
  104. \hline
  105. <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  106. \hline
  107. \end{tabularx}
  108. \vspace{1cm}
  109. \begin{tabularx}{\textwidth}{@{}rlXrlrrr@{}}
  110. \textbf{Pos} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  111. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  112. <%foreach number%>
  113. <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
  114. <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
  115. <%end number%>
  116. \end{tabularx}
  117. \parbox{\textwidth}{
  118. \rule{\textwidth}{2pt}
  119. \vspace{0.2cm}
  120. \hfill
  121. \begin{tabularx}{7cm}{Xr@{}}
  122. Subtotal & <%subtotal%> \\
  123. <%foreach tax%>
  124. <%taxdescription%> on <%taxbase%> & <%tax%>\\
  125. <%end tax%>
  126. \hline
  127. Total & <%ordtotal%>\\
  128. \end{tabularx}
  129. \vspace{0.3cm}
  130. <%text_amount%> ***** <%decimal%>/100
  131. \hfill
  132. All prices in \textbf{<%currency%>}.
  133. <%if terms%>
  134. Terms: <%terms%> days
  135. <%end terms%>
  136. \vspace{12pt}
  137. <%notes%>
  138. }
  139. \vfill
  140. \vspace{1cm}
  141. \centerline{\textbf{Thank You for your valued business!}}
  142. \rule{\textwidth}{0.5pt}
  143. \end{document}