Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f46f6480

Von Philip Reetz vor mehr als 18 Jahren hinzugefügt

  • ID f46f64806e39e562d4e3577bac98e07c298754a4
  • Vorgänger f9504bdd
  • Nachfolger a7403105

Formatierungen in der Kontenliste, Summensaldenliste und AR und AP Aging geaendert, wenn
Nullwerte

Unterschiede anzeigen:

bin/mozilla/ca.pl
# construct link to source
$href =
"<a href=$ca->{module}.pl?path=$form->{path}&action=edit&id=$ca->{id}&login=$form->{login}&password=$form->{password}&callback=$callback>$ca->{reference}</a>";
my $debit = ($ca->{debit} != 0) ? $form->format_amount(\%myconfig, $ca->{debit}, 2, "&nbsp;") : "&nbsp;";
$column_data{debit} =
"<td align=right>"
. $form->format_amount(\%myconfig, $ca->{debit}, 2, "&nbsp;") . "</td>";
"<td align=right>$debit</td>";
my $credit = ($ca->{credit} != 0) ? $form->format_amount(\%myconfig, $ca->{credit}, 2, "&nbsp;") : "&nbsp;";
$column_data{credit} =
"<td align=right>"
. $form->format_amount(\%myconfig, $ca->{credit}, 2, "&nbsp;") . "</td>";
"<td align=right>$credit</td>";
$form->{balance} += $ca->{amount};
$column_data{balance} =
bin/mozilla/rp.pl
$ml = ($ref->{category} =~ /(A|C|E)/) ? -1 : 1;
$debit = $form->format_amount(\%myconfig, $ref->{debit}, 2, "&nbsp;");
$credit = $form->format_amount(\%myconfig, $ref->{credit}, 2, "&nbsp;");
$debit = ($ref->{debit} != 0) ? $form->format_amount(\%myconfig, $ref->{debit}, 2, "&nbsp;") : "&nbsp;";
$credit = ($ref->{credit} != 0) ? $form->format_amount(\%myconfig, $ref->{credit}, 2, "&nbsp;") : "&nbsp;";
$begbalance =
$form->format_amount(\%myconfig, $ref->{balance} * $ml, 2, "&nbsp;");
$endbalance =
......
$i++;
if ($subtotal) {
$c0subtotal =
$form->format_amount(\%myconfig, $c0subtotal, 2, "&nbsp");
$c30subtotal =
$form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp");
$c60subtotal =
$form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp");
$c90subtotal =
$form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp");
$c0subtotal = ($c0subtotal != 0) ?
$form->format_amount(\%myconfig, $c0subtotal, 2, "&nbsp") : "";
$c30subtotal = ($c30subtotal != 0) ?
$form->format_amount(\%myconfig, $c30subtotal, 2, "&nbsp") : "";
$c60subtotal = ($c60subtotal != 0) ?
$form->format_amount(\%myconfig, $c60subtotal, 2, "&nbsp") : "";
$c90subtotal = ($c90subtotal != 0) ?
$form->format_amount(\%myconfig, $c90subtotal, 2, "&nbsp") : "";
}
$column_data{ct} = qq|<th>&nbsp;</th>|;
......
$c60total += $ref->{c60};
$c90total += $ref->{c90};
$ref->{c0} = $form->format_amount(\%myconfig, $ref->{c0}, 2, "&nbsp;");
$ref->{c30} = $form->format_amount(\%myconfig, $ref->{c30}, 2, "&nbsp;");
$ref->{c60} = $form->format_amount(\%myconfig, $ref->{c60}, 2, "&nbsp;");
$ref->{c90} = $form->format_amount(\%myconfig, $ref->{c90}, 2, "&nbsp;");
$ref->{c0} = ($ref->{c0} != 0) ? $form->format_amount(\%myconfig, $ref->{c0}, 2, "&nbsp;") : "";
$ref->{c30} = ($ref->{c30} != 0) ? $form->format_amount(\%myconfig, $ref->{c30}, 2, "&nbsp;") : "";
$ref->{c60} = ($ref->{c60} != 0) ? $form->format_amount(\%myconfig, $ref->{c60}, 2, "&nbsp;") : "";
$ref->{c90} = ($ref->{c90} != 0) ? $form->format_amount(\%myconfig, $ref->{c90}, 2, "&nbsp;") : "";
$href =
qq|$ref->{module}.pl?path=$form->{path}&action=edit&id=$ref->{id}&login=$form->{login}&password=$form->{password}&callback=|

Auch abrufbar als: Unified diff