projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
OE.pm: Keine Daten aus $form direkt in SQL-Anfragen einsetzen und statt dessen parame...
[kivitendo-erp.git]
/
bin
/
mozilla
/
gl.pl
diff --git
a/bin/mozilla/gl.pl
b/bin/mozilla/gl.pl
index
5a6404d
..
b6d9448
100644
(file)
--- a/
bin/mozilla/gl.pl
+++ b/
bin/mozilla/gl.pl
@@
-766,11
+766,11
@@
sub generate_report {
}
$transdate = "";
}
$transdate = "";
- foreach $key (sort keys(%{ $ref->{transdate} })) {
+ foreach $key (sort keys(%{ $ref->{
ac_
transdate} })) {
if ($key == 0) {
if ($key == 0) {
- $transdate = "$ref->{transdate}{$key}";
+ $transdate = "$ref->{
ac_
transdate}{$key}";
} else {
} else {
- $transdate .= "<br>$ref->{transdate}{$key}";
+ $transdate .= "<br>$ref->{
ac_
transdate}{$key}";
}
}
}
}
@@
-1127,15
+1127,12
@@
sub display_rows {
if ($previous_accno &&
($previous_accno eq $selected_accno) &&
($previous_tax_id ne $selected_tax_id)) {
if ($previous_accno &&
($previous_accno eq $selected_accno) &&
($previous_tax_id ne $selected_tax_id)) {
- $lxdebug->message(0, "yeah");
my $item = $taxcharts{$selected_tax_id};
$selected_taxchart = "$item->{id}--$item->{rate}";
}
my $item = $taxcharts{$selected_tax_id};
$selected_taxchart = "$item->{id}--$item->{rate}";
}
- if ($init) {
- $selected_accno = '';
- $selected_taxchart = $taxchart_init;
- }
+ $selected_accno = '' if ($init);
+ $selected_taxchart = $taxchart_init unless ($selected_taxchart ne "");
$accno = qq|<td>| .
NTI($cgi->popup_menu('-name' => "accno_$i",
$accno = qq|<td>| .
NTI($cgi->popup_menu('-name' => "accno_$i",