mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2024-11-15 04:27:14 +01:00
Ticket System save timestamp on mass edit, new ticket with standard project
This commit is contained in:
parent
93da199f12
commit
d5a85858bd
@ -181,7 +181,7 @@ class Ticket {
|
||||
$status = $this->app->Secure->GetPOST('status');
|
||||
$warteschlange = $this->app->Secure->GetPOST('warteschlange');
|
||||
|
||||
$sql = "UPDATE ticket SET status = '".$status."'";
|
||||
$sql = "UPDATE ticket SET status = '".$status."', zeit = NOW()";
|
||||
if ($warteschlange != '') {
|
||||
$sql .= ", warteschlange = '".explode(" ",$warteschlange)[0]."'";
|
||||
}
|
||||
@ -400,6 +400,8 @@ class Ticket {
|
||||
|
||||
$submit = $this->app->Secure->GetPOST('submit');
|
||||
$input = $this->GetInput();
|
||||
$projekt_id = $this->app->User->DefaultProjekt();
|
||||
$projekt = $this->app->DB->Select("SELECT abkuerzung FROM projekt WHERE id = ".$projekt_id);
|
||||
|
||||
if ($submit != '') {
|
||||
|
||||
@ -412,6 +414,8 @@ class Ticket {
|
||||
exit();
|
||||
}
|
||||
|
||||
$this->app->Tpl->Set('PROJEKT', $projekt);
|
||||
|
||||
$this->app->Tpl->Set('STATUSICON', $this->ticket_status_icon('neu')." ");
|
||||
$this->app->YUI->AutoComplete("adresse","adresse");
|
||||
$this->app->YUI->AutoComplete("projekt","projektname",1);
|
||||
|
Loading…
Reference in New Issue
Block a user