summaryrefslogtreecommitdiff
path: root/templates/demo/bin_list.tex
blob: 8b96825c563493f1786a1b137eed69b56a0ec1cb (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 directives
  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}{@{}rlXllrrll@{}}
  20. % \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
  21. %<?xlsmb end pagebreak ?>
  22. \vspace*{0.5cm}
  23. \parbox[t]{.5\textwidth}{
  24. \textbf{From}
  25. \vspace{0.3cm}
  26. <?lsmb name ?>
  27. <?lsmb address1 ?>
  28. <?lsmb address2 ?>
  29. <?lsmb city ?>
  30. <?lsmb IF state ?>
  31. \hspace{-0.1cm}, <?lsmb state ?>
  32. <?lsmb END ?>
  33. <?lsmb zipcode ?>
  34. <?lsmb country ?>
  35. }
  36. \parbox[t]{.5\textwidth}{
  37. \textbf{Ship To}
  38. \vspace{0.3cm}
  39. <?lsmb shiptoname ?>
  40. <?lsmb shiptoaddress1 ?>
  41. <?lsmb shiptoaddress2 ?>
  42. <?lsmb shiptocity ?>
  43. <?lsmb IF shiptostate ?>
  44. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  45. <?lsmb END ?>
  46. <?lsmb shiptozipcode ?>
  47. <?lsmb shiptocountry ?>
  48. }
  49. \hfill
  50. \vspace{1cm}
  51. \textbf{B I N} \parbox{0.3cm}{\hfill} \textbf{L I S T}
  52. \hfill
  53. \vspace{1cm}
  54. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  55. \textbf{Order \#} & \textbf{Date} & \textbf{Contact}
  56. <?lsmb IF warehouse ?>
  57. & \textbf{Warehouse}
  58. <?lsmb END ?>
  59. & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5em]
  60. \hline
  61. <?lsmb ordnumber ?>
  62. <?lsmb IF shippingdate ?>
  63. & <?lsmb shippingdate ?>
  64. <?lsmb END ?>
  65. <?lsmb IF NOT shippingdate ?>
  66. & <?lsmb orddate ?>
  67. <?lsmb END ?>
  68. & <?lsmb employee ?>
  69. <?lsmb IF warehouse ?>
  70. & <?lsmb warehouse ?>
  71. <?lsmb END ?>
  72. & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  73. \hline
  74. \end{tabularx}
  75. \vspace{1cm}
  76. \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
  77. \textbf{Item} & \textbf{Number} & \textbf{Description} & \textbf{Serial Number} & & \textbf{Qty} & \textbf{Recd} & & \textbf{Bin} \\
  78. <?lsmb FOREACH number ?>
  79. <?lsmb lc = loop.count - 1 ?>
  80. <?lsmb runningnumber.${lc} ?> &
  81. <?lsmb number.${lc} ?> &
  82. <?lsmb description.${lc} ?> &
  83. <?lsmb serialnumber.${lc} ?> &
  84. <?lsmb deliverydate.${lc} ?> &
  85. <?lsmb qty.${lc} ?> &
  86. <?lsmb ship.${lc} ?> &
  87. <?lsmb unit.${lc} ?> &
  88. <?lsmb bin.${lc} ?> \\
  89. <?lsmb END ?>
  90. \end{tabularx}
  91. \rule{\textwidth}{2pt}
  92. \end{document}