summaryrefslogtreecommitdiff
path: root/templates/French-work_order.tex
blob: abd0de6c6335a14644d4e67eccde22bcf1f2c0ce (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. <?lsmb company ?>
  27. <?lsmb address ?>
  28. }
  29. \parbox[b]{.2\textwidth}{
  30. \includegraphics[scale=0.3]{ledger-smb}
  31. }\hfill
  32. \begin{tabular}[b]{rr@{}}
  33. Telephone & <?lsmb tel ?>\\
  34. Facsimile & <?lsmb fax ?>
  35. \end{tabular}
  36. \rule[1.5em]{\textwidth}{0.5pt}
  37. }
  38. <?lsmb pagebreak 65 27 48 ?>
  39. \end{tabularx}
  40. \newpage
  41. \markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
  42. \vspace*{-12pt}
  43. \begin{tabularx}{\textwidth}{@{}rlXrll@{}}
  44. \textbf{No.} & \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  45. & \textbf{Serial Number} \\
  46. <?lsmb end pagebreak ?>
  47. \vspace*{0.5cm}
  48. \parbox[t]{1cm}{\hfill}
  49. \parbox[t]{.45\textwidth}{
  50. \textbf{To}
  51. \vspace{0.7cm}
  52. <?lsmb name ?>
  53. <?lsmb address1 ?>
  54. <?lsmb address2 ?>
  55. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  56. <?lsmb country ?>
  57. \vspace{0.3cm}
  58. <?lsmb if contact ?>
  59. <?lsmb contact ?>
  60. \vspace{0.2cm}
  61. <?lsmb end contact ?>
  62. <?lsmb if customerphone ?>
  63. Tel: <?lsmb customerphone ?>
  64. <?lsmb end customerphone ?>
  65. <?lsmb if customerfax ?>
  66. Fax: <?lsmb customerfax ?>
  67. <?lsmb end customerfax ?>
  68. <?lsmb email ?>
  69. }
  70. \parbox[t]{.45\textwidth}{
  71. \textbf{Ship To}
  72. \vspace{0.7cm}
  73. <?lsmb shiptoname ?>
  74. <?lsmb shiptoaddress1 ?>
  75. <?lsmb shiptoaddress2 ?>
  76. <?lsmb shiptocity ?> <?lsmb shiptostate ?> <?lsmb shiptozipcode ?>
  77. <?lsmb shiptocountry ?>
  78. \vspace{0.3cm}
  79. <?lsmb if shiptocontact ?>
  80. <?lsmb shiptocontact ?>
  81. \vspace{0.2cm}
  82. <?lsmb end shiptocontact ?>
  83. <?lsmb if shiptophone ?>
  84. Tel: <?lsmb shiptophone ?>
  85. <?lsmb end shiptophone ?>
  86. <?lsmb if shiptofax ?>
  87. Fax: <?lsmb shiptofax ?>
  88. <?lsmb end shiptofax ?>
  89. <?lsmb 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. <?lsmb ordnumber ?> & <?lsmb orddate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb 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. <?lsmb foreach number ?>
  107. <?lsmb runningnumber ?> & <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  108. <?lsmb unit ?> & <?lsmb serialnumber ?> \\
  109. <?lsmb end number ?>
  110. \end{tabularx}
  111. \parbox{\textwidth}{
  112. \rule{\textwidth}{2pt}
  113. \vspace{12pt}
  114. <?lsmb if notes ?>
  115. <?lsmb notes ?>
  116. <?lsmb end if ?>
  117. }
  118. \vfill
  119. \vspace{1cm}
  120. \rule{\textwidth}{0.5pt}
  121. \end{document}