Typo: BUSINESSES statt BUSINESSS
authorG. Richardson <information@kivitendo-premium.de>
Wed, 23 Dec 2015 11:33:14 +0000 (12:33 +0100)
committerG. Richardson <information@kivitendo-premium.de>
Wed, 23 Dec 2015 11:33:14 +0000 (12:33 +0100)
SL/Controller/Business.pm
templates/webpages/business/list.html

index f7108bb..dbd0f33 100644 (file)
@@ -23,8 +23,8 @@ sub action_list {
   my ($self) = @_;
 
   $self->render('business/list',
-                title       => $::locale->text('Businesses'),
-                BUSINESSS => SL::DB::Manager::Business->get_all_sorted);
+                title      => $::locale->text('Businesses'),
+                BUSINESSES => SL::DB::Manager::Business->get_all_sorted);
 }
 
 sub action_new {
index f1e5c55..1fe7aff 100644 (file)
@@ -4,7 +4,7 @@
 [%- INCLUDE 'common/flash.html' %]
 
  <form method="post" action="controller.pl">
-  [% IF !BUSINESSS.size %]
+  [% IF !BUSINESSES.size %]
    <p>
     [%- LxERP.t8('No business has been created yet.') %]
    </p>
@@ -23,7 +23,7 @@
     </thead>
 
     <tbody>
-    [%- FOREACH business = BUSINESSS %]
+    [%- FOREACH business = BUSINESSES %]
     <tr class="listrow[% loop.count % 2 %]" id="business_id_[% business.id %]">
      <td>
       <a href="[% SELF.url_for(action => 'edit', id => business.id) %]">