summaryrefslogtreecommitdiff
path: root/templates/Danish-packing_list.tex
blob: de8cc36a62a68dea408a96f9c6ccd84128b5639c (plain)
  1. \documentclass[a4paper,twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin1]{inputenc}
  5. \usepackage[T1]{fontenc}
  6. \usepackage[danish]{babel}
  7. \setlength{\voffset}{0.5cm}
  8. \setlength{\hoffset}{-2.0cm}
  9. \setlength{\topmargin}{0cm}
  10. \setlength{\headheight}{0.5cm}
  11. \setlength{\headsep}{1cm}
  12. \setlength{\topskip}{0pt}
  13. \setlength{\oddsidemargin}{1.0cm}
  14. \setlength{\evensidemargin}{1.0cm}
  15. \setlength{\textwidth}{19.2cm}
  16. \setlength{\textheight}{24.5cm}
  17. \setlength{\footskip}{1cm}
  18. \setlength{\parindent}{0pt}
  19. \renewcommand{\baselinestretch}{1}
  20. \begin{document}
  21. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  22. \newsavebox{\hdr}
  23. \sbox{\hdr}{
  24.   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  25. \parbox{\textwidth}{
  26. \parbox[b]{12cm}{
  27. <%company%>
  28. <%address%>}\hfill
  29. \begin{tabular}[b]{rr@{}}
  30. Tlf. & <%tel%>\\
  31. Fax & <%fax%>
  32. \end{tabular}
  33. \rule[1.5ex]{\textwidth}{0.5pt}
  34. }
  35. }
  36. \fontfamily{cmss}\fontshape{n}\selectfont
  37. \markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
  38. \pagestyle{myheadings}
  39. %\thispagestyle{empty} use this with letterhead paper
  40. <%pagebreak 65 27 37%>
  41. \end{tabular*}
  42. \newpage
  43. \markright{<%company%>\hfill <%invnumber%>}
  44. \vspace*{-12pt}
  45. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  46. \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
  47. \textbf{Enhed} & \textbf{Varelager} \\
  48. <%end pagebreak%>
  49. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  50. \vspace*{2cm}
  51. <%shiptoname%>
  52. <%shiptoaddr1%>
  53. <%shiptoaddr2%>
  54. <%shiptoaddr3%>
  55. <%shiptoaddr4%>
  56. \vspace{3.5cm}
  57. \textbf{F Ø L G E S E D D E L}
  58. \hfill
  59. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  60. \textbf{Dato} & <%invdate%> \\
  61. \textbf{Nummer} & <%invnumber%> \\
  62. \textbf{Kunde} & <%customer_id%>
  63. \end{tabular}
  64. \vspace{1cm}
  65. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  66. \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Antal} &
  67. \textbf{Enhed} & \textbf{Varelager} \\
  68. <%foreach number%>
  69. <%number%> & <%description%> & <%qty%> &
  70. <%unit%> & <%bin%> \\
  71. <%end number%>
  72. \end{tabular*}
  73. \parbox{\textwidth}{
  74. \rule{\textwidth}{2pt}
  75. \vspace{12pt}
  76. <%if notes%>
  77. <%notes%>
  78. <%end if%>
  79. }
  80. \vfill
  81. \centerline{\textbf{Tak for ordren!}}
  82. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  83. \footnotetext[1]{\tiny
  84. Returnerede varer modregnes 10\% i ekspeditionsgebyr.
  85. Et returnummer skal tildeles af <%company%> før varer returneres.
  86. Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
  87. <%company%> kan ikke drages til ansvar for skade under transport.}
  88. \end{document}