summaryrefslogtreecommitdiff
path: root/templates/French-sales_quotation.tex
blob: d10eb836e99c64d80b5f9736bd34e702ffca8a58 (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage{graphicx}
  5. \setlength{\voffset}{0.5cm}
  6. \setlength{\hoffset}{-1.9cm}
  7. \setlength{\topmargin}{0cm}
  8. \setlength{\headheight}{0.5cm}
  9. \setlength{\headsep}{1cm}
  10. \setlength{\topskip}{0pt}
  11. \setlength{\oddsidemargin}{1.0cm}
  12. \setlength{\evensidemargin}{1.0cm}
  13. \setlength{\textwidth}{19.2cm}
  14. \setlength{\textheight}{24.7cm}
  15. \setlength{\footskip}{1cm}
  16. \setlength{\parindent}{0pt}
  17. \renewcommand{\baselinestretch}{1}
  18. \begin{document}
  19. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  20. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  21. \pagestyle{myheadings}
  22. \thispagestyle{empty}
  23. \vspace*{-1.3cm}
  24. \parbox{\textwidth}{
  25.   \parbox[b]{.42\textwidth}{
  26. <?lsmb company ?>
  27. <?lsmb address ?>
  28. }
  29. \parbox[b]{.2\textwidth}{
  30. \includegraphics[scale=0.3]{ledger-smb}
  31. }\hfill
  32. \begin{tabular}[b]{rr@{}}
  33. Telephone & <?lsmb tel ?>\\
  34. Facsimile & <?lsmb fax ?>
  35. \end{tabular}
  36. \rule[1.5ex]{\textwidth}{0.5pt}
  37. }
  38. <?lsmb pagebreak 65 27 48 ?>
  39. \end{tabular*}
  40. \rule{\textwidth}{2pt}
  41. \hfill
  42. \begin{tabularx}{7cm}{Xr@{}}
  43. \textbf{Subtotal} & \textbf{<?lsmb sumcarriedforward ?>} \\
  44. \end{tabularx}
  45. \newpage
  46. \markboth{<?lsmb company ?>\hfill <?lsmb quonumber ?>}{<?lsmb company ?>\hfill <?lsmb quonumber ?>}
  47. \vspace*{-12pt}
  48. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  49. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  50. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  51. & carried forward from <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
  52. <?lsmb end pagebreak ?>
  53. \vspace*{0.5cm}
  54. \parbox[t]{1cm}{\hfill}
  55. \parbox[t]{.45\textwidth}{
  56. <?lsmb name ?>
  57. <?lsmb address1 ?>
  58. <?lsmb address2 ?>
  59. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  60. <?lsmb country ?>
  61. \vspace{0.3cm}
  62. <?lsmb contact ?>
  63. \vspace{0.2cm}
  64. <?lsmb if customerphone ?>
  65. Tel: <?lsmb customerphone ?>
  66. <?lsmb end customerphone ?>
  67. <?lsmb if customerfax ?>
  68. Fax: <?lsmb customerfax ?>
  69. <?lsmb end customerfax ?>
  70. <?lsmb email ?>
  71. }
  72. \vspace{1cm}
  73. \textbf{Q U O T A T I O N}
  74. \hfill
  75. \vspace{1cm}
  76. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  77. \textbf{Quotation \#} & \textbf{Date} & \textbf{Valid until} & \textbf{Contact} & \textbf{Shipping Point} & \textbf{Ship via} \\ [0.5ex]
  78. \hline
  79. <?lsmb quonumber ?> & <?lsmb quodate ?> & <?lsmb reqdate ?> & <?lsmb employee ?> & <?lsmb shippingpoint ?> & <?lsmb shipvia ?> \\
  80. \hline
  81. \end{tabularx}
  82. \vspace{1cm}
  83. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  84. \textbf{Number} & \textbf{Description} & \textbf{Qt'y} &
  85. \textbf{Unit} & \textbf{Price} & \textbf{Disc \%} & \textbf{Amount} \\
  86. <?lsmb foreach number ?>
  87. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  88. <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discountrate ?> & <?lsmb linetotal ?> \\
  89. <?lsmb end number ?>
  90. \end{tabular*}
  91. \parbox{\textwidth}{
  92. \rule{\textwidth}{2pt}
  93. \vspace{0.2cm}
  94. \hfill
  95. \begin{tabularx}{7cm}{Xr@{}}
  96. Subtotal & <?lsmb subtotal ?> \\
  97. <?lsmb foreach tax ?>
  98. <?lsmb taxdescription ?> on <?lsmb taxbase ?> & <?lsmb tax ?>\\
  99. <?lsmb end tax ?>
  100. \hline
  101. Total & <?lsmb quototal ?>\\
  102. \end{tabularx}
  103. \vspace{0.3cm}
  104. \hfill
  105. All prices in \textbf{<?lsmb currency ?>}.
  106. \vspace{12pt}
  107. <?lsmb notes ?>
  108. }
  109. \vfill
  110. \end{document}