Revision 2ea1a379
Von Moritz Bunkus vor mehr als 10 Jahren hinzugefügt
SL/OE.pm | ||
---|---|---|
244 | 244 |
$query .= qq| AND ${not} COALESCE(pcfg.active, 'f')|; |
245 | 245 |
} |
246 | 246 |
|
247 |
if ($form->{reqdate_unset_or_old}) { |
|
248 |
$query .= qq| AND ((o.reqdate IS NULL) OR (o.reqdate < date_trunc('month', current_date)))|; |
|
249 |
} |
|
250 |
|
|
247 | 251 |
if (($form->{order_probability_value} || '') ne '') { |
248 | 252 |
my $op = $form->{order_probability_value} eq 'le' ? '<=' : '>='; |
249 | 253 |
$query .= qq| AND (o.order_probability ${op} ?)|; |
Auch abrufbar als: Unified diff
Neuer Bericht »Liquiditätsvorschau«