summaryrefslogtreecommitdiff
path: root/templates/French-sales_order.tex
blob: 10198308675f4d9b266443f2db19f9609ff4dcae (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage[frenchb]{babel}
  4. \usepackage[latin1]{inputenc}
  5. \usepackage{tabularx}
  6. \setlength{\voffset}{0.5cm}
  7. \setlength{\hoffset}{-2.0cm}
  8. \setlength{\topmargin}{0cm}
  9. \setlength{\headheight}{0.5cm}
  10. \setlength{\headsep}{1cm}
  11. \setlength{\topskip}{0pt}
  12. \setlength{\oddsidemargin}{1.0cm}
  13. \setlength{\evensidemargin}{1.0cm}
  14. \setlength{\textwidth}{19.2cm}
  15. \setlength{\textheight}{24.5cm}
  16. \setlength{\footskip}{1cm}
  17. \setlength{\parindent}{0pt}
  18. \renewcommand{\baselinestretch}{1}
  19. \begin{document}
  20. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  21. \newsavebox{\hdr}
  22. \sbox{\hdr}{
  23.   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  24. \parbox{\textwidth}{
  25. \parbox[b]{12cm}{
  26. <%company%>
  27. <%address%>}\hfill
  28. \begin{tabular}[b]{rr@{}}
  29. Téléphone & <%tel%>\\
  30. Télécopieur & <%fax%>
  31. \end{tabular}
  32. \rule[1.5ex]{\textwidth}{0.5pt}
  33. }
  34. }
  35. \fontfamily{cmss}\fontshape{n}\selectfont
  36. \markboth{<%company%>\hfill <%ordnumber%>}{\usebox{\hdr}}
  37. \pagestyle{myheadings}
  38. %\thispagestyle{empty} use this with letterhead paper
  39. <%pagebreak 65 27 37%>
  40. \end{tabular*}
  41. \rule{\textwidth}{2pt}
  42. \hfill
  43. \begin{tabularx}{7cm}{Xr@{}}
  44. \textbf{Sous-total} & \textbf{<%sumcarriedforward%>} \\
  45. \end{tabularx}
  46. \newpage
  47. \markright{<%company%>\hfill <%ordnumber%>}
  48. \vspace*{-12pt}
  49. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  50. \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
  51. \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
  52. & reporté de la page <%lastpage%> & & & & & <%sumcarriedforward%> \\
  53. <%end pagebreak%>
  54. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  55. \vspace*{2cm}
  56. <%name%>
  57. <%address1%>
  58. <%if address2%>
  59. <%address2%>
  60. <%end address2%>
  61. <%city%> <%state%> <%zipcode%>
  62. <%if country%>
  63. <%country%>
  64. <%end country%>
  65. \vspace{3.5cm}
  66. \textbf{C O M M A N D E} \parbox{0.3cm}{\hfill} \textbf{C L I E N T}
  67. \hfill
  68. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  69. \textbf{Date de la commande} & <%orddate%> \\
  70. <%if reqdate%>
  71. \textbf{Livrable le} & <%reqdate%> \\
  72. <%end reqdate%>
  73. \textbf{Numéro de commande} & <%ordnumber%>
  74. \end{tabular}
  75. \vspace{1cm}
  76. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  77. \textbf{Numéro} & \textbf{Description} & \textbf{Qté} &
  78. \textbf{Unité} & \textbf{Prix} & \textbf{Remise} & \textbf{Montant} \\
  79. <%foreach number%>
  80. <%number%> & <%description%> & <%qty%> &
  81. <%unit%> & <%sellprice%> & <%discount%> & <%linetotal%> \\
  82. <%end number%>
  83. \end{tabular*}
  84. \parbox{\textwidth}{
  85. \rule{\textwidth}{2pt}
  86. \vspace{0.2cm}
  87. \hfill
  88. \begin{tabularx}{7cm}{Xr@{}}
  89. \textbf{Sous-total} & \textbf{<%subtotal%>} \\
  90. <%foreach tax%>
  91. <%taxdescription%> de <%taxbase%> & <%tax%>\\
  92. <%end tax%>
  93. \hline
  94. \textbf{Total} & \textbf{<%ordtotal%>}\\
  95. \end{tabularx}
  96. \vspace{0.3cm}
  97. \hfill
  98. Tous les prix indiqués sont en \textbf{<%currency%>}.
  99. \vspace{12pt}
  100. <%if notes%>
  101. <%notes%>
  102. <%end if%>
  103. }
  104. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  105. \footnotetext[1]{\tiny
  106. Un supplément de 10% sera appliqué à toute commande spécifique et à tout
  107. produit adapté, amélioré ou mis-à-jour à la demande du client. Les
  108. éléments non-retournables sont indiqués ci-dessus.
  109. }
  110. \end{document}