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