summaryrefslogtreecommitdiff
path: root/templates/Hungarian-statement.tex
blob: ea5303b1142419a7f72b123545e5a4221cb56862 (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. <%company%>
  26. <%address%>}\hfill
  27. \begin{tabular}[b]{rrr@{}}
  28. Tel & <%tel%>\\
  29. Fax & <%fax%>
  30. \end{tabular}
  31. \rule[1.5ex]{\textwidth}{0.5pt}
  32. }
  33. }
  34. \fontfamily{cmss}\fontshape{n}\selectfont
  35. \markboth{<%company%>\hfill <%statementdate%>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. <%pagebreak 65 27 48%>
  39. \end{tabular*}
  40. \rule{\textwidth}{2pt}
  41. \hfill
  42. \begin{tabularx}{7cm}{Xr@{}}
  43. \textbf{Részösszeg} & \textbf{<%sumcarriedforward%>} \\
  44. \end{tabularx}
  45. \newpage
  46. \markright{<%company%>\hfill <%statementdate%>}
  47. \vspace*{-12pt}
  48. \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
  49. \textbf{Számla \#} & \textbf{Dátum} & \textbf{Esedékesség} &
  50. \textbf{0-30} & \textbf{30} & \textbf{60} & \textbf{90+} \\
  51. folytatás az előző oldalról: <%lastpage%> & & & & & & <%sumcarriedforward%> \\
  52. <%end pagebreak%>
  53. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  54. \vspace*{1.5cm}
  55. \parbox[t]{1cm}{\hfill}
  56. \parbox[t]{10.5cm}{
  57. <%name%>
  58. <%address1%>
  59. <%if address2%>
  60. <%address2%>
  61. <%end address2%>
  62. <%city%> <%state%> <%zipcode%>
  63. <%if country%>
  64. <%country%>
  65. <%end country%>
  66. }
  67. \parbox[t]{7.5cm}{
  68. <%if customerphone%>
  69. Tel: <%customerphone%>
  70. <%end customerphone%>
  71. <%if customerfax%>
  72. Fax: <%customerfax%>
  73. <%end customerfax%>
  74. <%email%>
  75. }
  76. \hfill
  77. \vspace{1cm}
  78. \textbf{K I M U T A T Á S} \hfill
  79. \hfill <%statementdate%>
  80. \vspace{2cm}
  81. \begin{tabular*}{\textwidth}{@{}l@{\extracolsep\fill}ccrrrr@{}}
  82. \textbf{Számla \#} & \textbf{Dátum} & \textbf{Esedékesség} &
  83. \textbf{Nem lejárt} & \textbf{30} & \textbf{60} & \textbf{90+} \\
  84. <%foreach invnumber%>
  85. <%invnumber%> & <%invdate%> & <%duedate%> &
  86. <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
  87. <%end invnumber%>
  88. \textbf{Összesen} & & & <%c0total%> & <%c30total%> & <%c60total%> & <%c90total%>
  89. \end{tabular*}
  90. \rule{\textwidth}{1pt}
  91. \vspace{1cm}
  92. \hfill
  93. \begin{tabularx}{7cm}{Xr@{}}
  94. \textbf{Nyitott tételek összesen} & <%total%>
  95. \end{tabularx}
  96. \vfill
  97. Kérjük a fizetendő összeget a <%company%> bankszámlájára átutalni szíveskedjenek.
  98. \renewcommand{\thefootnote}{\fnsymbol{footnote}}
  99. \footnotetext[1]{\tiny
  100. }
  101. \end{document}