Funktion zum Erfassen von Zahlungskonditionen leicht angepasst
authorPhilip Reetz <p.reetz@linet-services.de>
Tue, 12 Dec 2006 10:50:49 +0000 (10:50 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Tue, 12 Dec 2006 10:50:49 +0000 (10:50 +0000)
bin/mozilla/am.pl

index c04651d..1ebd598 100644 (file)
@@ -2264,6 +2264,9 @@ sub add_payment {
     "$form->{script}?action=add_payment&path=$form->{path}&login=$form->{login}&password=$form->{password}"
     unless $form->{callback};
 
+  $form->{terms_netto} = 0;
+  $form->{terms_skonto} = 0;
+  $form->{percent_skonto} = 0;
   &payment_header;
   &form_footer;
 
@@ -2438,10 +2441,6 @@ sub payment_header {
     <th align=right>| . $locale->text('Description') . qq|</th>
     <td><input name=description size=30 value="$form->{description}"></td>
   <tr>
-  <tr>
-    <th align=right>| . $locale->text('Ranking') . qq|</th>
-    <td><input name=ranking size=30 value="$form->{ranking}"></td>
-  <tr>
   <tr>
     <th align=right>| . $locale->text('Long Description') . qq|</th>
     <td><input name=description_long size=50 value="$form->{description_long}"></td>