summaryrefslogtreecommitdiff
path: root/templates/Swedish-pick_list.tex
blob: a40c8f766d67f67cb798ca16d835f12bc396fcb0 (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin1]{inputenc}
  5. \usepackage{graphicx}
  6. \setlength{\voffset}{0.5cm}
  7. \setlength{\hoffset}{-2.0cm}
  8. \setlength{\topmargin}{0cm}
  9. \setlength{\headheight}{0.5cm}
  10. \setlength{\headsep}{1cm}
  11. \setlength{\topskip}{0pt}
  12. \setlength{\oddsidemargin}{1.0cm}
  13. \setlength{\evensidemargin}{1.0cm}
  14. \setlength{\textwidth}{19.2cm}
  15. \setlength{\textheight}{24.7cm}
  16. \setlength{\footskip}{1cm}
  17. \setlength{\parindent}{0pt}
  18. \renewcommand{\baselinestretch}{1}
  19. \begin{document}
  20. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  21. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  22. \pagestyle{myheadings}
  23. \thispagestyle{empty}
  24. \vspace*{-1.3cm}
  25. \parbox{\textwidth}{
  26.   \parbox[b]{.42\textwidth}{
  27. <%company%>
  28. <%address%>
  29. }
  30. \parbox[b]{.2\textwidth}{
  31. \includegraphics[scale=0.3]{sql-ledger}
  32. }\hfill
  33. \begin{tabular}[b]{rr@{}}
  34. Telefon & <%tel%>\\
  35. Fax & <%fax%>
  36. \end{tabular}
  37. \rule[1.5ex]{\textwidth}{0.5pt}
  38. }
  39. <%pagebreak 65 27 37%>
  40. \end{tabularx}
  41. \newpage
  42. \markboth{<%company%>\hfill <%ordnumber%>}{<%company%>\hfill <%ordnumber%>}
  43. \vspace*{-12pt}
  44. \begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
  45. \textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} &
  46. \textbf{Antal} & \textbf{Frakt} & & \textbf{Box} \\
  47. <%end pagebreak%>
  48. \vspace*{0.5cm}
  49. \parbox[t]{1cm}{\hfill}
  50. \parbox[t]{.5\textwidth}{
  51. \textbf{Ship To}
  52. } \hfill
  53. \vspace{0.7cm}
  54. \parbox[t]{1cm}{\hfill}
  55. \parbox[t]{.5\textwidth}{
  56. <%shiptoname%>
  57. <%shiptoaddress1%>
  58. <%shiptoaddress2%>
  59. <%shiptocity%> <%shiptostate%> <%shiptozipcode%>
  60. <%shiptocountry%>
  61. }
  62. \parbox[t]{.4\textwidth}{
  63. <%shiptocontact%>
  64. <%if shiptophone%>
  65. Tel: <%shiptophone%>
  66. <%end shiptophone%>
  67. <%if shiptofax%>
  68. Fax: <%shiptofax%>
  69. <%end shiptofax%>
  70. <%shiptoemail%>
  71. }
  72. \hfill
  73. \vspace{1cm}
  74. \textbf{P L O C K} \parbox{0.3cm}{\hfill} \textbf{L I S T A}
  75. \hfill
  76. \vspace{1cm}
  77. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
  78. \textbf{Faktura \#} & \textbf{Order \#} & \textbf{Datum} & \textbf{Kontakt}
  79. & \textbf{lager} & \textbf{Destination} & \textbf{Fraktas via} \\ [0.5em]
  80. \hline
  81. <%invnumber%> & <%ordnumber%>
  82. <%if shippingdate%>
  83. & <%shippingdate%>
  84. <%end shippingdate%>
  85. <%if not shippingdate%>
  86. & <%transdate%>
  87. <%end shippingdate%>
  88. & <%employee%>
  89. <%if warehouse%>
  90. & <%warehouse%>
  91. <%end warehouse%>
  92. & <%shippingpoint%> & <%shipvia%> \\
  93. \hline
  94. \end{tabularx}
  95. \vspace{1cm}
  96. \begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
  97. \textbf{Pos} & \textbf{Nummer} & \textbf{Beskrivning} &
  98. \textbf{Antal} & \textbf{Frakt} & & \textbf{Box} \\
  99. <%foreach number%>
  100. <%runningnumber%> & <%number%> & <%description%> &
  101. <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
  102. <%end number%>
  103. \end{tabularx}
  104. \parbox{\textwidth}{
  105. \rule{\textwidth}{2pt}
  106. }
  107. \end{document}