summaryrefslogtreecommitdiff
path: root/templates/Hungarian-work_order.tex
blob: b7989729bcb3fe5a3c210d393102abc9c36a372a (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. \newpage
  41. \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
  42. \vspace*{-12pt}
  43. \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
  44. \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  45. & \textbf{Serial Number} \\
  46. <%end pagebreak%>
  47. \vspace*{0.5cm}
  48. \parbox[t]{1cm}{\hfill}
  49. \parbox[t]{.45\textwidth}{
  50. \textbf{To}
  51. \vspace{0.7cm}
  52. <%name%>
  53. <%address1%>
  54. <%address2%>
  55. <%city%> <%state%> <%zipcode%>
  56. <%country%>
  57. \vspace{0.3cm}
  58. <%if contact%>
  59. <%contact%>
  60. \vspace{0.2cm}
  61. <%end contact%>
  62. <%if customerphone%>
  63. Tel: <%customerphone%>
  64. <%end customerphone%>
  65. <%if customerfax%>
  66. Fax: <%customerfax%>
  67. <%end customerfax%>
  68. <%email%>
  69. }
  70. \parbox[t]{.45\textwidth}{
  71. \textbf{Ship To}
  72. \vspace{0.7cm}
  73. <%shiptoname%>
  74. <%shiptoaddress1%>
  75. <%shiptoaddress2%>
  76. <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
  77. <%shiptocountry%>
  78. \vspace{0.3cm}
  79. <%if shiptocontact%>
  80. <%shiptocontact%>
  81. \vspace{0.2cm}
  82. <%end shiptocontact%>
  83. <%if shiptophone%>
  84. Tel: <%shiptophone%>
  85. <%end shiptophone%>
  86. <%if shiptofax%>
  87. Fax: <%shiptofax%>
  88. <%end shiptofax%>
  89. <%shiptoemail%>
  90. }
  91. \hfill
  92. \vspace{1cm}
  93. \textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
  94. \hfill
  95. \vspace{1cm}
  96. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  97. \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
  98. \hline
  99. <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  100. \hline
  101. \end{tabularx}
  102. \vspace{1cm}
  103. \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
  104. \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  105. & \textbf{Serial Number} \\
  106. <%foreach number%>
  107. <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
  108. <%unit%> & <%serialnumber%> \\
  109. <%end number%>
  110. \end{tabularx}
  111. \parbox{\textwidth}{
  112. \rule{\textwidth}{2pt}
  113. \vspace{12pt}
  114. <%if notes%>
  115. <%notes%>
  116. <%end if%>
  117. }
  118. \vfill
  119. \vspace{1cm}
  120. \rule{\textwidth}{0.5pt}
  121. \end{document}