summaryrefslogtreecommitdiff
path: root/templates/Swedish-sales_quotation.tex
blob: 6e55a4f3a5d90257de0ff8cfc9a399b0a15e4861 (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. <%company%>
  27. <%address%>
  28. }
  29. \parbox[b]{.2\textwidth}{
  30. \includegraphics[scale=0.3]{sql-ledger}
  31. }\hfill
  32. \begin{tabular}[b]{rr@{}}
  33. Telephone & <%tel%>\\
  34. Facsimile & <%fax%>
  35. \end{tabular}
  36. \rule[1.5ex]{\textwidth}{0.5pt}
  37. }
  38. <%pagebreak 65 27 48%>
  39. \end{tabular*}
  40. \rule{\textwidth}{2pt}
  41. \hfill
  42. \begin{tabularx}{7cm}{Xr@{}}
  43. \textbf{Subtotal} & \textbf{<%sumcarriedforward%>} \\
  44. \end{tabularx}
  45. \newpage
  46. \markboth{<%company%>\hfill <%quonumber%>}{<%company%>\hfill <%quonumber%>}
  47. \vspace*{-12pt}
  48. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  49. \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
  50. \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt \%} & \textbf{Belopp} \\
  51. & carried forward from <%lastpage%> & & & & & <%sumcarriedforward%> \\
  52. <%end pagebreak%>
  53. \vspace*{0.5cm}
  54. \parbox[t]{1cm}{\hfill}
  55. \parbox[t]{.45\textwidth}{
  56. <%name%>
  57. <%address1%>
  58. <%address2%>
  59. <%city%> <%state%> <%zipcode%>
  60. <%country%>
  61. \vspace{0.3cm}
  62. <%contact%>
  63. \vspace{0.2cm}
  64. <%if customerphone%>
  65. Tel: <%customerphone%>
  66. <%end customerphone%>
  67. <%if customerfax%>
  68. Fax: <%customerfax%>
  69. <%end customerfax%>
  70. <%email%>
  71. }
  72. \vspace{1cm}
  73. \textbf{K V O T E R I N G}
  74. \hfill
  75. \vspace{1cm}
  76. \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
  77. \textbf{Kvot \#} & \textbf{Datum} & \textbf{Giltig till} & \textbf{Kontakt} & \textbf{Fraktdestination} & \textbf{Fraktas via} \\ [0.5ex]
  78. \hline
  79. <%quonumber%> & <%quodate%> & <%reqdate%> & <%employee%> & <%shippingpoint%> & <%shipvia%> \\
  80. \hline
  81. \end{tabularx}
  82. \vspace{1cm}
  83. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  84. \textbf{Nummer} & \textbf{Beskrivning} & \textbf{Antal} &
  85. \textbf{Enhet} & \textbf{Pris} & \textbf{Rabatt \%} & \textbf{Totalt} \\
  86. <%foreach number%>
  87. <%number%> & <%description%> & <%qty%> &
  88. <%unit%> & <%sellprice%> & <%discountrate%> & <%linetotal%> \\
  89. <%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 & <%subtotal%> \\
  97. <%foreach tax%>
  98. <%taxdescription%> on <%taxbase%> & <%tax%>\\
  99. <%end tax%>
  100. \hline
  101. Total & <%quototal%>\\
  102. \end{tabularx}
  103. \vspace{0.3cm}
  104. \hfill
  105. Alla pricer i \textbf{<%currency%>}.
  106. \vspace{12pt}
  107. <%notes%>
  108. }
  109. \vfill
  110. \end{document}