mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-25 16:44:28 +00:00
Löschen von Vertragsstatus hinzugefügt
Fehler beim Laden von Verwendungen korrigiert
This commit is contained in:
@@ -361,6 +361,7 @@ class bisverwendung extends basis_db
|
||||
*/
|
||||
public function getVerwendungDatum($uid, $datum)
|
||||
{
|
||||
$datum_obj = new datum();
|
||||
//laden des Datensatzes
|
||||
$qry = "SELECT
|
||||
*
|
||||
@@ -369,7 +370,7 @@ class bisverwendung extends basis_db
|
||||
WHERE
|
||||
mitarbeiter_uid=".$this->db_add_param($uid)."
|
||||
AND (beginn<=".$this->db_add_param($datum)." OR beginn is null)
|
||||
AND (ende>=".$this->db_add_param($datum)." OR ende is null)
|
||||
AND (ende>=".$this->db_add_param($datum_obj->formatDatum($datum,'Y-m-01'))." OR ende is null)
|
||||
ORDER BY beginn;";
|
||||
|
||||
if($this->db_query($qry))
|
||||
|
||||
Reference in New Issue
Block a user