summaryrefslogtreecommitdiff
path: root/templates/Norwegian-packing_list.tex
blob: e741987d28c473c48e1102de27718001cd0719ce (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin1]{inputenc}
  5. \setlength{\voffset}{0.5cm}
  6. \setlength{\hoffset}{-2.0cm}
  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.5cm}
  15. \setlength{\footskip}{1cm}
  16. \setlength{\parindent}{0pt}
  17. \renewcommand{\baselinestretch}{1}
  18. \begin{document}
  19. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  20. \newsavebox{\hdr}
  21. \sbox{\hdr}{
  22.   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  23. \parbox{\textwidth}{
  24. \parbox[b]{12cm}{
  25. <%company%>
  26. <%address%>}\hfill
  27. \begin{tabular}[b]{rr@{}}
  28. Telefon & <%tel%>\\
  29. Telefaks & <%fax%>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<%company%>\hfill <%invnumber%>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <%pagebreak 65 27 48%>
  39. \end{tabular*}
  40. \newpage
  41. \markright{<%company%>\hfill <%invnumber%>}
  42. \vspace*{-12pt}
  43. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  44. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  45. \textbf{Unit} & \textbf{Bin} \\
  46. <%end pagebreak%>
  47. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  48. \vspace*{2cm}
  49. <%shiptoname%>
  50. <%shiptoaddr1%>
  51. <%shiptoaddr2%>
  52. <%shiptoaddr3%>
  53. <%shiptoaddr4%>
  54. \vspace{3.5cm}
  55. \textbf{F Ø L G E} \parbox{0.3cm}{\hfill} \textbf{S E D D E L}
  56. \hfill
  57. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  58. \textbf{Dato} & <%invdate%> \\
  59. \textbf{Fakturanr.} & <%invnumber%> \\
  60. \textbf{Kundeid.} & <%customer_id%>
  61. \end{tabular}
  62. \vspace{1cm}
  63. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rll@{}}
  64. \textbf{Nummer} & \textbf{Beskrivelse} & \textbf{Ant.} &
  65. \textbf{Enhet} & \textbf{Kurv} \\
  66. <%foreach number%>
  67. <%number%> & <%description%> & <%qty%> &
  68. <%unit%> & <%bin%> \\
  69. <%end number%>
  70. \end{tabular*}
  71. \parbox{\textwidth}{
  72. \rule{\textwidth}{2pt}
  73. \vspace{12pt}
  74. <%if notes%>
  75. <%notes%>
  76. <%end if%>
  77. }
  78. \vfill
  79. \centerline{\textbf{Takk for handelen!}}
  80. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  81. \footnotetext[1]{\tiny
  82. Varer som returneres
  83. belastes med 10\% returgebyr. Retur må forhåndsgodkjennes fra
  84. <%company%> før varene returneres. Retur må sendes forhåndsbetalt og
  85. må være forsikret. <%company%> er ikke ansvarlig for transportskader.
  86. }
  87. \end{document}