From: Moritz Bunkus Date: Wed, 6 May 2009 12:31:36 +0000 (+0000) Subject: Kosmetik & Codevereinfachungen. X-Git-Tag: release-2.6.0beta2~23 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=c2def9059d4b1b8d8be43704409d49fe68f29a01;p=kivitendo-erp.git Kosmetik & Codevereinfachungen. --- diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl index aa7b6aefc..c81281443 100644 --- a/bin/mozilla/am.pl +++ b/bin/mozilla/am.pl @@ -99,8 +99,8 @@ sub account_header { if ( $form->{action} eq 'edit_account') { $form->{account_exists} = '1'; - } - + } + $form->{title} = $locale->text("$form->{title} Account"); $form->{"$form->{charttype}_checked"} = "checked"; @@ -109,9 +109,9 @@ sub account_header { $form->{select_tax} = ""; my @tax_report_pos = USTVA->report_variables({ - myconfig => \%myconfig, - form => $form, - type => '', + myconfig => \%myconfig, + form => $form, + type => '', attribute => 'position', calc => '', }); @@ -147,27 +147,27 @@ sub account_header { if ($item->{id} == $taxkey_used->{tax_id}) { $form->{ACCOUNT_TAXKEYS}[$i]{selecttaxkey} .= qq||; @@ -288,18 +288,18 @@ sub account_header { # this is for our parser only! Do not remove. # type=submit $locale->text('Add Account') # type=submit $locale->text('Edit Account') - + $form->{type} = "account"; # preselections category - + $select_category = q|\n|; %category = ( 'A' => $locale->text('Asset'), 'L' => $locale->text('Liability'), 'Q' => $locale->text('Equity'), - 'I' => $locale->text('Revenue'), + 'I' => $locale->text('Revenue'), 'E' => $locale->text('Expense'), 'C' => $locale->text('Costs'), ); @@ -311,7 +311,7 @@ sub account_header { } } - + # preselection chart type my $select_charttype = q{}; @@ -319,7 +319,7 @@ sub account_header { 'A' => $locale->text('Account'), 'H' => $locale->text('Header'), ); - + foreach $item ( sort({ $a <=> $b } keys %charttype) ) { if ($item eq $form->{charttype}) { $select_charttype .= qq|