Index: /views/mods/mod_rechnungen/order_view_orderdata_after.phtml
===================================================================
--- /views/mods/mod_rechnungen/order_view_orderdata_after.phtml	(revision 8062)
+++ /views/mods/mod_rechnungen/order_view_orderdata_after.phtml	(revision 8063)
@@ -185,11 +185,11 @@
                                                                 
 						function check_invoice_amount(event) {
-							
+							 
 							let ok = false;
 							
-							for (let el_checkbox of document.getElementsByClassName('wpsg_check_amount')) {
+							for (let el_checkbox of document.getElementsByClassName('wpsg_check_amount_invoice')) {
 								
 								if (el_checkbox.checked) {
-									
+									 
 									if (parseInt(el_checkbox.nextElementSibling.value) > 0) {
 										
@@ -318,5 +318,5 @@
 							let ok = false;
 							
-							for (let el_checkbox of document.getElementsByClassName('wpsg_check_amount')) {
+							for (let el_checkbox of document.getElementsByClassName('wpsg_check_amount_storno')) {
 								
 								if (el_checkbox.checked) {
Index: /views/mods/mod_rechnungen/order_view_row.phtml
===================================================================
--- /views/mods/mod_rechnungen/order_view_row.phtml	(revision 8062)
+++ /views/mods/mod_rechnungen/order_view_row.phtml	(revision 8063)
@@ -38,5 +38,5 @@
                     
                     <input form="invoice_form" type="hidden" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="0" class="" />
-                    <input checked="checked" form="invoice_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
+                    <input checked="checked" form="invoice_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount_invoice" name="invoice_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
                     
                     <input form="invoice_form" name="invoice_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $invoice_amount; ?>" min="1" value="<?php echo min($invoice_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
@@ -65,5 +65,5 @@
                     
                     <input form="storno_form" type="hidden" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="0" class="" />
-                    <input form="storno_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
+                    <input form="storno_form" type="checkbox" class="wpsg_mod_deliverynote_product wpsg_check_amount_storno" name="storno_products[<?php echo $p['order_product_id']; ?>][set]" value="1" style="margin:0;" />
                     
                     <input form="storno_form" oninput="event.target.previousElementSibling.checked = true;" onchange="event.target.previousElementSibling.checked = true;" name="storno_products[<?php echo $p['order_product_id']; ?>][amount]" type="number" max="<?php echo $storno_amount; ?>" min="1" value="<?php echo min($storno_amount, $p['amount']); ?>" style="padding:0; font-size:14px; line-height:22px; min-height:initial; height:22px; width:50px; text-indent:5px; border:1px solid black; margin:0;" />
