X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/cd5afcd8835e4c8e625aea2a0a2a2edf86bf5653..54e4131e091831e00a861fe2c4f53e344b87ddca:/bin/mozilla/gl.pl
diff --git a/bin/mozilla/gl.pl b/bin/mozilla/gl.pl
index 9e8402973..b2b7885bf 100644
--- a/bin/mozilla/gl.pl
+++ b/bin/mozilla/gl.pl
@@ -620,15 +620,17 @@ sub generate_report {
|;
}
- $form->{balance} *= $ml;
+ $form->{balance} *= $ml;
foreach $ref (@{ $form->{GL} }) {
$form->{balance} *= $ml;
+
# if item ne sort print subtotal
if ($form->{l_subtotal} eq 'Y') {
if ($sameitem ne $ref->{ $form->{sort} }) {
&gl_subtotal;
}
}
+
#foreach $key (sort keys(%{ $ref->{amount} })) {
# $form->{balance} += $ref->{amount}{$key};
#}
@@ -656,7 +658,7 @@ sub generate_report {
$credit .= "
"
. $form->format_amount(\%myconfig, $ref->{credit}{$key}, 2, 0);
}
- $form->{balance} = abs($form->{balance}) - abs( $ref->{credit}{$key});
+ $form->{balance} = abs($form->{balance}) - abs($ref->{credit}{$key});
}
$debittax = "";
@@ -698,9 +700,10 @@ sub generate_report {
$debitaccno .=
"
{debit_accno}{$key}&callback=$callback>$ref->{debit_accno}{$key}";
}
-# if ($ref->{debit_taxkey}{$key} eq $debittaxkey) {
-# $ref->{debit_tax_accno}{$key} = $taxaccno;
-# }
+
+ # if ($ref->{debit_taxkey}{$key} eq $debittaxkey) {
+ # $ref->{debit_tax_accno}{$key} = $taxaccno;
+ # }
$taxaccno = $ref->{debit_tax_accno}{$key};
$debittaxkey = $ref->{debit_taxkey}{$key};
}
@@ -716,9 +719,10 @@ sub generate_report {
$creditaccno .=
"
{credit_accno}{$key}&callback=$callback>$ref->{credit_accno}{$key}";
}
-# if ($ref->{credit_taxkey}{$key} eq $credittaxkey) {
-# $ref->{credit_tax_accno}{$key} = $taxaccno;
-# }
+
+ # if ($ref->{credit_taxkey}{$key} eq $credittaxkey) {
+ # $ref->{credit_tax_accno}{$key} = $taxaccno;
+ # }
$taxaccno = $ref->{credit_tax_accno}{$key};
$credittaxkey = $ref->{credit_taxkey}{$key};
}
@@ -776,9 +780,8 @@ sub generate_report {
$column_data{gifi_accno} =
"