summaryrefslogtreecommitdiff
path: root/templates/demo/packing_list.tex
blob: a1b638ecc218df6857aa2758d9ac6530f28fbe7b (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[utf8]{inputenc}
  3. \usepackage{tabularx}
  4. \usepackage[letterpaper,top=2cm,bottom=1.5cm,left=1.1cm,right=1.5cm]{geometry}
  5. \usepackage{graphicx}
  6. \begin{document}
  7. \pagestyle{myheadings}
  8. \thispagestyle{empty}
  9. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  10. \newsavebox{\ftr}
  11. \sbox{\ftr}{
  12.   \parbox{\textwidth}{
  13. \tiny
  14. \rule[1.5em]{\textwidth}{0.5pt}
  15. Items returned are subject to a 10\% restocking charge.
  16. A return authorization must be obtained from <?lsmb company ?> before goods are
  17. returned. Returns must be shipped prepaid and properly insured.
  18. <?lsmb company ?> will not be responsible for damages during transit.
  19. }
  20. }
  21. <?lsmb INCLUDE letterhead.tex ?>
  22. % Breaking old pagebreak directive
  23. %<?xlsmb pagebreak 65 27 37 ?>
  24. %\end{tabularx}
  25. %
  26. %\newpage
  27. %
  28. %\markboth{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}
  29. %
  30. %\begin{tabularx}{\textwidth}{@{}rlXllrrl@{}}
  31. % \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
  32. %<?xlsmb end pagebreak ?>
  33. \vspace*{0.5cm}
  34. \parbox[t]{.5\textwidth}{
  35. \textbf{Ship To}} \hfill
  36. \vspace{0.3cm}
  37. \parbox[t]{.5\textwidth}{
  38. <?lsmb shiptoname ?>
  39. <?lsmb shiptoaddress1 ?>
  40. <?lsmb shiptoaddress2 ?>
  41. <?lsmb shiptocity ?>
  42. <?lsmb IF shiptostate ?>
  43. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  44. <?lsmb END ?>
  45. <?lsmb shiptozipcode ?>
  46. <?lsmb shiptocountry ?>
  47. }
  48. \parbox[t]{.5\textwidth}{
  49. <?lsmb shiptocontact ?>
  50. <?lsmb IF shiptophone ?>
  51. Tel: <?lsmb shiptophone ?>
  52. <?lsmb END ?>
  53. <?lsmb IF shiptofax ?>
  54. Fax: <?lsmb shiptofax ?>
  55. <?lsmb END ?>
  56. <?lsmb shiptoemail ?>
  57. }
  58. \hfill
  59. \vspace{1cm}
  60. \textbf{P A C K I N G} \parbox{0.3cm}{\hfill} \textbf{L I S T}
  61. \hfill
  62. \vspace{1cm}
  63. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
  64. \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
  65. <?lsmb IF warehouse ?>
  66. & \textbf{Warehouse}
  67. <?lsmb END ?>
  68. & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
  69. \hline
  70. <?lsmb invnumber ?> & <?lsmb ordnumber ?>
  71. <?lsmb IF shippingdate ?>
  72. & <?lsmb shippingdate ?>
  73. <?lsmb ELSE ?>
  74. & <?lsmb transdate ?>
  75. <?lsmb END shippingdate ?>
  76. & <?lsmb employee ?>
  77. <?lsmb IF warehouse ?>
  78. & <?lsmb warehouse ?>
  79. <?lsmb END ?>
  80. & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  81. \hline
  82. \end{tabularx}
  83. \vspace{1cm}
  84. \begin{tabularx}{\textwidth}{@{}rlXllrrl@{}}
  85. \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Ship} & \\
  86. <?lsmb FOREACH number ?>
  87. <?lsmb lc = loop.count - 1 ?>
  88. <?lsmb runningnumber.${lc} ?> &
  89. <?lsmb number.${lc} ?> &
  90. <?lsmb description.${lc} ?> &
  91. <?lsmb serialnumber.${lc} ?> &
  92. <?lsmb deliverydate.${lc} ?> &
  93. <?lsmb qty.${lc} ?> &
  94. <?lsmb ship.${lc} ?> &
  95. <?lsmb unit.${lc} ?> \\
  96. <?lsmb END ?>
  97. \end{tabularx}
  98. \parbox{\textwidth}{
  99. \rule{\textwidth}{2pt}
  100. \vspace{12pt}
  101. <?lsmb notes ?>
  102. }
  103. \vfill
  104. \rule{\textwidth}{0.5pt}
  105. \usebox{\ftr}
  106. \end{document}