Revision 12c4c658
Von Moritz Bunkus vor mehr als 17 Jahren hinzugefügt
bin/mozilla/oe.pl | ||
---|---|---|
1578 | 1578 |
sub orders { |
1579 | 1579 |
$lxdebug->enter_sub(); |
1580 | 1580 |
|
1581 |
# split vendor / customer |
|
1582 |
($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = |
|
1583 |
split(/--/, $form->{ $form->{vc} }); |
|
1584 |
|
|
1585 |
OE->transactions(\%myconfig, \%$form); |
|
1586 |
|
|
1587 | 1581 |
$ordnumber = ($form->{type} =~ /_order$/) ? "ordnumber" : "quonumber"; |
1588 | 1582 |
|
1589 | 1583 |
# construct href |
... | ... | |
1591 | 1585 |
qw(type vc login password transdatefrom transdateto |
1592 | 1586 |
open closed notdelivered delivered department |
1593 | 1587 |
transaction_description); |
1588 |
push @fields, $form->{vc}; |
|
1594 | 1589 |
$href = "$form->{script}?action=orders&" |
1595 | 1590 |
. join("&", map { "${_}=" . E($form->{$_}) } @fields) |
1596 | 1591 |
. "&${ordnumber}=" . E($form->{$ordnumber}); |
1597 | 1592 |
$callback = $href; |
1598 | 1593 |
|
1594 |
# split vendor / customer |
|
1595 |
($form->{ $form->{vc} }, $form->{"$form->{vc}_id"}) = |
|
1596 |
split(/--/, $form->{ $form->{vc} }); |
|
1597 |
|
|
1598 |
OE->transactions(\%myconfig, \%$form); |
|
1599 |
|
|
1599 | 1600 |
@columns = ( |
1600 | 1601 |
"transdate", "reqdate", |
1601 | 1602 |
"id", "$ordnumber", |
Auch abrufbar als: Unified diff
Filterkriterium "Kunden-/Lieferantenname" in Berichten auch beim Umsortieren beibehalten. Fix für Bug 638.