Beim Ausdrucken von Rechnungen das Feld "memo" der Zahlungseingänge als Array "paymen...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 6 May 2009 08:52:05 +0000 (08:52 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Wed, 6 May 2009 08:52:05 +0000 (08:52 +0000)
SL/IS.pm
doc/dokumentenvorlagen-und-variablen.html

index 9a197ab..8192591 100644 (file)
--- a/SL/IS.pm
+++ b/SL/IS.pm
@@ -366,6 +366,7 @@ sub invoice_details {
       push(@{ $form->{paymentaccount} }, $description);
       push(@{ $form->{paymentdate} },    $form->{"datepaid_$i"});
       push(@{ $form->{paymentsource} },  $form->{"source_$i"});
+      push(@{ $form->{paymentmemo} },    $form->{"memo_$i"});
 
       $form->{paid} += $form->parse_amount($myconfig, $form->{"paid_$i"});
     }
index 97de862..9afad51 100644 (file)
@@ -794,28 +794,24 @@ td {
   <table border="1">
    <tr><th>Variablenname</th><th>Bedeutung</th></tr>
    <tr>
-    <td><code>datepaid</code></td>
-    <td>Datum</td>
-   </tr>
-   <tr>
-    <td><code>memo</code></td>
-    <td>Memo</td>
+    <td><code>payment</code></td>
+    <td>Betrag</td>
    </tr>
    <tr>
-    <td><code>paid</code></td>
-    <td>Betrag</td>
+    <td><code>paymentaccount</code></td>
+    <td>Konto</td>
    </tr>
    <tr>
-    <td><code>source</code></td>
-    <td>Beleg</td>
+    <td><code>paymentdate</code></td>
+    <td>Datum</td>
    </tr>
    <tr>
-    <td><code>exchangerate</code></td>
-    <td>Wechselkurs</td>
+    <td><code>paymentmemo</code></td>
+    <td>Memo</td>
    </tr>
    <tr>
-    <td><code>forex</code></td>
-    <td>Konto</td>
+    <td><code>paymentsource</code></td>
+    <td>Beleg</td>
    </tr>
   </table>
  </p>