Revision a304d5fa
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
bin/mozilla/rp.pl | ||
---|---|---|
464 | 464 |
<th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th> |
465 | 465 |
<td><input name=decimalplaces size=3 value="2"></td> |
466 | 466 |
</tr> |
467 |
|
|
467 |
|
|
468 | 468 |
$jsscript |
469 | 469 |
|; |
470 | 470 |
} |
... | ... | |
601 | 601 |
<th align=right colspan=4>| . $locale->text('Decimalplaces') . qq|</th> |
602 | 602 |
<td><input name=decimalplaces size=3 value="2"></td> |
603 | 603 |
</tr> |
604 |
|
|
604 |
|
|
605 | 605 |
$jsscript |
606 | 606 |
|; |
607 | 607 |
} |
... | ... | |
1167 | 1167 |
my $edit_url = build_std_url('action=edit', 'type', 'vc'); |
1168 | 1168 |
|
1169 | 1169 |
# foreach $accno (@{ $form->{TB} }) { |
1170 |
#
|
|
1170 |
# |
|
1171 | 1171 |
# $accno->{soll} = $accno->{debit}; |
1172 | 1172 |
# $accno->{haben} = $accno->{credit}; |
1173 | 1173 |
# map { $totals{$_} += $accno->{$_} } @subtotal_columns; |
1174 |
#
|
|
1174 |
# |
|
1175 | 1175 |
# map { $accno->{$_} = $form->format_amount(\%myconfig, $accno->{$_}, 2) } qw(soll_eb haben_eb soll haben soll_kumuliert haben_kumuliert soll_saldo haben_saldo); |
1176 |
#
|
|
1176 |
# |
|
1177 | 1177 |
# map { $accno->{$_} = ($accno->{$_} == 0) ? '' : $accno->{$_} } qw(soll_eb haben_eb soll haben soll_kumuliert haben_kumuliert soll_saldo haben_saldo); |
1178 |
#
|
|
1178 |
# |
|
1179 | 1179 |
# my $row = { }; |
1180 |
#
|
|
1180 |
# |
|
1181 | 1181 |
# foreach my $column (@columns) { |
1182 | 1182 |
# $row->{$column} = { |
1183 | 1183 |
# 'data' => $accno->{$column}, |
1184 | 1184 |
# 'align' => $column_alignment{$column}, |
1185 | 1185 |
# }; |
1186 | 1186 |
# } |
1187 |
#
|
|
1188 |
#
|
|
1187 |
# |
|
1188 |
# |
|
1189 | 1189 |
# $row->{$ordnumber}->{link} = $edit_url . "&id=" . E($oe->{id}) . "&callback=${callback}"; |
1190 |
#
|
|
1190 |
# |
|
1191 | 1191 |
# my $row_set = [ $row ]; |
1192 |
#
|
|
1193 |
#
|
|
1192 |
# |
|
1193 |
# |
|
1194 | 1194 |
# $report->add_data($row_set); |
1195 |
#
|
|
1195 |
# |
|
1196 | 1196 |
# $idx++; |
1197 | 1197 |
# } |
1198 |
#
|
|
1198 |
# |
|
1199 | 1199 |
# $report->add_separator(); |
1200 |
#
|
|
1200 |
# |
|
1201 | 1201 |
# $report->add_data(create_subtotal_row(\%totals, \@columns, \%column_alignment, \@subtotal_columns, 'listtotal')); |
1202 | 1202 |
|
1203 | 1203 |
$report->generate_with_headers(); |
... | ... | |
2063 | 2063 |
$form->{what_done} = $form->{type}; |
2064 | 2064 |
$form->save_history($form->dbconnect(\%myconfig)); |
2065 | 2065 |
} |
2066 |
# /saving the history
|
|
2066 |
# /saving the history |
|
2067 | 2067 |
$lxdebug->leave_sub(); |
2068 | 2068 |
} |
2069 | 2069 |
|
Auch abrufbar als: Unified diff
Whitespace Purge für Bugfixes