projects
/
kivitendo-erp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
273d8de
)
purchase_order/sales_order in den Links im bsooqr Modus der Waren/Dienstleistungen...
author
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 6 Apr 2009 17:34:21 +0000
(17:34 +0000)
committer
Sven Schöling
<s.schoeling@linet-services.de>
Mon, 6 Apr 2009 17:34:21 +0000
(17:34 +0000)
Fix für Bug 920.
bin/mozilla/ic.pl
patch
|
blob
|
history
diff --git
a/bin/mozilla/ic.pl
b/bin/mozilla/ic.pl
index
2e2701c
..
5f16184
100644
(file)
--- a/
bin/mozilla/ic.pl
+++ b/
bin/mozilla/ic.pl
@@
-1239,7
+1239,7
@@
sub generate_report {
# set module stuff
if ($ref->{module} eq 'oe') {
- my $edit_oe_link = build_std_url("script=oe.pl", 'action=edit', 'type=' . E($ref->{
type}
), 'id=' . E($ref->{trans_id}), 'callback');
+ my $edit_oe_link = build_std_url("script=oe.pl", 'action=edit', 'type=' . E($ref->{
customer_id} ne '' ? 'sales_order' : 'purchase_order'
), 'id=' . E($ref->{trans_id}), 'callback');
$row->{ordnumber}{link} = $edit_oe_link;
$row->{quonumber}{link} = $edit_oe_link if (!$ref->{ordnumber});