Auftrags-Controller: Steuerzonen sortiert anzeigen.
authorBernd Bleßmann <bernd@kivitendo-premium.de>
Mon, 10 Aug 2015 10:26:07 +0000 (12:26 +0200)
committerG. Richardson <information@kivitendo-premium.de>
Mon, 16 Nov 2015 15:15:56 +0000 (16:15 +0100)
SL/Controller/Order.pm

index 2c866ce..b9aace2 100644 (file)
@@ -297,7 +297,7 @@ sub _save {
 sub _pre_render {
   my ($self) = @_;
 
-  $self->{all_taxzones}  = SL::DB::Manager::TaxZone->get_all();
+  $self->{all_taxzones}  = SL::DB::Manager::TaxZone->get_all_sorted();
   $self->{all_employees} = SL::DB::Manager::Employee->get_all(where => [ or => [ id => $self->order->employee_id,
                                                                                  deleted => 0 ] ],
                                                               sort_by => 'name');