X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=bin%2Fmozilla%2Fca.pl;h=ecce874295f8e12d98091f02e7c80d72632b2e8d;hb=ba5d3542135b3408a011ce42d2311fa3aefa7f38;hp=31c77da100a9663f993fbebea054763753cec9be;hpb=7ecdb94715674d62df85fc746fe06db10c7ade9b;p=kivitendo-erp.git
diff --git a/bin/mozilla/ca.pl b/bin/mozilla/ca.pl
index 31c77da10..ecce87429 100644
--- a/bin/mozilla/ca.pl
+++ b/bin/mozilla/ca.pl
@@ -84,7 +84,7 @@ sub chart_of_accounts {
$form->{title} = $locale->text('Chart of Accounts');
- if ($main::eur) {
+ if ($::lx_office_conf{system}->{eur}) {
$form->{method} = "cash";
}
@@ -177,8 +177,8 @@ sub list {
|
| if $form->{selectdepartment};
- my $accrual = ($main::eur) ? "" : "checked";
- my $cash = ($main::eur) ? "checked" : "";
+ my $accrual = $::lx_office_conf{system}->{eur} ? "" : "checked";
+ my $cash = $::lx_office_conf{system}->{eur} ? "checked" : "";
my $name_1 = "fromdate";
my $id_1 = "fromdate";
@@ -246,6 +246,8 @@ sub list {
$form->{description} =~ s/\"/"/g;
+ my $eur = $::lx_office_conf{system}->{eur};
+
print qq|
@@ -254,7 +256,7 @@ sub list {
{accno}>
-
+
{accounttype}>
@@ -542,7 +544,7 @@ sub list_transactions {
'ustrate' => { 'text' => $locale->text('Satz %'), },
);
- my @hidden_variables = qw(accno fromdate todate description accounttype l_heading subtotal department projectnumber project_id sort);
+ my @hidden_variables = qw(accno fromdate todate description accounttype l_heading subtotal department projectnumber project_id sort method);
my $link = build_std_url('action=list_transactions', grep { $form->{$_} } @hidden_variables);