summaryrefslogtreecommitdiff
path: root/templates/macronald/sales_quotation.tex
blob: b80ffaccb3e1c72aaafdea2fe6921280758f6959 (plain)
  1. \documentclass{scrartcl}
  2. \usepackage[latin1]{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. \newsavebox{\ftr}
  11. \sbox{\ftr}{
  12.   \parbox{\textwidth}{
  13. \tiny
  14. \rule[1.5em]{\textwidth}{0.5pt}
  15. Special order items are subject to a 10\% cancellation fee.
  16. }
  17. }
  18. <?lsmb include letterhead.tex ?>
  19. <?lsmb pagebreak 65 27 48 ?>
  20. \end{tabularx}
  21. \rule{\textwidth}{2pt}
  22. \hfill
  23. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  24. & \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
  25. \end{tabularx}
  26. \newpage
  27. \markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>}
  28. \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}}
  29. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  30. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  31. & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
  32. <?lsmb end pagebreak ?>
  33. \vspace*{0.5cm}
  34. \parbox[t]{.5\textwidth}{
  35. <?lsmb name ?>
  36. <?lsmb address1 ?>
  37. <?lsmb address2 ?>
  38. <?lsmb city ?>
  39. <?lsmb if state ?>
  40. \hspace{-0.1cm}, <?lsmb state ?>
  41. <?lsmb end state ?>
  42. <?lsmb zipcode ?>
  43. <?lsmb country ?>
  44. \vspace{0.3cm}
  45. <?lsmb if contact ?>
  46. <?lsmb contact ?>
  47. \vspace{0.2cm}
  48. <?lsmb end contact ?>
  49. <?lsmb if customerphone ?>
  50. Tel: <?lsmb customerphone ?>
  51. <?lsmb end customerphone ?>
  52. <?lsmb if customerfax ?>
  53. Fax: <?lsmb customerfax ?>
  54. <?lsmb end customerfax ?>
  55. <?lsmb email ?>
  56. }
  57. \vspace{1cm}
  58. \textbf{Q U O T A T I O N}
  59. \hfill
  60. \vspace{1cm}
  61. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  62. \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
  63. \hline
  64. <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  65. \hline
  66. \end{tabularx}
  67. \vspace{1cm}
  68. \begin{tabularx}{\textwidth}{@{}lXrlrrr@{}}
  69. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  70. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  71. <?lsmb foreach number ?>
  72. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  73. <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
  74. <?lsmb end number ?>
  75. \end{tabularx}
  76. \parbox{\textwidth}{
  77. \rule{\textwidth}{2pt}
  78. \vspace{0.2cm}
  79. \hfill
  80. \begin{tabularx}{7cm}{Xr@{\hspace{1cm}}r@{}}
  81. & Subtotal & <?lsmb subtotal ?> \\
  82. <?lsmb foreach tax ?>
  83. & <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
  84. <?lsmb end tax ?>
  85. \hline
  86. & Total & <?lsmb quototal ?>\\
  87. \end{tabularx}
  88. \vspace{0.3cm}
  89. \hfill
  90. All prices in \textbf{<?lsmb currency ?>}.
  91. <?lsmb if terms ?>
  92. Terms: <?lsmb terms ?> days
  93. <?lsmb end terms ?>
  94. \vspace{12pt}
  95. <?lsmb notes ?>
  96. }
  97. \vfill
  98. \hfill \parbox{7cm}{X \rule{6.5cm}{0.5pt}}
  99. \rule{\textwidth}{0.5pt}
  100. \usebox{\ftr}
  101. \end{document}