mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-23 09:52:22 +00:00
Bugfix bei Datumsabfrageb
This commit is contained in:
@@ -157,10 +157,10 @@ class wawi_rechnung extends basis_db
|
||||
$qry.= ' AND tbl_rechnung.buchungsdatum <= '.$this->addslashes($buchungsdatum_bis);
|
||||
|
||||
if ($erstelldatum_von != '')
|
||||
$qry.= ' AND tbl_bestellung.insertamum >= '.$this->addslashes($erstelldatum_von);
|
||||
$qry.= ' AND tbl_bestellung.insertamum::date >= '.$this->addslashes($erstelldatum_von);
|
||||
|
||||
if ($erstelldatum_bis != '')
|
||||
$qry.= ' AND tbl_bestellung.insertamum <= '.$this->addslashes($erstelldatum_bis);
|
||||
$qry.= ' AND tbl_bestellung.insertamum::date <= '.$this->addslashes($erstelldatum_bis);
|
||||
|
||||
if ($bestelldatum_von != '')
|
||||
$qry.= " AND status.bestellstatus_kurzbz = 'Bestellung' AND status.datum >= ".$this->addslashes($bestelldatum_von);
|
||||
|
||||
Reference in New Issue
Block a user