summaryrefslogtreecommitdiff
path: root/templates/Hungarian-sales_order.tex
blob: 7142ff6bc53a3f77cdbf1d4927cf36ae14ebeea2 (plain)
  1. \documentclass[twoside]{article}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin2]{inputenc}
  5. \setlength{\voffset}{0.5cm}
  6. \setlength{\hoffset}{-2.0cm}
  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.5cm}
  15. \setlength{\footskip}{1cm}
  16. \setlength{\parindent}{0pt}
  17. \renewcommand{\baselinestretch}{1}
  18. \begin{document}
  19. \newlength{\descrwidth}\setlength{\descrwidth}{10cm}
  20. \newsavebox{\hdr}
  21. \sbox{\hdr}{
  22.   \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  23. \parbox{\textwidth}{
  24. \parbox[b]{12cm}{
  25. <?lsmb company ?>
  26. <?lsmb address ?>}\hfill
  27. \begin{tabular}[b]{rr@{}}
  28. Telefon & <?lsmb tel ?>\\
  29. Fax & <?lsmb fax ?>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <?lsmb pagebreak 65 27 48 ?>
  39. \end{tabular*}
  40. \rule{\textwidth}{2pt}
  41. \hfill
  42. \begin{tabularx}{7cm}{Xr@{}}
  43. \textbf{R�sz�sszeg} & \textbf{<?lsmb sumcarriedforward ?>} \\
  44. \end{tabularx}
  45. \newpage
  46. \markright{<?lsmb company ?>\hfill <?lsmb ordnumber ?>}
  47. \vspace*{-12pt}
  48. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  49. \textbf{Sz�m} & \textbf{Sz�veges le�r�s} & \textbf{Menny.} &
  50. \textbf{egys.} & \textbf{�r} & \textbf{Engedm�ny} & \textbf{�sszeg} \\
  51. & folytat�s az el�z� oldalr�l: <?lsmb lastpage ?> & & & & & <?lsmb sumcarriedforward ?> \\
  52. <?lsmb end pagebreak ?>
  53. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  54. \vspace*{2cm}
  55. <?lsmb name ?>
  56. <?lsmb address1 ?>
  57. <?lsmb if address2 ?>
  58. <?lsmb address2 ?>
  59. <?lsmb end address2 ?>
  60. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  61. <?lsmb if country ?>
  62. <?lsmb country ?>
  63. <?lsmb end country ?>
  64. \vspace{3.5cm}
  65. \textbf{V E V �} \parbox{0.3cm}{\hfill} \textbf{R E N D E L � S}
  66. \hfill
  67. \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
  68. \textbf{Rendel�s d�tuma} & <?lsmb orddate ?> \\
  69. <?lsmb if reqdate ?>
  70. \textbf{Lesz�ll�t�s} & <?lsmb reqdate ?> \\
  71. <?lsmb end reqdate ?>
  72. \textbf{Sz�m} & <?lsmb ordnumber ?>
  73. \end{tabular}
  74. \vspace{1cm}
  75. \begin{tabular*}{\textwidth}{@{}lp{\descrwidth}@{\extracolsep\fill}rlrrr@{}}
  76. \textbf{Sz�m} & \textbf{Sz�veges le�r�s} & \textbf{Menny.} &
  77. \textbf{egys.} & \textbf{�r} & \textbf{Engedm�ny} & \textbf{�sszeg} \\
  78. <?lsmb foreach number ?>
  79. <?lsmb number ?> & <?lsmb description ?> & <?lsmb qty ?> &
  80. <?lsmb unit ?> & <?lsmb sellprice ?> & <?lsmb discount ?> & <?lsmb linetotal ?> \\
  81. <?lsmb end number ?>
  82. \end{tabular*}
  83. \parbox{\textwidth}{
  84. \rule{\textwidth}{2pt}
  85. \vspace{0.2cm}
  86. \hfill
  87. \begin{tabularx}{9cm}{Xr@{}}
  88. \textbf{Nett� �sszeg} & \textbf{<?lsmb subtotal ?>} \\
  89. <?lsmb foreach tax ?>
  90. <?lsmb taxdescription ?> alap <?lsmb taxbase ?> <?lsmb tax ?>\\
  91. <?lsmb end tax ?>
  92. \hline
  93. \textbf{Brutt� �sszeg} & \textbf{<?lsmb ordtotal ?>}\\
  94. \end{tabularx}
  95. \vspace{0.3cm}
  96. \hfill
  97. % All prices in \textbf{<?lsmb currency ?>} funds.
  98. Az �rak Forintban �rtend�k
  99. \vspace{12pt}
  100. <?lsmb if notes ?>
  101. <?lsmb notes ?>
  102. <?lsmb end if ?>
  103. }
  104. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  105. \footnotetext[1]{\tiny
  106. }
  107. \end{document}