projects
/
kivitendo-erp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Auswahl der css Menues nun hardcoded, weil die custom css-Dateien garkeine Layouts...
[kivitendo-erp.git]
/
bin
/
mozilla
/
rp.pl
diff --git
a/bin/mozilla/rp.pl
b/bin/mozilla/rp.pl
index
034fa4f
..
fef3355
100644
(file)
--- a/
bin/mozilla/rp.pl
+++ b/
bin/mozilla/rp.pl
@@
-1253,7
+1253,8
@@
sub generate_balance_sheet {
$form->{IN} = "balance_sheet.html";
# setup company variables for the form
$form->{IN} = "balance_sheet.html";
# setup company variables for the form
- map { $form->{$_} = $myconfig{$_} }
+ map { $form->{$_} = $myconfig{$_};
+ $form->{$_} =~ s/\\n/\n/g; }
(qw(company address businessnumber nativecurr));
$form->{templates} = $myconfig{templates};
(qw(company address businessnumber nativecurr));
$form->{templates} = $myconfig{templates};
@@
-1850,16
+1851,10
@@
sub aging {
<input class=submit type=submit name=action value="|
. $locale->text('Print') . qq|">
<input class=submit type=submit name=action value="|
<input class=submit type=submit name=action value="|
. $locale->text('Print') . qq|">
<input class=submit type=submit name=action value="|
- . $locale->text('E-mail') . qq|">
-|;
- }
-
- if ($form->{menubar}) {
- require "$form->{path}/menu.pl";
- &menubar;
- }
+ . $locale->text('E-mail') . qq|">|;
+}
-
print qq|
+print qq|
</form>
</body>
</form>
</body>
@@
-2132,10
+2127,10
@@
sub statement_details {
push @{ $form->{duedate} }, $ref->{duedate};
foreach $item (qw(c0 c30 c60 c90)) {
push @{ $form->{duedate} }, $ref->{duedate};
foreach $item (qw(c0 c30 c60 c90)) {
-
eval
{
+
if ($ref->{exchangerate} * 1)
{
$ref->{$item} =
$form->round_amount($ref->{$item} / $ref->{exchangerate}, 2);
$ref->{$item} =
$form->round_amount($ref->{$item} / $ref->{exchangerate}, 2);
- }
;
+ }
$form->{"${item}total"} += $ref->{$item};
$form->{total} += $ref->{$item};
push @{ $form->{$item} },
$form->{"${item}total"} += $ref->{$item};
$form->{total} += $ref->{$item};
push @{ $form->{$item} },