Revision c3db1b36
Von Bernd Bleßmann vor mehr als 6 Jahren hinzugefügt
bin/mozilla/ic.pl | ||
---|---|---|
541 | 541 |
# | ist bestellt | Von Kunden bestellt | -> edit_oe_ord_link |
542 | 542 |
# | Anfrage | Angebot | -> edit_oe_quo_link |
543 | 543 |
|
544 |
my $edit_oe_ord_link = build_std_url("script=oe.pl", 'action=edit', 'type=' . E($ref->{cv} eq 'vendor' ? 'purchase_order' : 'sales_order'), 'id=' . E($ref->{trans_id}), 'callback'); |
|
545 |
my $edit_oe_quo_link = build_std_url("script=oe.pl", 'action=edit', 'type=' . E($ref->{cv} eq 'vendor' ? 'request_quotation' : 'sales_quotation'), 'id=' . E($ref->{trans_id}), 'callback'); |
|
544 |
my $edit_oe_ord_link = ($::instance_conf->get_feature_experimental) |
|
545 |
? build_std_url("script=controller.pl", 'action=Order/edit', |
|
546 |
'type=' . E($ref->{cv} eq 'vendor' ? 'purchase_order' : 'sales_order'), 'id=' . E($ref->{trans_id}), 'callback') |
|
547 |
: build_std_url("script=oe.pl", 'action=edit', |
|
548 |
'type=' . E($ref->{cv} eq 'vendor' ? 'purchase_order' : 'sales_order'), 'id=' . E($ref->{trans_id}), 'callback'); |
|
549 |
|
|
550 |
my $edit_oe_quo_link = ($::instance_conf->get_feature_experimental) |
|
551 |
? build_std_url("script=controller.pl", 'action=Order/edit', |
|
552 |
'type=' . E($ref->{cv} eq 'vendor' ? 'request_quotation' : 'sales_quotation'), 'id=' . E($ref->{trans_id}), 'callback') |
|
553 |
: build_std_url("script=oe.pl", 'action=edit', |
|
554 |
'type=' . E($ref->{cv} eq 'vendor' ? 'request_quotation' : 'sales_quotation'), 'id=' . E($ref->{trans_id}), 'callback'); |
|
546 | 555 |
|
547 | 556 |
$row->{ordnumber}{link} = $edit_oe_ord_link; |
548 | 557 |
$row->{quonumber}{link} = $edit_oe_quo_link if (!$ref->{ordnumber}); |
Auch abrufbar als: Unified diff
Auftrags-Controller: weitere Links hierhin bei experimentellen Features