]> wagnertech.de Git - kivitendo-erp.git/blobdiff - bin/mozilla/rp.pl
Merge branch 'master' of github.com:kivitendo/kivitendo-erp
[kivitendo-erp.git] / bin / mozilla / rp.pl
index 8ec6c45037ca385450d7cfa32c7c8af5cce83931..abffd9728bea895332a70f1593a34f52afb9b83a 100644 (file)
@@ -221,10 +221,6 @@ sub generate_income_statement {
   my %myconfig = %main::myconfig;
   my $locale   = $main::locale;
 
-  my $defaults = SL::DB::Default->get;
-  $form->error($::locale->text('No print templates have been created for this client yet. Please do so in the client configuration.')) if !$defaults->templates;
-  $form->{templates} = $defaults->templates;
-
   $form->{padding} = "  ";
   $form->{bold}    = "<b>";
   $form->{endbold} = "</b>";