Export des Lieferdatums fuer gedruckte Rechnungen.
authorSven Schöling <s.schoeling@linet-services.de>
Thu, 26 Jan 2006 15:26:00 +0000 (15:26 +0000)
committerSven Schöling <s.schoeling@linet-services.de>
Thu, 26 Jan 2006 15:26:00 +0000 (15:26 +0000)
Die Variable ist <%deliverydate%>.
Anbei Rechnungen mit Lieferdatum in tex und html.
(Sollte sich jemand anschauen der weiss wie die auszusehen haben)

bin/mozilla/io.pl
templates/German-invoice.html
templates/German-invoice.tex

index 31322f0..6901623 100644 (file)
@@ -1586,7 +1586,7 @@ sub print_form {
   }
 
   map { $form->{$_} = $locale->date(\%myconfig, $form->{$_}, 1) }
-    ("${inv}date", "${due}date", "shippingdate");
+    ("${inv}date", "${due}date", "shippingdate", "deliverydate");
 
   @a = qw(name street zipcode city country);
 
@@ -1616,7 +1616,7 @@ sub print_form {
   push @a,
     qw(shiptoname shiptostreet shiptozipcode shiptocity shiptocountry shiptoemail shippingpoint shipvia company address signature employee contact department_1 department_2);
 
-  push @a, ("${inv}date", "${due}date", email, cc, bcc);
+  push @a, ("${inv}date", "${due}date", "deliverydate", email, cc, bcc);
 
   $form->format_string(@a);
 
index 249a0ac..2858f4f 100644 (file)
@@ -49,6 +49,9 @@
       <th align=right>Nummer</th><td>&nbsp;</td><td><%invnumber%></td></tr>
     </tr>
   
+    <tr>
+      <th align=right>Lieferdatum</th><td>&nbsp;</td><td><%deliverydate%></td></tr>
+    </tr>
 <!--
     <tr>
       <th align=right>Clerk:</th><td>&nbsp;</td><td><%username%></td>
index bd27f77..9f93e03 100644 (file)
@@ -88,6 +88,7 @@
 \begin{tabular}[t]{l@{\hspace{0.3cm}}l}
   \textbf{Datum} & <%invdate%> \\
   \textbf{Nummer} & <%invnumber%> \\
+  \textbf{Lieferdatum} & <%deliverydate%> \\
 \end{tabular}
 
 \vspace{1cm}