$column_header{description} =
qq|<th class=listheading>| . $locale->text('Description') . qq|</th>\n|;
$column_header{debit} =
$column_header{description} =
qq|<th class=listheading>| . $locale->text('Description') . qq|</th>\n|;
$column_header{debit} =
if ($ca->{charttype} eq "H") {
print qq|<tr class=listheading>|;
map { $column_data{$_} = "<th>$ca->{$_}</th>"; } qw(accno description);
if ($ca->{charttype} eq "H") {
print qq|<tr class=listheading>|;
map { $column_data{$_} = "<th>$ca->{$_}</th>"; } qw(accno description);
- if ($form->{accounttype} eq 'gifi') {
- $form->{title} .= " - " . $locale->text('GIFI') . " $form->{gifi_accno}";
- } else {
- $form->{title} .= " - " . $locale->text('Account') . " $form->{accno}";
- }
+ $form->{title} .= " - " . $locale->text('Account') . " $form->{accno}";
<input type=hidden name=sort value=transdate>
<input type=hidden name=eur value=$eur>
<input type=hidden name=accounttype value=$form->{accounttype}>
<input type=hidden name=sort value=transdate>
<input type=hidden name=eur value=$eur>
<input type=hidden name=accounttype value=$form->{accounttype}>
<input type=hidden name=password value=$form->{password}>
<br><input class=submit type=submit name=action value="|
<input type=hidden name=password value=$form->{password}>
<br><input class=submit type=submit name=action value="|
CA->all_transactions(\%myconfig, \%$form);
$description = $form->escape($form->{description});
CA->all_transactions(\%myconfig, \%$form);
$description = $form->escape($form->{description});
$department = $form->escape($form->{department});
$projectnumber = $form->escape($form->{projectnumber});
$title = $form->escape($form->{title});
# construct href
$href =
$department = $form->escape($form->{department});
$projectnumber = $form->escape($form->{projectnumber});
$title = $form->escape($form->{title});
# construct href
$href =
- "$form->{script}?path=$form->{path}&action=list_transactions&accno=$form->{accno}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&description=$description&accounttype=$form->{accounttype}&gifi_accno=$form->{gifi_accno}&gifi_description=$gifi_description&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&department=$department&projectnumber=$projectnumber&project_id=$form->{project_id}&title=$title";
+ "$form->{script}?action=list_transactions&accno=$form->{accno}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&description=$description&accounttype=$form->{accounttype}&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&department=$department&projectnumber=$projectnumber&project_id=$form->{project_id}&title=$title";
$department = $form->escape($form->{department}, 1);
$projectnumber = $form->escape($form->{projectnumber}, 1);
$title = $form->escape($form->{title}, 1);
# construct callback
$callback =
$department = $form->escape($form->{department}, 1);
$projectnumber = $form->escape($form->{projectnumber}, 1);
$title = $form->escape($form->{title}, 1);
# construct callback
$callback =
- "$form->{script}?path=$form->{path}&action=list_transactions&accno=$form->{accno}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&description=$description&accounttype=$form->{accounttype}&gifi_accno=$form->{gifi_accno}&gifi_description=$gifi_description&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&department=$department&projectnumber=$projectnumber&project_id=$form->{project_id}&title=$title";
+ "$form->{script}?action=list_transactions&accno=$form->{accno}&login=$form->{login}&password=$form->{password}&fromdate=$form->{fromdate}&todate=$form->{todate}&description=$description&accounttype=$form->{accounttype}&l_heading=$form->{l_heading}&l_subtotal=$form->{l_subtotal}&department=$department&projectnumber=$projectnumber&project_id=$form->{project_id}&title=$title";
- $form->{title} =
- ($form->{accounttype} eq 'gifi')
- ? $locale->text('GIFI')
- : $locale->text('Account');
-
- $form->{title} .= " $form->{accno} - $form->{description}";
+ $form->{title} = $locale->text('Account') .
+ " $form->{accno} - $form->{description}";
if ($form->{department}) {
($department) = split /--/, $form->{department};
if ($form->{department}) {
($department) = split /--/, $form->{department};
my $debit = ($ca->{debit} != 0) ? $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") : " ";
$column_data{debit} =
"<td align=right>$debit</td>";
my $debit = ($ca->{debit} != 0) ? $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") : " ";
$column_data{debit} =
"<td align=right>$debit</td>";