Revision 97eaf9e0
Von Tamino Steinert vor etwa 1 Jahr hinzugefügt
SL/CT.pm | ||
---|---|---|
341 | 341 |
qq|LEFT JOIN employee e ON (ct.salesman_id = e.id) | . |
342 | 342 |
qq|LEFT JOIN payment_terms pt ON (ct.payment_id = pt.id) | . |
343 | 343 |
$pg_join . |
344 |
qq|WHERE $where AND (o.quotation = '0')|;
|
|
344 |
qq|WHERE $where AND ((o.record_type = 'sales_order') OR (o.record_type = 'purcharse_order'))|;
|
|
345 | 345 |
} |
346 | 346 |
|
347 | 347 |
if ( $form->{l_quonumber} ) { |
... | ... | |
360 | 360 |
qq|LEFT JOIN employee e ON (ct.salesman_id = e.id) | . |
361 | 361 |
qq|LEFT JOIN payment_terms pt ON (ct.payment_id = pt.id) | . |
362 | 362 |
$pg_join . |
363 |
qq|WHERE $where AND (o.quotation = '1')|;
|
|
363 |
qq|WHERE $where AND ((o.record_type = 'sales_quotation') OR (o.record_type = 'request_quotation'))|;
|
|
364 | 364 |
} |
365 | 365 |
} |
366 | 366 |
|
Auch abrufbar als: Unified diff
Angebotsflag aus Datenbankzugriffen entfernt