X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/cdee87dfae07c6ccd6000d7e7a18678225428f58..53593baa211863fbf66540cf1bcc36c8fb37257f:/templates/print/marei/credit_note.tex

diff --git a/templates/print/marei/credit_note.tex b/templates/print/marei/credit_note.tex
index b3b3071f0..b764c1da5 100644
--- a/templates/print/marei/credit_note.tex
+++ b/templates/print/marei/credit_note.tex
@@ -16,7 +16,7 @@
 \ourhead{\kundennummer}{<%customernumber%>}{\gutschrift}{<%invnumber%>}{<%invdate%>}
 
 \setkomavar*{date}{\datum}
-\setkomavar{date}{<%transdate%>}
+\setkomavar{date}{<%invdate%>}
 \setkomavar{customer}{<%customernumber%>}
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
@@ -31,8 +31,7 @@
   \setkomavar{myref}{<%invnumber_for_credit_note%>}
 <%end if%>%
 
-
-
+\setkomavar{transaction}{<%transaction_description%>}
 <%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
@@ -84,6 +83,12 @@
 
 \gutschriftformel
 
+<%if notes%>%
+<%notes%>%
+\vspace{0.5cm}
+<%end if%>%
+
+
 \begin{PricingTabular*}%
   % eigentliche Tabelle%
   \FakeTable{%
@@ -108,14 +113,10 @@
     <%foreach tax%>%
     <%taxdescription%> & <%tax%>\\%
     <%end tax%>%
-    \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\%
+    \bfseries\schlussbetrag &  \bfseries <%invtotal%>\\%
   \end{PricingTotal}%
 \end{PricingTabular*}
 
-<%if notes%>%
-<%notes%>%
-\medskip
-<%end if%>%
 
 \closing{\gruesse}
 
