mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 18:48:51 +02:00
Page to track sleeping tickets (requires testing)
SVN:trunk[550]
This commit is contained in:
@@ -143,6 +143,10 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Class:ResponseTicket/Attribute:customer_id+' => '',
|
||||
'Class:ResponseTicket/Attribute:customer_name' => 'Customer',
|
||||
'Class:ResponseTicket/Attribute:customer_name+' => '',
|
||||
'Class:ResponseTicket/Attribute:service_id' => 'Service',
|
||||
'Class:ResponseTicket/Attribute:service_id+' => '',
|
||||
'Class:ResponseTicket/Attribute:servicesubcategory_id' => 'Service element',
|
||||
'Class:ResponseTicket/Attribute:servicesubcategory_id+' => '',
|
||||
'Class:ResponseTicket/Attribute:product' => 'Product',
|
||||
'Class:ResponseTicket/Attribute:product+' => '',
|
||||
'Class:ResponseTicket/Attribute:impact' => 'Impact',
|
||||
@@ -153,7 +157,7 @@ Dict::Add('EN US', 'English', 'English', array(
|
||||
'Class:ResponseTicket/Attribute:impact/Value:2+' => '',
|
||||
'Class:ResponseTicket/Attribute:impact/Value:3' => 'A department',
|
||||
'Class:ResponseTicket/Attribute:impact/Value:3+' => '',
|
||||
'Class:ResponseTicket/Attribute:urgency' => 'urgency',
|
||||
'Class:ResponseTicket/Attribute:urgency' => 'Urgency',
|
||||
'Class:ResponseTicket/Attribute:urgency+' => '',
|
||||
'Class:ResponseTicket/Attribute:urgency/Value:1' => 'Low',
|
||||
'Class:ResponseTicket/Attribute:urgency/Value:1+' => '',
|
||||
|
||||
@@ -315,6 +315,17 @@ abstract class ResponseTicket extends Ticket
|
||||
MetaModel::Init_DefineTransition("resolved", "ev_close", array("target_state"=>"closed", "actions"=>array(), "user_restriction"=>null));
|
||||
}
|
||||
|
||||
// Lifecycle actions
|
||||
//
|
||||
public function SetEscalationDeadline()
|
||||
{
|
||||
$this->Set('escalation_deadline', time() + 100);
|
||||
}
|
||||
public function SetClosureDeadline()
|
||||
{
|
||||
$this->Set('closure_deadline', time() + 100);
|
||||
}
|
||||
|
||||
/**
|
||||
* Determines the shortest SLT, for this ticket, for the given metric. Returns null is no SLT was found
|
||||
* @param string $sMetric Type of metric 'TTO', 'TTR', etc as defined in the SLT class
|
||||
|
||||
Reference in New Issue
Block a user