X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fca.pl;h=e4185ab339908bd02a30ed0dcee039291924fc7a;hb=20e6c6695eb9b9742686b947b4037636c31b13dd;hp=66a6a6a3d241cffcef13a6fa9faf502680491ddb;hpb=57bf9c89a037036fcf433de39643778854defe51;p=kivitendo-erp.git diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl index 66a6a6a3d..e4185ab33 100644 --- a/bin/mozilla/ca.pl +++ b/bin/mozilla/ca.pl @@ -161,20 +161,20 @@ sub list { # get departments $form->all_departments(\%myconfig); - if (@{ $form->{all_departments} }) { + if (@{ $form->{all_departments} || [] }) { $form->{selectdepartment} = "\n"; map { $form->{selectdepartment} .= "$_->{description}--$_->{id}\n" - } (@{ $form->{all_departments} }); + } (@{ $form->{all_departments} || [] }); } my $department = qq| - | . $locale->text('Department') . qq| - $form->{selectdepartment} - + | . $locale->text('Department') . qq| + $form->{selectdepartment} + | if $form->{selectdepartment}; my $accrual = ($main::eur) ? "" : "checked"; my $cash = ($main::eur) ? "checked" : ""; @@ -263,107 +263,86 @@ sub list { - - | + + | . $locale->text('Customized Report') . qq| - - - | . $locale->text('Year') . qq| - text('YYYY') . qq|" value="$year"> - + |; our $checked; print qq| - - + + | . $locale->text('Yearly') . qq| - | . $locale->text('Quarterly') . qq| - | . $locale->text('Monthly') . qq| - - - | . $locale->text('Quarterly') . qq| + | . $locale->text('Monthly') . qq| + + + - 1. | - . $locale->text('Quarter') . qq| + 1. | . $locale->text('Quarter') . qq| |; $checked = "checked"; print qq| - | - . $locale->text('January') . qq| + | . $locale->text('January') . qq| |; $checked = ""; print qq| - | - . $locale->text('May') . qq| - | - . $locale->text('September') . qq| - - - - - 2. | - . $locale->text('Quarter') . qq| - | - . $locale->text('February') . qq| - | - . $locale->text('June') . qq| - | - . $locale->text('October') . qq| - - - - 3. | - . $locale->text('Quarter') . qq| - | - . $locale->text('March') . qq| - | - . $locale->text('July') . qq| - | - . $locale->text('November') . qq| - - - - - 4. | - . $locale->text('Quarter') . qq| - | - . $locale->text('April') . qq| - | - . $locale->text('August') . qq| - | - . $locale->text('December') . qq| - - - - - - - | - . $locale->text('Free report period') . qq| - | . $locale->text('From') . qq| - $button1 + | . $locale->text('May') . qq| + | . $locale->text('September') . qq| + + + + + 2. | . $locale->text('Quarter') . qq| + | . $locale->text('February') . qq| + | . $locale->text('June') . qq| + | . $locale->text('October') . qq| + + + + 3. | . $locale->text('Quarter') . qq| + | . $locale->text('March') . qq| + | . $locale->text('July') . qq| + | . $locale->text('November') . qq| + + + + + 4. | . $locale->text('Quarter') . qq| + | . $locale->text('April') . qq| + | . $locale->text('August') . qq| + | . $locale->text('December') . qq| + + + + + + + | . $locale->text('Free report period') . qq| + | . $locale->text('From') . qq| + $button1 $button1_2 - | . $locale->text('Bis') . qq| - $button2 + | . $locale->text('Bis') . qq| + $button2 $button2_2 - - - - - | . $locale->text('Method') . qq| - | - . $locale->text('Accrual') . qq| - | - . $locale->text('EUR') . qq| - - | - . $locale->text('Decimalplaces') - . qq| + + + + | . $locale->text('Method') . qq| + | . $locale->text('Accrual') . qq| + | . $locale->text('EUR') . qq| + + + | . $locale->text('Decimalplaces') . qq|