Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 97eaf9e0

Von Tamino Steinert vor etwa 1 Jahr hinzugefügt

  • ID 97eaf9e0169d4dd2e404ce047109cad4e229b862
  • Vorgänger 157648ca
  • Nachfolger 0ff3f593

Angebotsflag aus Datenbankzugriffen entfernt

Unterschiede anzeigen:

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