Auftrags-Controller: kivi.Validator.js vor kivi.Order.js einbinden, …
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 25 Nov 2021 15:26:19 +0000 (16:26 +0100)
committerBernd Bleßmann <bernd@kivitendo-premium.de>
Thu, 25 Nov 2021 15:39:15 +0000 (16:39 +0100)
damit die Datumseingabe angepasst wird, bevor es bei onchange zum Server
geschickt wird.

SL/Controller/Order.pm

index 55c037d..8361ee5 100644 (file)
@@ -1920,8 +1920,8 @@ sub pre_render {
 
   $self->get_item_cvpartnumber($_) for @{$self->order->items_sorted};
 
-  $::request->{layout}->use_javascript("${_}.js") for qw(kivi.SalesPurchase kivi.Order kivi.File ckeditor/ckeditor ckeditor/adapters/jquery
-                                                         edit_periodic_invoices_config calculate_qty kivi.Validator follow_up show_history);
+  $::request->{layout}->use_javascript("${_}.js") for qw(kivi.Validator kivi.SalesPurchase kivi.Order kivi.File ckeditor/ckeditor ckeditor/adapters/jquery
+                                                         edit_periodic_invoices_config calculate_qty follow_up show_history);
   $self->setup_edit_action_bar;
 }