Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / acctranscorrections / assistant_for_wrong_taxkeys.html
index 74ce4f2..2336683 100644 (file)
@@ -1,7 +1,6 @@
 [%- USE T8 %]
 [% USE HTML %][% USE LxERP %]
-
- <p><div class="listtop">[% title %]</div></p>
+<h1>[% title %]</h1>
 
  <p>
   [% 'The following transaction contains wrong taxkeys:' | $T8 %]
@@ -24,6 +23,8 @@
 
   [% 'The second reason is that kivitendo allowed the user to enter the tax amount manually regardless of the taxkey used.' | $T8 %]
 
+  [% 'The third reason is that wrong (taxkey) settings for the credit / debit CSV-import were used.' | $T8 %]
+
   [% 'Such entries cannot be exported into the DATEV format and have to be fixed as well.' | $T8 %]
  </p>
 
   </p>
  </form>
 
- <script type="text/javascript" src="js/jquery.js"></script>
  <script type="text/javascript">
   <!--
     function enable_fix_button_maybe() {
-      var all_set = true;
-      $("[name='fixes[].taxkey']").each(function () {
-        var val = $(this).attr('value');
-        if (val == '')
-          all_set = false;
-      });
-
-      $("#fix_transaction_button").attr('disabled', !all_set);
+      $("#fix_transaction_button").prop('disabled', $("[name='fixes[].taxkey'][value='']").size() != 0);
     }
     -->
  </script>
-