mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-10-12 06:54:04 +00:00
implement functionallity for phase
This commit is contained in:
@@ -70,8 +70,8 @@ function saveProjektphase($username, $passwort, $phase)
|
||||
$projektphase->projektphase_id=$phase->projektphase_id;
|
||||
$projektphase->projekt_kurzbz=$phase->projekt_kurzbz;
|
||||
$projektphase->projektphase_fk=$phase->projektphase_fk;
|
||||
$projektphase->bezeichnung = $phase->bezeichnung;
|
||||
$projektphase->typ = $phase->typ;
|
||||
$projektphase->bezeichnung = $phase->bezeichnung;
|
||||
$projektphase->typ = $phase->typ;
|
||||
$projektphase->ressource_id = $phase->ressource_id;
|
||||
$projektphase->beschreibung = $phase->beschreibung;
|
||||
$projektphase->start = $phase->start;
|
||||
@@ -82,10 +82,23 @@ function saveProjektphase($username, $passwort, $phase)
|
||||
$projektphase->updatevon = $user;
|
||||
$projektphase->updateamum = date('Y-m-d H:i:s');
|
||||
|
||||
if($phase->neu=='true')
|
||||
$projektphase->new = true;
|
||||
if($phase->buchbar=='true')
|
||||
{
|
||||
$projektphase->buchbar = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$projektphase->buchbar = false;
|
||||
}
|
||||
|
||||
if($phase->neu=='true')
|
||||
{
|
||||
$projektphase->new = true;
|
||||
}
|
||||
else
|
||||
{
|
||||
$projektphase->new = false;
|
||||
}
|
||||
|
||||
if($projektphase->save())
|
||||
return $projektphase->projektphase_id;
|
||||
|
||||
@@ -24,8 +24,8 @@ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
|
||||
<wsdl:part name="projektphase_id" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="projekt_kurzbz" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="projektphase_fk" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="bezeichnung" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="typ" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="bezeichnung" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="typ" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="ressource_id" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="beschreibung" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="start" type="xsd:string"></wsdl:part>
|
||||
@@ -35,6 +35,7 @@ xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/">
|
||||
<wsdl:part name="farbe" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="user" type="xsd:string"></wsdl:part>
|
||||
<wsdl:part name="neu" type="xsd:boolean"></wsdl:part>
|
||||
<wsdl:part name="buchbar" type="xsd:string"></wsdl:part>
|
||||
</xsd:all>
|
||||
</xsd:complexType>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user