summaryrefslogtreecommitdiff
path: root/templates/Service-packing_list.tex
blob: b9ddb3fd52a8897a8742847aebff5090baf545b4 (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. <?lsmb company ?>
  26. <?lsmb address ?>}\hfill
  27. \begin{tabular}[b]{rr@{}}
  28. Telephone & <?lsmb tel ?>\\
  29. Facsimile & <?lsmb fax ?>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<?lsmb company ?>\hfill <?lsmb invnumber ?>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <?lsmb pagebreak 65 27 37 ?>
  39. \end{tabular*}
  40. \newpage
  41. \markright{<?lsmb company ?>\hfill <?lsmb invnumber ?>}
  42. \vspace*{-12pt}
  43. \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}}
  44. \textbf{Description} & \textbf{Qt'y} &
  45. \textbf{Unit} \\
  46. <?lsmb end pagebreak ?>
  47. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  48. \vspace*{2cm}
  49. <?lsmb shiptoname ?>
  50. <?lsmb shiptoaddr1 ?>
  51. <?lsmb shiptoaddr2 ?>
  52. <?lsmb shiptoaddr3 ?>
  53. <?lsmb shiptoaddr4 ?>
  54. \vspace{3.5cm}
  55. \textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
  56. \hfill
  57. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  58. \textbf{Date} & <?lsmb invdate ?> \\
  59. \textbf{Number} & <?lsmb invnumber ?> \\
  60. \textbf{Customer} & <?lsmb customer_id ?>
  61. \end{tabular}
  62. \vspace{1cm}
  63. \begin{tabular*}{\textwidth}{@{}p{\descrwidth}@{\extracolsep\fill}rl@{}}
  64. \textbf{Description} & \textbf{Qt'y} & \textbf{Unit} \\
  65. <?lsmb foreach number ?>
  66. <?lsmb description ?> & <?lsmb qty ?> & <?lsmb unit ?> \\
  67. <?lsmb end number ?>
  68. \end{tabular*}
  69. \parbox{\textwidth}{
  70. \rule{\textwidth}{2pt}
  71. \vspace{12pt}
  72. <?lsmb if notes ?>
  73. <?lsmb notes ?>
  74. <?lsmb end if ?>
  75. }
  76. %\vfill
  77. %\centerline{\textbf{Thank You for your valued business!}}
  78. %\renewcommand{\thefootnote}{\fnsymbol{footnote}}
  79. %\footnotetext[1]{\tiny
  80. %Items returned are subject to a 10\% restocking charge.
  81. %A return authorization must be obtained from <?lsmb company ?> before goods are
  82. %returned. Returns must be shipped prepaid and properly insured.
  83. %<?lsmb company ?> will not be responsible for damages during transit.}
  84. \end{document}