mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
budget hinzugefügt
This commit is contained in:
@@ -42,6 +42,7 @@ class projekt extends basis_db
|
||||
public $insertvon; // string
|
||||
public $updateamum; // timestamp
|
||||
public $updatevon; // string
|
||||
public $budget;
|
||||
|
||||
|
||||
/**
|
||||
@@ -75,7 +76,8 @@ class projekt extends basis_db
|
||||
$this->beschreibung= $row->beschreibung;
|
||||
$this->beginn= $row->beginn;
|
||||
$this->ende = $row->ende;
|
||||
$this->oe_kurzbz= $row->oe_kurzbz;
|
||||
$this->oe_kurzbz= $row->oe_kurzbz;
|
||||
$this->budget= $row->budget;
|
||||
|
||||
return true;
|
||||
}
|
||||
@@ -117,6 +119,7 @@ class projekt extends basis_db
|
||||
$obj->beginn = $row->beginn;
|
||||
$obj->ende = $row->ende;
|
||||
$obj->oe_kurzbz = $row->oe_kurzbz;
|
||||
$obj->budget = $row->budget;
|
||||
|
||||
$this->result[] = $obj;
|
||||
}
|
||||
@@ -184,13 +187,14 @@ class projekt extends basis_db
|
||||
{
|
||||
//Neuen Datensatz einfuegen
|
||||
|
||||
$qry='INSERT INTO fue.tbl_projekt (projekt_kurzbz, nummer, titel,beschreibung, beginn, ende, oe_kurzbz) VALUES('.
|
||||
$qry='INSERT INTO fue.tbl_projekt (projekt_kurzbz, nummer, titel,beschreibung, beginn, ende, budget, oe_kurzbz) VALUES('.
|
||||
$this->addslashes($this->projekt_kurzbz).', '.
|
||||
$this->addslashes($this->nummer).', '.
|
||||
$this->addslashes($this->titel).', '.
|
||||
$this->addslashes($this->beschreibung).', '.
|
||||
$this->addslashes($this->beginn).', '.
|
||||
$this->addslashes($this->ende).', '.
|
||||
$this->addslashes($this->budget).', '.
|
||||
$this->addslashes($this->oe_kurzbz).');';
|
||||
}
|
||||
else
|
||||
@@ -204,6 +208,7 @@ class projekt extends basis_db
|
||||
'beschreibung='.$this->addslashes($this->beschreibung).', '.
|
||||
'beginn='.$this->addslashes($this->beginn).', '.
|
||||
'ende='.$this->addslashes($this->ende).', '.
|
||||
'budget='.$this->addslashes($this->budget).', '.
|
||||
'oe_kurzbz='.$this->addslashes($this->oe_kurzbz).' '.
|
||||
'WHERE projekt_kurzbz='.$this->addslashes($this->projekt_kurzbz).';';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user