marei: comment generated line endings
authorMarei (peiTeX) <marei@peitex.de>
Thu, 17 Sep 2020 13:03:04 +0000 (15:03 +0200)
committerJan Büren <jan@kivitendo.de>
Wed, 21 Oct 2020 11:42:03 +0000 (13:42 +0200)
16 files changed:
templates/print/marei/bin_list.tex
templates/print/marei/check.tex
templates/print/marei/credit_note.tex
templates/print/marei/invoice.tex
templates/print/marei/pick_list.tex
templates/print/marei/proforma.tex
templates/print/marei/purchase_delivery_order.tex
templates/print/marei/purchase_order.tex
templates/print/marei/receipt.tex
templates/print/marei/request_quotation.tex
templates/print/marei/sales_delivery_order.tex
templates/print/marei/sales_order.tex
templates/print/marei/sales_quotation.tex
templates/print/marei/statement.tex
templates/print/marei/zahlungserinnerung.tex
templates/print/marei/zahlungserinnerung_invoice.tex

index 83c899b..3e99d6a 100644 (file)
 
 \parbox{\textwidth}{
   \parbox[b]{.42\textwidth}{%
-    <%company%>
+    <%company%>%
 
-    <%address%>
+    <%address%>%
   }\hfill
   \begin{tabular}[b]{rr@{}}
   Tel & <%tel%>\\
-  Fax & <%fax%>
+  Fax & <%fax%>%
   \end{tabular}
 
   \rule[1.5ex]{\textwidth}{0.5pt}
@@ -51,7 +51,7 @@
 <%street%> \\
 <%zipcode%> \\
 <%city%> \\
-<%country%>
+<%country%>%
 }
 \parbox[t]{.4\textwidth}{
 \textbf{Lieferanschrift}
@@ -61,7 +61,7 @@
 <%shiptostreet%> \\
 <%shiptozipcode%> \\
 <%shiptocity%> \\
-<%shiptocountry%>
+<%shiptocountry%>%
 }
 \hfill
 
 
 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
   \textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt}
-  <%if warehouse%>
+  <%if warehouse%>%
   & \textbf{Lager}
-  <%end warehouse%>
+  <%end warehouse%>%
   & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em]
   \hline
 
-  <%ordnumber%>
-  <%if shippingdate%>
-  & <%shippingdate%>
-  <%end shippingdate%>
-  <%if not shippingdate%>
-  & <%orddate%>
-  <%end shippingdate%>
-  & <%employee%>
-  <%if warehouse%>
-  & <%warehouse%>
-  <%end warehouse%>
+  <%ordnumber%>%
+  <%if shippingdate%>%
+  & <%shippingdate%>%
+  <%end shippingdate%>%
+  <%if not shippingdate%>%
+  & <%orddate%>%
+  <%end shippingdate%>%
+  & <%employee%>%
+  <%if warehouse%>%
+  & <%warehouse%>%
+  <%end warehouse%>%
   & <%shippingpoint%> & <%shipvia%> \\
   \hline
 \end{tabularx}
 \begin{tabularx}{\textwidth}{@{}rlXllrrll@{}}
   \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} & \textbf{Seriennumner} & & \textbf{Menge} & \textbf{Erh} & & \textbf{Lagerplatz} \\
 
-<%foreach number%>
+<%foreach number%>%
   <%runningnumber%> & <%number%> & <%description%> & <%serialnumber%> &
   <%deliverydate%> & <%qty%> & <%ship%> & <%unit%> & <%bin%> \\
-<%end number%>
+<%end number%>%
 \end{tabularx}
 
 
index 6086d45..86ba76e 100644 (file)
@@ -21,7 +21,7 @@
 \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
 
 \parbox[t]{12cm}{
-  <%company%>
+  <%company%>%
 
   <%address%>}
 \hfill
 
 \vspace{0.5cm}
 
-\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>%
 
 \vspace{0.5cm}
 
-<%name%>
+<%name%>%
 
-<%street%>
+<%street%>%
 
-<%zipcode%>
+<%zipcode%>%
 
-<%city%>
+<%city%>%
 
-<%country%>
+<%country%>%
 
 \vspace{2.8cm}
 
-<%company%>
+<%company%>%
 
 \vspace{0.5cm}
 
-<%name%> \hfill <%datepaid%> \hfill <%source%>
+<%name%> \hfill <%datepaid%> \hfill <%source%>%
 
 \vspace{0.5cm}
 \begin{tabularx}{\textwidth}{lXrr@{}}
 \textbf{Rechnung} & \textbf{Ausgestellt}
   & \textbf{Fällig} & \textbf{Verrechnet} \\
-<%foreach invnumber%>
+<%foreach invnumber%>%
 <%invnumber%> & <%invdate%> \dotfill
   & <%due%> & <%paid%> \\
-<%end invnumber%>
+<%end invnumber%>%
 \end{tabularx}
 
 \vfill
index ea84e00..f8744bb 100644 (file)
@@ -19,7 +19,7 @@
 \begin{document}
        
 
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
        \parbox{\useplength{toaddrwidth}}{
                <%shiptodepartment_1%>\par
                <%shiptodepartment_2%>\par
                <%shiptostreet%>\par
-               <%shiptozipcode%> <%shiptocity%>
+               <%shiptozipcode%> <%shiptocity%>%
        }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
        
 \setkomavar{title}{
        \gutschrift~
-       \nr ~<%invnumber%>
+       \nr ~<%invnumber%>%
 }
 
-<%if invnumber_for_credit_note%>
+<%if invnumber_for_credit_note%>%
 \setkomavar*{myref}{\fuerRechnung}
 \setkomavar{myref}{<%invnumber_for_credit_note%>}
-<%end if%>
+<%end if%>%
 
 \setkomavar*{date}{\datum}
 
@@ -62,8 +62,8 @@
        
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
                <%sellprice%>&%
                \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}%
                        <%linetotal%>\tabularnewline
-                       <%end number%>
+                       <%end number%>%
        }
        \begin{PricingTotal}
                % Tabellenende letzte Seite
                \nettobetrag & <%subtotal%>\\
-               <%foreach tax%>
+               <%foreach tax%>%
                <%taxdescription%> & <%tax%>\\
-               <%end tax%>
+               <%end tax%>%
                \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\
        \end{PricingTotal}
 \end{PricingTabular*}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
 \closing{\gruesse}
 
index 7de5864..a4d9903 100644 (file)
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{title}{
-       \rechnung~ \nr ~<%invnumber%>
+       \rechnung~ \nr ~<%invnumber%>%
 }
-<%if ordnumber%>
+<%if ordnumber%>%
 \setkomavar*{myref}{\auftragsnummer}
 \setkomavar{myref}{<%ordnumber%>}
-<%end if%>
-<%if cusordnumber%>
+<%end if%>%
+<%if cusordnumber%>%
 \setkomavar*{yourref}{\ihreBestellnummer}
 \setkomavar{yourref}{<%cusordnumber%>}
-<%end if%>
-<%if donumber%>
+<%end if%>%
+<%if donumber%>%
   \setkomavar{delivery}{<%donumber%>}
-<%end if%>
-<%if quonumber%>
+<%end if%>%
+<%if quonumber%>%
 \setkomavar{quote}{<%quonumber%>}
-<%end if%>
+<%end if%>%
 
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
        \parbox{\useplength{toaddrwidth}}{
                <%shiptodepartment_1%>\par
                <%shiptodepartment_2%>\par
                <%shiptostreet%>\par
-               <%shiptozipcode%> <%shiptocity%>
+               <%shiptozipcode%> <%shiptocity%>%
        }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
 \begin{document}
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
                }
 \thispagestyle{kivitendo.letter.first}
 
-<%if notes%>
-        <%notes%>
+<%if notes%>%
+        <%notes%>%
         \vspace{0.5cm}
-<%end if%>
+<%end if%>%
 
 
 %PricingTabular* kann automatisch spalten ignorieren
 \begin{PricingTotal}
 % Tabellenende letzte Seite
 \nettobetrag & <%subtotal%>\\
-<%foreach tax%>
+<%foreach tax%>%
 <%taxdescription%> & <%tax%>\\
-<%end tax%>
+<%end tax%>%
 \bfseries\schlussbetrag &  \bfseries <%invtotal%>\\
 \end{PricingTotal}
 \end{PricingTabular*}
        \lieferungErfolgtAm ~<%deliverydate%>.
 }\\
 
-<%if payment_terms%>
+<%if payment_terms%>%
   \zahlung ~<%payment_terms%>\\
-<%end payment_terms%>
+<%end payment_terms%>%
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
-<%if ustid%>\ihreustid ~<%ustid%>.\\<%end if%>
+<%if ustid%>\ihreustid ~<%ustid%>.\\<%end if%>%
 
 \ifnum<%taxzone_id%>=1
     \steuerfreiEU\\  % EU mit USt-ID Nummer
index 800c63f..8268b14 100644 (file)
 
 \parbox{\textwidth}{
   \parbox[b]{.42\textwidth}{
-    <%company%>
+    <%company%>%
 
-    <%address%>
+    <%address%>%
   }\hfill
   \begin{tabular}[b]{rr@{}}
   Tel & <%tel%>\\
-  Fax & <%fax%>
+  Fax & <%fax%>%
   \end{tabular}
 
   \rule[1.5ex]{\textwidth}{0.5pt}
 <%shiptostreet%> \\
 <%shiptozipcode%> \\
 <%shiptocity%> \\
-<%shiptocountry%>
+<%shiptocountry%>%
 }
 \parbox[t]{.4\textwidth}{
-  <%shiptocontact%>
+  <%shiptocontact%>%
 
-  <%if shiptophone%>
-  Tel: <%shiptophone%>
-  <%end shiptophone%>
+  <%if shiptophone%>%
+  Tel: <%shiptophone%>%
+  <%end shiptophone%>%
 
-  <%if shiptofax%>
-  Fax: <%shiptofax%>
-  <%end shiptofax%>
+  <%if shiptofax%>%
+  Fax: <%shiptofax%>%
+  <%end shiptofax%>%
 
-  <%shiptoemail%>
+  <%shiptoemail%>%
 }
 \hfill
 
 
 \begin{tabularx}{\textwidth}{*{6}{|X}|} \hline
   \textbf{BestellNr. \#} & \textbf{Datum} & \textbf{Kontakt}
-  <%if warehouse%>
+  <%if warehouse%>%
   & \textbf{Lager}
-  <%end warehouse%>
+  <%end warehouse%>%
   & \textbf{Lagerplatz} & \textbf{Lieferung mit} \\ [0.5em]
   \hline
-  <%ordnumber%>
-  <%if shippingdate%>
-  & <%shippingdate%>
-  <%end shippingdate%>
-  <%if not shippingdate%>
-  & <%orddate%>
-  <%end shippingdate%>
-  & <%employee%>
-  <%if warehouse%>
-  & <%warehouse%>
-  <%end warehouse%>
+  <%ordnumber%>%
+  <%if shippingdate%>%
+  & <%shippingdate%>%
+  <%end shippingdate%>%
+  <%if not shippingdate%>%
+  & <%orddate%>%
+  <%end shippingdate%>%
+  & <%employee%>%
+  <%if warehouse%>%
+  & <%warehouse%>%
+  <%end warehouse%>%
   & <%shippingpoint%> & <%shipvia%> \\
   \hline
 \end{tabularx}
 \begin{tabular*}{\textwidth}{@{}rlp{\descrwidth}@{\extracolsep\fill}rcll@{}}
   \textbf{Pos} & \textbf{Nummer} & \textbf{Beschreibung} &
   \textbf{Menge} & \textbf{Lagerausgang} & & \textbf{Lagerplatz} \\
-<%foreach number%>
+<%foreach number%>%
   <%runningnumber%> & <%number%> & <%description%> &
   <%qty%> & [\hspace{1cm}] & <%unit%> & <%bin%> \\
-<%end number%>
+<%end number%>%
 \end{tabular*}
 
 
index d591fc4..4151dc6 100644 (file)
        
 \setkomavar{title}{
        \proformarechnung~
-       \nr ~<%ordnumber%>
+       \nr ~<%ordnumber%>%
 }
 \setkomavar*{date}{\datum}
 
 \setkomavar{date}{<%orddate%>}
 \setkomavar{customer}{<%customernumber%>}
-<%if cusordnumber%>
+<%if cusordnumber%>%
        \setkomavar*{yourref}{\ihreBestellnummer}
        \setkomavar{yourref}{<%cusordnumber%>}
-<%end if%>
-<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>
+<%end if%>%
+<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>%
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{transaction}{<%transaction_description%>}
        
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
        \parbox{\useplength{toaddrwidth}}{
                <%shiptodepartment_1%>\par
                <%shiptodepartment_2%>\par
                <%shiptostreet%>\par
-               <%shiptozipcode%> <%shiptocity%>
+               <%shiptozipcode%> <%shiptocity%>%
        }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
@@ -91,7 +91,7 @@
        <%number%> &%
        \textbf{<%description%>}%
        <%if longdescription%>\ExtraDescription{<%longdescription%>}<%end longdescription%>%
-    <%if reqdate%>\ExtraDescription{\lieferdatum: <%reqdate%>}<%end reqdate%>
+    <%if reqdate%>\ExtraDescription{\lieferdatum: <%reqdate%>}<%end reqdate%>%
        <%if serialnumber%>\ExtraDescription{\seriennummer: <%serialnumber%>}<%end serialnumber%>%
        <%if ean%>\ExtraDescription{\ean: <%ean%>}<%end ean%>%
        <%if projectnumber%>\ExtraDescription{\projektnummer: <%projectnumber%>}<%end projectnumber%>%
        <%sellprice%>&%
        \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}%
        <%linetotal%>\tabularnewline
-       <%end number%>
+       <%end number%>%
 }
 % Tabellenende letzte Seite
        \begin{PricingTotal}
        % Tabellenende letzte Seite
        \nettobetrag & <%subtotal%>\\
-       <%foreach tax%>
+       <%foreach tax%>%
        <%taxdescription%> & <%tax%>\\
-       <%end tax%>
+       <%end tax%>%
        \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\
 \end{PricingTotal}
 \end{PricingTabular*}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
-<%if reqdate%>
+<%if reqdate%>%
 \lieferungErfolgtAm ~<%reqdate%>. \\
-<%end if%>
+<%end if%>%
 
 \textit{\auftragpruefen}
 
index 39e861d..4d370da 100644 (file)
 
   \vspace*{0.3cm}
 
-  <%name%>
+  <%name%>%
 
-  <%if department_1%><%department_1%><%end if%>
+  <%if department_1%><%department_1%><%end if%>%
 
-  <%if department_2%><%department_2%><%end if%>
+  <%if department_2%><%department_2%><%end if%>%
 
-  <%cp_givenname%> <%cp_name%>
+  <%cp_givenname%> <%cp_name%>%
 
-  <%street%>
+  <%street%>%
 
   ~
 
-  <%zipcode%> <%city%>
+  <%zipcode%> <%city%>%
 
-  <%country%>
+  <%country%>%
 \end{minipage}
 \hfill
 \begin{minipage}{6cm}
   \rightline{\LARGE\textbf{\textit{\einkaufslieferschein}}} \vspace*{0.2cm}
-  \rightline{\large\textbf{\textit{\nr ~<%donumber%>
+  \rightline{\large\textbf{\textit{\nr ~<%donumber%>%
   }}} \vspace*{0.2cm}
 
-  \datum:\hfill <%dodate%>
+  \datum:\hfill <%dodate%>%
 
-  <%if cusordnumber%>\unsereBestellnummer:\hfill <%cusordnumber%><%end if%>
+  <%if cusordnumber%>\unsereBestellnummer:\hfill <%cusordnumber%><%end if%>%
 
-  <%if ordnumber%>\auftragsnummer:\hfill <%ordnumber%><%end if%>
+  <%if ordnumber%>\auftragsnummer:\hfill <%ordnumber%><%end if%>%
 
-  \ansprechpartner:\hfill <%employee_name%>
+  \ansprechpartner:\hfill <%employee_name%>%
 
-  <%if globalprojectnumber%> \projektnummer:\hfill <%globalprojectnumber%> <%end globalprojectnumber%>
+  <%if globalprojectnumber%> \projektnummer:\hfill <%globalprojectnumber%> <%end globalprojectnumber%>%
 \end{minipage}
 
-<%if shiptoname%>
+<%if shiptoname%>%
   \vspace{0.8cm}
   \scriptsize \underline{\abweichendeLieferadresse:}\\
-  \normalsize    <%shiptoname%>
+  \normalsize    <%shiptoname%>%
 
-                 <%if shiptocontact%> <%shiptocontact%><%end if%>
+                 <%if shiptocontact%> <%shiptocontact%><%end if%>%
 
-                 <%shiptodepartment_1%>
+                 <%shiptodepartment_1%>%
 
-                  <%shiptodepartment_2%>
+                  <%shiptodepartment_2%>%
 
-                  <%shiptostreet%>
+                  <%shiptostreet%>%
 
-                  <%shiptozipcode%> <%shiptocity%>
-<%end if%>
+                  <%shiptozipcode%> <%shiptocity%>%
+<%end if%>%
 \vspace*{1.5cm}
 
 
 %
 \begin{SimpleTabular}
 % eigentliche Tabelle
-<%foreach number%>
+<%foreach number%>%
           <%runningnumber%> &
           <%qty%> <%unit%> &
           \textbf{<%description%>} \\*  % kein Umbruch nach der ersten Zeile, damit Beschreibung und Langtext nicht getrennt werden
 
-          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>
-          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>
-          <%if reqdate%> && \scriptsize \lieferdatum: <%reqdate%>\\<%end reqdate%>
-          <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%>
-          <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%>
-          <%foreach si_number%><%if si_chargenumber%> && \scriptsize \charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%><%end if%> <%si_qty%>~<%si_unit%><%end si_chargenumber%>\\<%end si_number%>
+          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>%
+          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>%
+          <%if reqdate%> && \scriptsize \lieferdatum: <%reqdate%>\\<%end reqdate%>%
+          <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%>%
+          <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%>%
+          <%foreach si_number%><%if si_chargenumber%> && \scriptsize \charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%><%end if%> <%si_qty%>~<%si_unit%><%end si_chargenumber%>\\<%end si_number%>%
 
           \\[-0.8em]
-<%end number%>
+<%end number%>%
 \end{SimpleTabular}
 
 \vspace{0.2cm}
 
-<%if notes%>
+<%if notes%>%
         \vspace{5mm}
-        <%notes%>
+        <%notes%>%
         \vspace{5mm}
-<%end if%>
+<%end if%>%
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
 \end{document}
index e4c4b69..d04ff31 100644 (file)
 
 \setkomavar{title}{
        \bestellung~
-       \nr~<%ordnumber%>
+       \nr~<%ordnumber%>%
 }
 \setkomavar*{date}{\datum}
 \setkomavar{date}{<%orddate%>}
-<%if cusordnumber%>
+<%if cusordnumber%>%
 \setkomavar*{yourref}{\unsereBestellnummer}
 \setkomavar{yourref}{<%cusordnumber%>}
-<%end if%>
-<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>
+<%end if%>%
+<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>%
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{transaction}{<%transaction_description%>}
 
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
        \parbox{\useplength{toaddrwidth}}{
                <%shiptodepartment_1%>\par
                <%shiptodepartment_2%>\par
                <%shiptostreet%>\par
-               <%shiptozipcode%> <%shiptocity%>
+               <%shiptozipcode%> <%shiptocity%>%
        }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
                <%sellprice%>&%
                \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}%
                <%linetotal%>\tabularnewline
-               <%end number%>
+               <%end number%>%
        }
        \begin{PricingTotal}
                % Tabellenende letzte Seite
                \nettobetrag & <%subtotal%>\\
-               <%foreach tax%>
+               <%foreach tax%>%
                <%taxdescription%> & <%tax%>\\
-               <%end tax%>
+               <%end tax%>%
                \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\
        \end{PricingTotal}
 \end{PricingTabular*}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
 \closing{\gruesse}
 \end{letter}
index 6086d45..86ba76e 100644 (file)
@@ -21,7 +21,7 @@
 \fontfamily{cmss}\fontsize{9pt}{9pt}\selectfont
 
 \parbox[t]{12cm}{
-  <%company%>
+  <%company%>%
 
   <%address%>}
 \hfill
 
 \vspace{0.5cm}
 
-\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>
+\hfill <%datepaid%> \makebox[2cm]{\hfill} <%amount%>%
 
 \vspace{0.5cm}
 
-<%name%>
+<%name%>%
 
-<%street%>
+<%street%>%
 
-<%zipcode%>
+<%zipcode%>%
 
-<%city%>
+<%city%>%
 
-<%country%>
+<%country%>%
 
 \vspace{2.8cm}
 
-<%company%>
+<%company%>%
 
 \vspace{0.5cm}
 
-<%name%> \hfill <%datepaid%> \hfill <%source%>
+<%name%> \hfill <%datepaid%> \hfill <%source%>%
 
 \vspace{0.5cm}
 \begin{tabularx}{\textwidth}{lXrr@{}}
 \textbf{Rechnung} & \textbf{Ausgestellt}
   & \textbf{Fällig} & \textbf{Verrechnet} \\
-<%foreach invnumber%>
+<%foreach invnumber%>%
 <%invnumber%> & <%invdate%> \dotfill
   & <%due%> & <%paid%> \\
-<%end invnumber%>
+<%end invnumber%>%
 \end{tabularx}
 
 \vfill
index c7a5140..82e9779 100644 (file)
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{title}{
        \anfrage~
-       \nr ~<%quonumber%>
+       \nr ~<%quonumber%>%
 }
-<%if globalprojectnumber%>
+<%if globalprojectnumber%>%
        \setkomavar{projectID}{<%globalprojectnumber%>}
-<%end globalprojectnumber%>
+<%end globalprojectnumber%>%
 \setkomavar{transaction}{<%transaction_description%>}
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
 \endlastfoot
 
 % eigentliche Tabelle
-<%foreach number%>
+<%foreach number%>%
           <%runningnumber%> &
           <%qty%> <%unit%> &
           \textbf{<%description%>} \\*  % kein Umbruch nach der ersten Zeile, damit Beschreibung und Langtext nicht getrennt werden
 
-          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>
-%          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>
-          <%if make%>
-            <%foreach make%>
+          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>%
+%          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>%
+          <%if make%>%
+            <%foreach make%>%
               \ifstr{<%make%>}{<%name%>}{&& \artikelnummer: <%model%>\\}{}
-            <%end foreach%>
-          <%end if%>
+            <%end foreach%>%
+          <%end if%>%
 
           \\[-0.8em]
-<%end number%>
+<%end number%>%
 
 \end{longtable}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
-<%if reqdate%>
+<%if reqdate%>%
 \anfrageBenoetigtBis~<%reqdate%>.
-<%end if%>
+<%end if%>%
 
 \anfragedanke
 
index c4879fd..61ecdf3 100644 (file)
 
 \setkomavar{title}{
        \lieferschein~
-       \nr~<%donumber%>
+       \nr~<%donumber%>%
 }
 \setkomavar*{date}{\datum}
 \setkomavar{date}{<%dodate%>}
-<%if cusordnumber%>
+<%if cusordnumber%>%
        \setkomavar*{yourref}{\unsereBestellnummer}
        \setkomavar{yourref}{<%cusordnumber%>}
-<%end if%>
-<%if ordnumber%>\setkomavar{orderID}{<%ordnumber%>}<%end if%>
+<%end if%>%
+<%if ordnumber%>\setkomavar{orderID}{<%ordnumber%>}<%end if%>%
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
-<%if globalprojectnumber%>
+<%if globalprojectnumber%>%
   \setkomavar{projectID}{<%globalprojectnumber%>}
-<%end globalprojectnumber%>
+<%end globalprojectnumber%>%
 
 \setkomavar{transaction}{<%transaction_description%>}
 
@@ -42,8 +42,8 @@
 \begin{letter}{
   \ifstr{<%shiptoname%>}{}{ % KEINE ABWEICHENDE LIEFERADRESSE
        <%name%>\strut\\
-       <%if department_1%><%department_1%>\\<%end if%>
-       <%if department_2%><%department_2%>\\<%end if%>
+       <%if department_1%><%department_1%>\\<%end if%>%
+       <%if department_2%><%department_2%>\\<%end if%>%
        <%cp_givenname%> <%cp_name%>\strut\\
        <%street%>\strut\\
        <%zipcode%> <%city%>\strut\\
 \endlastfoot
 
 % eigentliche Tabelle
-<%foreach number%>
+<%foreach number%>%
           <%runningnumber%> &
           <%number%> &
           \textbf{<%description%>}&
           <%qty%> <%unit%> \\*  % kein Umbruch nach der ersten Zeile, damit Beschreibung und Langtext nicht getrennt werden
 
-          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>
-          <%if reqdate%> && \scriptsize \lieferdatum: <%reqdate%>\\<%end reqdate%>
-          <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%>
-          <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%>
-          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>
-          <%foreach si_number%><%if si_chargenumber%> && \scriptsize \charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%><%end if%> <%si_qty%>~<%si_unit%><%end si_chargenumber%>\\<%end si_number%>
+          <%if longdescription%> && \scriptsize <%longdescription%>\\<%end longdescription%>%
+          <%if reqdate%> && \scriptsize \lieferdatum: <%reqdate%>\\<%end reqdate%>%
+          <%if serialnumber%> && \scriptsize \seriennummer: <%serialnumber%>\\<%end serialnumber%>%
+          <%if ean%> && \scriptsize \ean: <%ean%>\\<%end ean%>%
+          <%if projectnumber%> && \scriptsize \projektnummer: <%projectnumber%>\\<%end projectnumber%>%
+          <%foreach si_number%><%if si_chargenumber%> && \scriptsize \charge: <%si_chargenumber%> <%if si_bestbefore%> \mhd: <%si_bestbefore%><%end if%> <%si_qty%>~<%si_unit%><%end si_chargenumber%>\\<%end si_number%>%
 
           \\[-0.8em]
-<%end number%>
+<%end number%>%
 
 \end{longtable}
 
 
 \vspace{0.2cm}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
 \end{letter}
 
index 2d7ec4e..7eac6ae 100644 (file)
 \begin{document}
 \setkomavar{title}{
        \auftragsbestaetigung~
-       \nr~<%ordnumber%>
+       \nr~<%ordnumber%>%
 }
 \setkomavar*{date}{\datum}
 \setkomavar{date}{<%orddate%>}
-<%if cusordnumber%>
+<%if cusordnumber%>%
 \setkomavar*{yourref}{\ihreBestellnummer}
 \setkomavar{yourref}{<%cusordnumber%>}
-<%end if%>
-<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>
+<%end if%>%
+<%if quonumber%>\setkomavar{quote}{<%quonumber%>}<%end if%>%
 \setkomavar{customer}{<%customernumber%>}
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
@@ -36,7 +36,7 @@
 
 
 
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
 \begin{lrbox}\shippingAddressBox
        \parbox{\useplength{toaddrwidth}}{
                <%shiptodepartment_1%>\par
                <%shiptodepartment_2%>\par
                <%shiptostreet%>\par
-               <%shiptozipcode%> <%shiptocity%>
+               <%shiptozipcode%> <%shiptocity%>%
        }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
                <%sellprice%>&%
                \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}%
                <%linetotal%>\tabularnewline
-               <%end number%>
+               <%end number%>%
        }
        \begin{PricingTotal}
                % Tabellenende letzte Seite
                \nettobetrag & <%subtotal%>\\
-               <%foreach tax%>
+               <%foreach tax%>%
                <%taxdescription%> & <%tax%>\\
-               <%end tax%>
+               <%end tax%>%
                \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\
        \end{PricingTotal}
 \end{PricingTabular*}
 
-<%if notes%>
-<%notes%>
+<%if notes%>%
+<%notes%>%
 \medskip
-<%end if%>
+<%end if%>%
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
-<%if reqdate%>
+<%if reqdate%>%
 \lieferungErfolgtAm ~<%reqdate%>.
-<%end if%>
+<%end if%>%
 
 \textit{\auftragpruefen}
 
index bea5afd..75121bc 100644 (file)
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{title}{
        \angebot~
-       <%quonumber%>
+       <%quonumber%>%
 }
 
 \setkomavar{transaction}{<%transaction_description%>}
 
-<%if shiptoname%>
+<%if shiptoname%>%
 \makeatletter
   \begin{lrbox}\shippingAddressBox
   \parbox{\useplength{toaddrwidth}}{
        <%shiptodepartment_1%>\par
        <%shiptodepartment_2%>\par
        <%shiptostreet%>\par
-       <%shiptozipcode%> <%shiptocity%>
+       <%shiptozipcode%> <%shiptocity%>%
  }
 \end{lrbox}
 \makeatother
-<%end if%>
+<%end if%>%
 
 
 \begin{letter}{
   <%name%>\strut\\
-  <%if department_1%><%department_1%>\\<%end if%>
-  <%if department_2%><%department_2%>\\<%end if%>
+  <%if department_1%><%department_1%>\\<%end if%>%
+  <%if department_2%><%department_2%>\\<%end if%>%
   <%cp_givenname%> <%cp_name%>\strut\\
   <%street%>\strut\\
   <%zipcode%> <%city%>\strut\\
        <%sellprice%>&%
        \ifstr{<%p_discount%>}{0}{}{\sffamily\scriptsize{(-<%p_discount%>\,\%)}}%
                        <%linetotal%>\tabularnewline
-<%end number%>
+<%end number%>%
 }
        \begin{PricingTotal}
        % Tabellenende letzte Seite
        \nettobetrag & <%subtotal%>\\
-       <%foreach tax%>
+       <%foreach tax%>%
        <%taxdescription%> & <%tax%>\\
-       <%end tax%>
+       <%end tax%>%
        \bfseries\schlussbetrag &  \bfseries <%ordtotal%>\\
        \end{PricingTotal}
 \end{PricingTabular*}
 
-<%if notes%>
-  <%notes%>
+<%if notes%>%
+  <%notes%>%
   \medskip
-<%end if%>
+<%end if%>%
 
-<%if delivery_term%>
+<%if delivery_term%>%
   \lieferung ~<%delivery_term.description_long%>\\
-<%end delivery_term%>
+<%end delivery_term%>%
 
 \angebotdanke\\
-<%if reqdate%>
+<%if reqdate%>%
 \angebotgueltig~<%reqdate%>.
-<%end if%>
+<%end if%>%
 \angebotfragen
 
 
index 16c05eb..76c1944 100644 (file)
@@ -20,7 +20,7 @@
 
 \setkomavar{title}{
        \sammelrechnung~
-       \nr~<%quonumber%>
+       \nr~<%quonumber%>%
 }
 \setkomavar{transaction}{<%transaction_description%>}
 \setkomavar{customer}{<%customernumber%>}
@@ -31,8 +31,8 @@
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
 \endlastfoot
 
 % eigentliche Tabelle
-<%foreach invnumber%>
+<%foreach invnumber%>%
           <%invnumber%> & <%invdate%> & <%duedate%> &
           <%c0%> & <%c30%> & <%c60%> & <%c90%> \\
-<%end invnumber%>
+<%end invnumber%>%
 
 \end{longtable}
 
index 429989d..0e49780 100644 (file)
 \setkomavar{fromemail}{<%employee_email%>}
 \setkomavar{title}{
        \mahnung
-       <%if dunning_id%>~\nr~<%dunning_id%><%end if%>
+       <%if dunning_id%>~\nr~<%dunning_id%><%end if%>%
 }
 \setkomavar{transaction}{<%transaction_description%>}
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\
@@ -59,9 +59,9 @@
 
 \begin{SimpleTabular}[\bfseries\rechnung~\nr&\bfseries\datum&\bfseries\betrag]
 % eigentliche Tabelle
-<%foreach dn_invnumber%>
+<%foreach dn_invnumber%>%
     <%dn_invnumber%> & <%dn_transdate%> & <%dn_amount%> \currency \\[0.1cm]
-<%end dn_invnumber%>
+<%end dn_invnumber%>%
 \end{SimpleTabular}
 
 \vspace{0.2cm}
index 95468dd..30bcce9 100644 (file)
@@ -20,7 +20,7 @@
 
 \setkomavar{title}{
        \rechnung~
-       \nr ~<%invnumber%>
+       \nr ~<%invnumber%>%
 }
 \setkomavar*{date}{\rechnungsdatum}
 \setkomavar{date}{<%invdate%>}
 \setkomavar{fromname}{<%employee_name%>}
 \setkomavar{fromphone}{<%employee_tel%>}
 \setkomavar{fromemail}{<%employee_email%>}
-<%if globalprojectnumber%>
+<%if globalprojectnumber%>%
        \setkomavar{projectID}{<%globalprojectnumber%>}
-<%end globalprojectnumber%>
+<%end globalprojectnumber%>%
 \setkomavar{transaction}{<%transaction_description%>}
 
 \begin{letter}{
                <%name%>\strut\\
-               <%if department_1%><%department_1%>\\<%end if%>
-               <%if department_2%><%department_2%>\\<%end if%>
+               <%if department_1%><%department_1%>\\<%end if%>%
+               <%if department_2%><%department_2%>\\<%end if%>%
                <%cp_givenname%> <%cp_name%>\strut\\
                <%street%>\strut\\
                <%zipcode%> <%city%>\strut\\