summaryrefslogtreecommitdiff
path: root/templates/jones/packing_list.tex
blob: 00b9558c997813a607eeecd341f1339913aa252a (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. <?lsmb company ?>
  28. <?lsmb address ?>}\hfill
  29. \begin{tabular}[b]{rr@{}}
  30. Tlf. & <?lsmb tel ?>\\
  31. Fax & <?lsmb fax ?>
  32. \end{tabular}
  33. \rule[1.5ex]{\textwidth}{0.5pt}
  34. }
  35. }
  36. \fontfamily{cmss}\fontshape{n}\selectfont
  37. \markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
  38. \pagestyle{myheadings}
  39. %\thispagestyle{empty} use this with letterhead paper
  40. <?lsmb pagebreak 90 27 37 ?>
  41. \end{tabular*}
  42. \newpage
  43. \markright{<?lsmb company ?>\hfill <?lsmb 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. <?lsmb end pagebreak ?>
  49. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  50. \vspace*{2cm}
  51. <?lsmb shiptoname ?>
  52. <?lsmb shiptoaddr1 ?>
  53. <?lsmb shiptoaddr2 ?>
  54. <?lsmb shiptoaddr3 ?>
  55. <?lsmb 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} & <?lsmb invdate ?> \\
  61. \textbf{Nummer} & <?lsmb invnumber ?> \\
  62. \textbf{Kunde} & <?lsmb 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. <?lsmb foreach number ?>
  69. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  70. <?lsmb unit ?> & <?lsmb bin ?> \\
  71. <?lsmb end number ?>
  72. \end{tabular*}
  73. \parbox{\textwidth}{
  74. \rule{\textwidth}{2pt}
  75. \vspace{12pt}
  76. <?lsmb if notes ?>
  77. <?lsmb notes ?>
  78. <?lsmb 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 <?lsmb company ?> før varer returneres.
  86. Returvarer skal forsendes forudbetalt og forsvarligt forsikret.
  87. <?lsmb company ?> kan ikke drages til ansvar for skade under transport.}
  88. \end{document}