Automatische Auswahl des Steuersatzes üer JavaScript
authorPhilip Reetz <p.reetz@linet-services.de>
Sun, 8 Jan 2006 21:52:45 +0000 (21:52 +0000)
committerPhilip Reetz <p.reetz@linet-services.de>
Sun, 8 Jan 2006 21:52:45 +0000 (21:52 +0000)
bin/mozilla/ap.pl
bin/mozilla/ar.pl

index f012907..b9fcc6f 100644 (file)
@@ -548,8 +548,8 @@ $jsscript
 
     print qq|
        <tr>
-          <td width=50%><select name="AP_amount_$i">$selectAP_amount</select></td>
-          <td><input name="amount_$i" onChange="setTaxkey(this, $i)" size=10 value=$form->{"amount_$i"}></td>
+          <td width=50%><select name="AP_amount_$i" onChange="setTaxkey(this, $i)">$selectAP_amount</select></td>
+          <td><input name="amount_$i" size=10 value=$form->{"amount_$i"}></td>
           <td><input name="tax_$i" size=10 value=$form->{"tax_$i"}></td>
           <td><input type="checkbox" name="korrektur_$i" value="1"></td>
           $tax
index d70bc3c..4f242f8 100644 (file)
@@ -572,8 +572,8 @@ $jsscript
 
     print qq|
        <tr>
-          <td width=50%><select name="AR_amount_$i">$selectAR_amount</select></td>
-          <td><input name="amount_$i" onChange="setTaxkey(this, $i)" size=10 value=$form->{"amount_$i"}></td>
+          <td width=50%><select name="AR_amount_$i" onChange="setTaxkey(this, $i)">$selectAR_amount</select></td>
+          <td><input name="amount_$i" size=10 value=$form->{"amount_$i"}></td>
           <td><input name="tax_$i" size=10 value=$form->{"tax_$i"}></td>
           <td><input type="checkbox" name="korrektur_$i" value="1"></td>
           $tax