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