Revision ed661987
Von Sven Schöling vor mehr als 15 Jahren hinzugefügt
SL/IC.pm | ||
---|---|---|
820 | 820 |
description => 'p.', |
821 | 821 |
qty => 'ioi.', |
822 | 822 |
serialnumber => 'ioi.', |
823 |
quotation => 'apoe.', |
|
824 |
cv => 'cv.', |
|
823 | 825 |
); |
824 | 826 |
|
825 | 827 |
# if the join condition in these blocks are met, the column |
... | ... | |
933 | 935 |
my $bsooqr = any { $form->{$_} } @oe_flags; |
934 | 936 |
my @bsooqr_tokens = (); |
935 | 937 |
|
936 |
push @select_tokens, @qsooqr_flags if $bsooqr;
|
|
938 |
push @select_tokens, @qsooqr_flags, 'quotation', 'cv' if $bsooqr;
|
|
937 | 939 |
push @select_tokens, @deliverydate_flags if $bsooqr && $form->{l_deliverydate}; |
938 | 940 |
push @select_tokens, $q_assembly_lastcost if ($form->{searchitems} eq 'assembly') && $form->{l_lastcost}; |
939 | 941 |
push @bsooqr_tokens, q|module = 'ir' AND NOT ioi.assemblyitem| if $form->{bought}; |
bin/mozilla/ic.pl | ||
---|---|---|
1294 | 1294 |
|
1295 | 1295 |
# set module stuff |
1296 | 1296 |
if ($ref->{module} eq 'oe') { |
1297 |
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');
|
|
1297 |
my $edit_oe_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');
|
|
1298 | 1298 |
$row->{ordnumber}{link} = $edit_oe_link; |
1299 | 1299 |
$row->{quonumber}{link} = $edit_oe_link if (!$ref->{ordnumber}); |
1300 | 1300 |
|
Auch abrufbar als: Unified diff
IC::all_parts: cv und quotation müssen für externe Prüfung mit nach aussen gebracht werden.
Fix für Bug 1147.