summaryrefslogtreecommitdiff
path: root/templates/demo/request_quotation.tex
blob: d95e532374154195338993bd7f669eb1dc78d566 (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 48 ?>
  14. %\end{tabularx}
  15. %
  16. % \rule{\textwidth}{2pt}
  17. %
  18. % \hfill
  19. % \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  20. % & \textbf{Subtotal} & \textbf{<?xlsmb sumcarriedforward ?>} \\
  21. % \end{tabularx}
  22. %
  23. %\newpage
  24. %
  25. %\markboth{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}{<?xlsmb company ?>\hfill <?xlsmb ordnumber ?>}
  26. %
  27. %\begin{tabularx}{\textwidth}{@{}lXrlrr@{}}
  28. % \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  29. % \textbf{Unit} & \textbf{Price} & \textbf{Extended} \\
  30. % & carried forward from <?xlsmb lastpage ?> & & & & <?xlsmb sumcarriedforward ?> \\
  31. %<?xlsmb end pagebreak ?>
  32. \vspace*{0.5cm}
  33. \parbox[t]{.5\textwidth}{
  34. \textbf{To}
  35. \vspace{0.3cm}
  36. <?lsmb name ?>
  37. <?lsmb address1 ?>
  38. <?lsmb address2 ?>
  39. <?lsmb city ?>
  40. <?lsmb IF state ?>
  41. \hspace{-0.1cm}, <?lsmb state ?>
  42. <?lsmb END ?>
  43. <?lsmb zipcode ?>
  44. <?lsmb country ?>
  45. \vspace{0.3cm}
  46. <?lsmb IF contact ?>
  47. <?lsmb contact ?>
  48. \vspace{0.2cm}
  49. <?lsmb END ?>
  50. <?lsmb IF vendorphone ?>
  51. Tel: <?lsmb vendorphone ?>
  52. <?lsmb END ?>
  53. <?lsmb IF vendorfax ?>
  54. Fax: <?lsmb vendorfax ?>
  55. <?lsmb END ?>
  56. <?lsmb email ?>
  57. }
  58. \parbox[t]{.5\textwidth}{
  59. \textbf{Ship To}
  60. \vspace{0.3cm}
  61. <?lsmb shiptoname ?>
  62. <?lsmb shiptoaddress1 ?>
  63. <?lsmb shiptoaddress2 ?>
  64. <?lsmb shiptocity ?>
  65. <?lsmb IF shiptostate ?>
  66. \hspace{-0.1cm}, <?lsmb shiptostate ?>
  67. <?lsmb END ?>
  68. <?lsmb shiptozipcode ?>
  69. <?lsmb shiptocountry ?>
  70. \vspace{0.3cm}
  71. <?lsmb IF shiptocontact ?>
  72. <?lsmb shiptocontact ?>
  73. \vspace{0.2cm}
  74. <?lsmb END ?>
  75. <?lsmb IF shiptophone ?>
  76. Tel: <?lsmb shiptophone ?>
  77. <?lsmb END ?>
  78. <?lsmb IF shiptofax ?>
  79. Fax: <?lsmb shiptofax ?>
  80. <?lsmb END ?>
  81. <?lsmb shiptoemail ?>
  82. }
  83. \hfill
  84. \vspace{1cm}
  85. \textbf{R E Q U E S T for Q U O T A T I O N}
  86. \hfill
  87. \vspace{1cm}
  88. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  89. \textbf{RFQ \#} & \textbf{Date} & \textbf{Required by} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
  90. \hline
  91. <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  92. \hline
  93. \end{tabularx}
  94. \vspace{1cm}
  95. Please provide price and delivery time for the following items:
  96. \vspace{1cm}
  97. \begin{tabularx}{\textwidth}{@{}lXrllrr@{}}
  98. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} & &
  99. \textbf{Delivery} & \textbf{Unit Price} & \textbf{Extended} \\
  100. <?lsmb FOREACH number ?>
  101. <?lsmb lc = loop.count - 1 ?>
  102. <?lsmb number.${lc} ?> &
  103. <?lsmb description.${lc} ?> &
  104. <?lsmb qty.${lc} ?> &
  105. <?lsmb unit.${lc} ?> \\
  106. <?lsmb END ?>
  107. \end{tabularx}
  108. \parbox{\textwidth}{
  109. \rule{\textwidth}{2pt}
  110. \hfill
  111. <?lsmb notes ?>
  112. }
  113. \end{document}
  114. <?lsmb END ?>