summaryrefslogtreecommitdiff
path: root/templates/Norwegian-ar_transaction.tex
blob: f3d88f3d6865947a071d2589f46af08d69e53351 (plain)
  1. \documentclass[10pt,letterpaper,oneside,onecolumn]{scrartcl}
  2. \usepackage[frame]{xy}
  3. \usepackage{tabularx}
  4. \usepackage[latin1]{inputenc}
  5. \usepackage{graphicx}
  6. \setlength{\voffset}{0.5cm}
  7. \setlength{\hoffset}{-1.9cm}
  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.7cm}
  16. \setlength{\footskip}{1cm}
  17. \setlength{\parindent}{0pt}
  18. \renewcommand{\baselinestretch}{1}
  19. \begin{document}
  20. \pagestyle{myheadings}
  21. \thispagestyle{empty}
  22. \fontfamily{cmss}\fontsize{10pt}{12pt}\selectfont
  23. \vspace*{-1.3cm}
  24. \parbox{\textwidth}{%
  25.   \parbox[b]{.42\textwidth}{%
  26. <?lsmb company ?>
  27. <?lsmb address ?>
  28. }
  29. \parbox[b]{.2\textwidth}{
  30. \includegraphics[scale=0.3]{ledger-smb}
  31. }\hfill
  32. \begin{tabular}[b]{rr@{}}
  33. Telephone & <?lsmb tel ?>\\
  34. Facsimile & <?lsmb fax ?>
  35. \end{tabular}
  36. \rule[1.5em]{\textwidth}{0.5pt}
  37. }
  38. \centerline{\textbf{A R} \hspace{0.3cm} \textbf{T R A N S A C T I O N}}
  39. \vspace*{0.5cm}
  40. \parbox[t]{.5\textwidth}{
  41. <?lsmb name ?>
  42. <?lsmb address1 ?>
  43. <?lsmb address2 ?>
  44. <?lsmb city ?> <?lsmb state ?> <?lsmb zipcode ?>
  45. <?lsmb country ?>
  46. \vspace{0.3cm}
  47. <?lsmb if contact ?>
  48. <?lsmb contact ?>
  49. <?lsmb end contact ?>
  50. \vspace{0.2cm}
  51. <?lsmb if customerphone ?>
  52. Tel: <?lsmb customerphone ?>
  53. <?lsmb end customerphone ?>
  54. <?lsmb if customerfax ?>
  55. Fax: <?lsmb customerfax ?>
  56. <?lsmb end customerfax ?>
  57. <?lsmb email ?>
  58. }
  59. \hfill
  60. \begin{tabular}[t]{ll}
  61. \textbf{Invoice \#} & <?lsmb invnumber ?> \\
  62. \textbf{Date} & <?lsmb invdate ?> \\
  63. \textbf{Due} & <?lsmb duedate ?> \\
  64. \textbf{Order \#} & <?lsmb ordnumber ?> \\
  65. \textbf{Employee} & <?lsmb employee ?> \\
  66. \end{tabular}
  67. \vspace{1cm}
  68. \begin{tabularx}{.5\textwidth}[t]{@{}llrl@{}}
  69. <?lsmb foreach amount ?>
  70. <?lsmb accno ?> & <?lsmb account ?> & <?lsmb amount ?> & <?lsmb projectnumber ?> \\
  71. <?lsmb end amount ?>
  72. \multicolumn{2}{r}{\textbf{Subtotal}} & <?lsmb subtotal ?> & \\
  73. <?lsmb foreach tax ?>
  74. \multicolumn{2}{r}{\textbf{<?lsmb taxdescription ?> @ <?lsmb taxrate ?> \%}} & <?lsmb tax ?> & \\
  75. <?lsmb end tax ?>
  76. \multicolumn{2}{r}{\textbf{Total}} & <?lsmb invtotal ?> & \\
  77. \end{tabularx}
  78. <?lsmb notes ?>
  79. \vspace{0.3cm}
  80. <?lsmb text_amount ?> ***** <?lsmb decimal ?>/100 <?lsmb currency ?>
  81. \vspace{0.3cm}
  82. <?lsmb if paid ?>
  83. \begin{tabular}{@{}llllr@{}}
  84. \multicolumn{5}{c}{\textbf{Payments}} \\
  85. \hline
  86. \textbf{Date} & & \textbf{Source} & \textbf{Memo} & \textbf{Amount} \\
  87. <?lsmb end paid ?>
  88. <?lsmb foreach payment ?>
  89. <?lsmb paymentdate ?> & <?lsmb paymentaccount ?> & <?lsmb paymentsource ?> & <?lsmb paymentmemo ?> & <?lsmb payment ?> \\
  90. <?lsmb end payment ?>
  91. <?lsmb if paid ?>
  92. \end{tabular}
  93. <?lsmb end paid ?>
  94. \vspace{0.5cm}
  95. <?lsmb foreach tax ?>
  96. \textbf{\small{<?lsmb taxdescription ?> Registration <?lsmb taxnumber ?>}} \\
  97. <?lsmb end tax ?>
  98. \end{document}