change buchbar to zeitaufzeichnung

This commit is contained in:
OliiverHacker
2021-04-01 18:29:19 +02:00
parent 8a672780b2
commit 131ec0e33c
13 changed files with 67 additions and 67 deletions
+8 -8
View File
@@ -48,7 +48,7 @@ class projektphase extends basis_db
public $insertvon; // bigint
public $updateamum; // timestamp
public $updatevon; // bigint
public $buchbar; // bool
public $zeitaufzeichnung; // bool
/**
@@ -101,7 +101,7 @@ class projektphase extends basis_db
$this->insertvon = $row->insertvon;
$this->updateamum = $row->updateamum;
$this->updatevon = $row->updatevon;
$this->buchbar = $this->db_parse_bool($row->buchbar);
$this->zeitaufzeichnung = $this->db_parse_bool($row->zeitaufzeichnung);
return true;
}
else
@@ -160,7 +160,7 @@ class projektphase extends basis_db
$obj->insertvon = $row->insertvon;
$obj->updateamum = $row->updateamum;
$obj->updatevon = $row->updatevon;
$obj->buchbar = $this->db_parse_bool($row->buchbar);
$obj->zeitaufzeichnung = $this->db_parse_bool($row->zeitaufzeichnung);
$this->result[] = $obj;
}
@@ -216,7 +216,7 @@ class projektphase extends basis_db
$obj->insertvon = $row->insertvon;
$obj->updateamum = $row->updateamum;
$obj->updatevon = $row->updatevon;
$obj->buchbar = $this->db_parse_bool($row->buchbar);
$obj->zeitaufzeichnung = $this->db_parse_bool($row->zeitaufzeichnung);
$this->result[] = $obj;
}
//var_dump($this->result);
@@ -263,7 +263,7 @@ class projektphase extends basis_db
$obj->insertvon = $row->insertvon;
$obj->updateamum = $row->updateamum;
$obj->updatevon = $row->updatevon;
$obj->buchbar = $this->db_parse_bool($row->buchbar);
$obj->zeitaufzeichnung = $this->db_parse_bool($row->zeitaufzeichnung);
$this->result[] = $obj;
}
@@ -325,7 +325,7 @@ class projektphase extends basis_db
//Neuen Datensatz einfuegen
$qry='BEGIN; INSERT INTO fue.tbl_projektphase (projekt_kurzbz, projektphase_fk, bezeichnung, typ,
beschreibung, start, ende, budget, ressource_id, insertvon, insertamum, updatevon, updateamum, farbe, personentage, buchbar) VALUES ('.
beschreibung, start, ende, budget, ressource_id, insertvon, insertamum, updatevon, updateamum, farbe, personentage, zeitaufzeichnung) VALUES ('.
$this->db_add_param($this->projekt_kurzbz).', '.
$this->db_add_param($this->projektphase_fk).', '.
$this->db_add_param($this->bezeichnung).', '.
@@ -339,7 +339,7 @@ class projektphase extends basis_db
$this->db_add_param($this->updatevon).', now(), '.
$this->db_add_param($this->farbe).', '.
$this->db_add_param($this->personentage).', '.
$this->db_add_param($this->buchbar,FHC_BOOLEAN).');';
$this->db_add_param($this->zeitaufzeichnung,FHC_BOOLEAN).');';
}
else
{
@@ -359,7 +359,7 @@ class projektphase extends basis_db
'personentage='.$this->db_add_param($this->personentage).', '.
'updateamum= now(), '.
'updatevon='.$this->db_add_param($this->updatevon).', '.
'buchbar='.$this->db_add_param($this->buchbar,FHC_BOOLEAN).' '.
'zeitaufzeichnung='.$this->db_add_param($this->zeitaufzeichnung,FHC_BOOLEAN).' '.
'WHERE projektphase_id='.$this->db_add_param($this->projektphase_id, FHC_INTEGER).';';
}