summaryrefslogtreecommitdiff
path: root/templates/Brazilian_Portuguese-statement.tex
blob: 3b2fca59e52a5b4a0e0130943527dbd19f6b0ba2 (plain)
  1. \documentclass[twoside]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin1]{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]{rrr@{}}
  28. Tel & <?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 statementdate ?>}{\usebox{\hdr}}
  36. \pagestyle{myheadings}
  37. %\thispagestyle{empty} use this with letterhead paper
  38. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  39. \vspace*{1.5cm}
  40. \parbox[t]{1cm}{\hfill}
  41. \parbox[t]{.5\textwidth}{
  42. <?lsmb name ?>\\
  43. <?lsmb address1 ?>\\
  44. <?lsmb if address2 ?>
  45. <?lsmb address2 ?>
  46. <?lsmb end address2 ?>\\
  47. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>\\
  48. <?lsmb if country ?>
  49. <?lsmb country ?>
  50. <?lsmb end country ?>\\
  51. }
  52. \parbox[t]{.4\textwidth}{
  53. <?lsmb if customerphone ?>
  54. Tel: <?lsmb customerphone ?>
  55. <?lsmb end customerphone ?>
  56. <?lsmb if customerfax ?>
  57. Fax: <?lsmb customerfax ?>
  58. <?lsmb end customerfax ?>
  59. <?lsmb email ?>
  60. }
  61. \hfill
  62. \vspace{1cm}
  63. \textbf{RELATÓRIO} \hfill \textbf{<?lsmb statementdate ?>}
  64. \vspace{2cm}
  65. \begin{tabular*}{\textwidth}{|l@{\extracolsep\fill}ccrrrr|}
  66. \hline
  67. \textbf{Número da Fatura \#} & \textbf{Data} & \textbf{Prazo} &
  68. \textbf{Atual} & \textbf{30} & \textbf{60} & \textbf{90+} \\
  69. \hline
  70. <?lsmb foreach invnumber ?>
  71. <?lsmb invnumber ?> & <?lsmb invdate ?> & <?lsmb duedate ?> &
  72. <?lsmb c0 ?> & <?lsmb c30 ?> & <?lsmb c60 ?> & <?lsmb c90 ?> \\
  73. <?lsmb end invnumber ?>
  74. \multicolumn{7}{|l|}{\mbox{}} \\
  75. \hline
  76. \textbf{Subtotal} & & & <?lsmb c0total ?> & <?lsmb c30total ?> & <?lsmb c60total ?> & <?lsmb c90total ?> \\
  77. \hline
  78. \end{tabular*}
  79. \vspace{0.5cm}
  80. \hfill
  81. \begin{tabularx}{7cm}{Xr@{}}
  82. \textbf{Totais} & \textbf{<?lsmb total ?>}
  83. \end{tabularx}
  84. \vfill
  85. Favor pagar com <?lsmb company ?>
  86. \end{document}