X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/56041df395cc2d8971f822c54f4e48743cc4f22b..6277aefffea29c8aa6f684bd86c55cdc6366f32f:/bin/mozilla/am.pl
diff --git a/bin/mozilla/am.pl b/bin/mozilla/am.pl
index c9b5f549f..60814f2dc 100644
--- a/bin/mozilla/am.pl
+++ b/bin/mozilla/am.pl
@@ -575,12 +575,11 @@ sub list_account {
$ca->{link} .= qq|[| . $link . qq|] |;
}
- $ca->{startdate} =~ s/,/
/og;
- $ca->{tk_ustva} =~ s/,/
/og;
-
- $ca->{taxkey_id} =~ s/,/
/og;
- $ca->{taxdescription} =~ s/,/
/og;
-
+ $ca->{startdate} =~ s/,/
/og;
+ $ca->{tk_ustva} =~ s/,/
/og;
+ $ca->{taxkey} =~ s/,/
/og;
+ $ca->{taxaccount} =~ s/,/
/og;
+ $ca->{taxdescription} =~ s/,/
/og;
$ca->{datevautomatik} = ($ca->{datevautomatik}) ? $locale->text('On'):q{};
$ca->{category} = ($ca->{category} eq 'A') ? $locale->text('Account Category A')
@@ -2326,6 +2325,10 @@ sub add_payment {
$form->{terms_netto} = 0;
$form->{terms_skonto} = 0;
$form->{percent_skonto} = 0;
+ my @languages = AM->language(\%myconfig, $form, 1);
+ map({ $_->{"language"} = $_->{"description"};
+ $_->{"language_id"} = $_->{"id"}; } @languages);
+ $form->{"TRANSLATION"} = \@languages;
&payment_header;
&form_footer;
@@ -2337,7 +2340,7 @@ sub edit_payment {
$form->{title} = "Edit";
- AM->get_payment(\%myconfig, \%$form);
+ AM->get_payment(\%myconfig, $form);
$form->{percent_skonto} =
$form->format_amount(\%myconfig, $form->{percent_skonto} * 100);
@@ -2453,7 +2456,7 @@ sub list_payment {
build_std_url("action=edit_payment", "id=$ref->{id}", "callback=$callback") .
qq|">| . H($ref->{description}) . qq||;
$column_data{description_long} =
- qq|
| . $locale->text("You can use the following strings in the long " . + "description and all translations. They will be " . + "replaced by their actual values by Lx-Office " . + "before they're output.") +. qq|
+ +