Revision f46f6480
Von Philip Reetz vor mehr als 18 Jahren hinzugefügt
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, " ") : " ";
|
||
$column_data{debit} =
|
||
"<td align=right>"
|
||
. $form->format_amount(\%myconfig, $ca->{debit}, 2, " ") . "</td>";
|
||
"<td align=right>$debit</td>";
|
||
my $credit = ($ca->{credit} != 0) ? $form->format_amount(\%myconfig, $ca->{credit}, 2, " ") : " ";
|
||
$column_data{credit} =
|
||
"<td align=right>"
|
||
. $form->format_amount(\%myconfig, $ca->{credit}, 2, " ") . "</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, " ");
|
||
$credit = $form->format_amount(\%myconfig, $ref->{credit}, 2, " ");
|
||
$debit = ($ref->{debit} != 0) ? $form->format_amount(\%myconfig, $ref->{debit}, 2, " ") : " ";
|
||
$credit = ($ref->{credit} != 0) ? $form->format_amount(\%myconfig, $ref->{credit}, 2, " ") : " ";
|
||
$begbalance =
|
||
$form->format_amount(\%myconfig, $ref->{balance} * $ml, 2, " ");
|
||
$endbalance =
|
||
... | ... | |
$i++;
|
||
|
||
if ($subtotal) {
|
||
$c0subtotal =
|
||
$form->format_amount(\%myconfig, $c0subtotal, 2, " ");
|
||
$c30subtotal =
|
||
$form->format_amount(\%myconfig, $c30subtotal, 2, " ");
|
||
$c60subtotal =
|
||
$form->format_amount(\%myconfig, $c60subtotal, 2, " ");
|
||
$c90subtotal =
|
||
$form->format_amount(\%myconfig, $c90subtotal, 2, " ");
|
||
$c0subtotal = ($c0subtotal != 0) ?
|
||
$form->format_amount(\%myconfig, $c0subtotal, 2, " ") : "";
|
||
$c30subtotal = ($c30subtotal != 0) ?
|
||
$form->format_amount(\%myconfig, $c30subtotal, 2, " ") : "";
|
||
$c60subtotal = ($c60subtotal != 0) ?
|
||
$form->format_amount(\%myconfig, $c60subtotal, 2, " ") : "";
|
||
$c90subtotal = ($c90subtotal != 0) ?
|
||
$form->format_amount(\%myconfig, $c90subtotal, 2, " ") : "";
|
||
}
|
||
|
||
$column_data{ct} = qq|<th> </th>|;
|
||
... | ... | |
$c60total += $ref->{c60};
|
||
$c90total += $ref->{c90};
|
||
|
||
$ref->{c0} = $form->format_amount(\%myconfig, $ref->{c0}, 2, " ");
|
||
$ref->{c30} = $form->format_amount(\%myconfig, $ref->{c30}, 2, " ");
|
||
$ref->{c60} = $form->format_amount(\%myconfig, $ref->{c60}, 2, " ");
|
||
$ref->{c90} = $form->format_amount(\%myconfig, $ref->{c90}, 2, " ");
|
||
$ref->{c0} = ($ref->{c0} != 0) ? $form->format_amount(\%myconfig, $ref->{c0}, 2, " ") : "";
|
||
$ref->{c30} = ($ref->{c30} != 0) ? $form->format_amount(\%myconfig, $ref->{c30}, 2, " ") : "";
|
||
$ref->{c60} = ($ref->{c60} != 0) ? $form->format_amount(\%myconfig, $ref->{c60}, 2, " ") : "";
|
||
$ref->{c90} = ($ref->{c90} != 0) ? $form->format_amount(\%myconfig, $ref->{c90}, 2, " ") : "";
|
||
|
||
$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
Formatierungen in der Kontenliste, Summensaldenliste und AR und AP Aging geaendert, wenn
Nullwerte