summaryrefslogtreecommitdiff
path: root/templates/spiff-en/work_order.tex
blob: be72cc6ff6e429e6cc668a3a3aed25484eeb5bdc (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. <%include letterhead.tex%>
  11. <%pagebreak 90 27 48%>
  12. \end{tabularx}
  13. \newpage
  14. \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
  15. \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
  16.   \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  17. & \textbf{Serial Number} \\
  18. <%end pagebreak%>
  19. \vspace*{0.5cm}
  20. \parbox[t]{.5\textwidth}{
  21. \textbf{To}
  22. \vspace{0.3cm}
  23. <%name%>
  24. <%address1%>
  25. <%address2%>
  26. <%city%>
  27. <%if state%>
  28. \hspace{-0.1cm}, <%state%>
  29. <%end state%>
  30. <%zipcode%>
  31. <%country%>
  32. \vspace{0.3cm}
  33. <%if contact%>
  34. <%contact%>
  35. \vspace{0.2cm}
  36. <%end contact%>
  37. <%if customerphone%>
  38. Tel: <%customerphone%>
  39. <%end customerphone%>
  40. <%if customerfax%>
  41. Fax: <%customerfax%>
  42. <%end customerfax%>
  43. <%email%>
  44. }
  45. \parbox[t]{.5\textwidth}{
  46. \textbf{Ship To}
  47. \vspace{0.3cm}
  48. <%shiptoname%>
  49. <%shiptoaddress1%>
  50. <%shiptoaddress2%>
  51. <%shiptocity%>
  52. <%if shiptostate%>
  53. \hspace{-0.1cm}, <%shiptostate%>
  54. <%end shiptostate%>
  55. <%shiptozipcode%>
  56. <%shiptocountry%>
  57. \vspace{0.3cm}
  58. <%if shiptocontact%>
  59. <%shiptocontact%>
  60. \vspace{0.2cm}
  61. <%end shiptocontact%>
  62. <%if shiptophone%>
  63. Tel: <%shiptophone%>
  64. <%end shiptophone%>
  65. <%if shiptofax%>
  66. Fax: <%shiptofax%>
  67. <%end shiptofax%>
  68. <%shiptoemail%>
  69. }
  70. \hfill
  71. \vspace{1cm}
  72. \textbf{W O R K} \parbox{0.3cm}{\hfill} \textbf{O R D E R}
  73. \hfill
  74. \vspace{1cm}
  75. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  76. \textbf{Order \#} & \textbf{Order Date} & \textbf{Required by} & \textbf{Salesperson} & \textbf{Shipping Point} & \textbf{Ship Via} \\ [0.5em]
  77. \hline
  78. <%ordnumber%> & <%orddate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  79. \hline
  80. \end{tabularx}
  81. \vspace{1cm}
  82. \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
  83. \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  84. & \textbf{Serial Number} \\
  85. <%foreach number%>
  86. <%runningnumber%> & <%number%> & <%description%> & <%qty%> &
  87. <%unit%> & <%serialnumber%> \\
  88. <%end number%>
  89. \end{tabularx}
  90. \parbox{\textwidth}{
  91. \rule{\textwidth}{2pt}
  92. \vspace{12pt}
  93. <%notes%>
  94. }
  95. \vfill
  96. \end{document}