summaryrefslogtreecommitdiff
path: root/templates/demo/pick_list.tex
blob: cc7f67fd106ee59d11522bf3f8651f8c5c9de601 (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. <?lsmb INCLUDE letterhead.tex ?>
  11. % Breaking old pagebreak directive
  12. %<?xlsmb pagebreak 65 27 37 ?>
  13. %\end{tabularx}
  14. %
  15. %\newpage
  16. %
  17. %\markboth{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}
  18. %
  19. %\begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
  20. % \textbf{Item} & \textbf{Number} & \textbf{Description} &
  21. % \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
  22. %
  23. %<?xlsmb end pagebreak ?>
  24. \vspace*{0.5cm}
  25. \parbox[t]{.5\textwidth}{
  26. \textbf{Ship To}
  27. } \hfill
  28. \vspace{0.3cm}
  29. \parbox[t]{.5\textwidth}{
  30. <?lsmb shiptoname ?>
  31. <?lsmb shiptoaddress1 ?>
  32. <?lsmb shiptoaddress2 ?>
  33. <?lsmb shiptocity ?>
  34. <?lsmb IF shiptostate ?>
  35. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  36. <?lsmb END ?>
  37. <?lsmb shiptozipcode ?>
  38. <?lsmb shiptocountry ?>
  39. }
  40. \parbox[t]{.5\textwidth}{
  41. <?lsmb shiptocontact ?>
  42. <?lsmb IF shiptophone ?>
  43. Tel: <?lsmb shiptophone ?>
  44. <?lsmb END ?>
  45. <?lsmb IF shiptofax ?>
  46. Fax: <?lsmb shiptofax ?>
  47. <?lsmb END ?>
  48. <?lsmb shiptoemail ?>
  49. }
  50. \hfill
  51. \vspace{1cm}
  52. \textbf{P I C K} \parbox{0.3cm}{\hfill} \textbf{L I S T}
  53. \hfill
  54. \vspace{1cm}
  55. \begin{tabularx}{\textwidth}{*{7}{|X}|} \hline
  56. \textbf{Invoice \#} & \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
  57. & \textbf{Warehouse} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
  58. \hline
  59. <?lsmb invnumber ?> & <?lsmb ordnumber ?>
  60. <?lsmb IF shippingdate ?>
  61. & <?lsmb shippingdate ?>
  62. <?lsmb ELSE ?>
  63. & <?lsmb transdate ?>
  64. <?lsmb END ?>
  65. & <?lsmb employee ?> & <?lsmb warehouse ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  66. \hline
  67. \end{tabularx}
  68. \vspace{1cm}
  69. \begin{tabularx}{\textwidth}{@{}rlXrcll@{}}
  70. \textbf{Item} & \textbf{Number} & \textbf{Description} &
  71. \textbf{Qty} & \textbf{Ship} & & \textbf{Bin} \\
  72. <?lsmb FOREACH number ?>
  73. <?lsmb lc = loop.count - 1 ?>
  74. <?lsmb runningnumber.${lc} ?> &
  75. <?lsmb number.${lc} ?> &
  76. <?lsmb description.${lc} ?> &
  77. <?lsmb qty.${lc} ?> & [\hspace{1cm}] &
  78. <?lsmb unit.${lc} ?> & <?lsmb bin.${lc} ?> \\
  79. <?lsmb END ?>
  80. \end{tabularx}
  81. \parbox{\textwidth}{
  82. \rule{\textwidth}{2pt}
  83. }
  84. \end{document}