BankTransaction: Kreditorenvorlagen auch nach Namen sortiert
[kivitendo-erp.git] / SL / Controller / BankTransaction.pm
index 3cd77b5..7f31740 100644 (file)
@@ -274,6 +274,7 @@ sub action_create_invoice {
 
   my $templates_ap = SL::DB::Manager::RecordTemplate->get_all(
     where        => [ template_type => 'ap_transaction' ],
+    sort_by      => [ qw(template_name) ],
     with_objects => [ qw(employee vendor) ],
   );
   my $templates_gl = SL::DB::Manager::RecordTemplate->get_all(