mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-23 10:38:45 +02:00
- Special handling (using some custom code - temporary solution) of the 'ticket_log' attribute: the attribute is displayed at the bottom of the "Properties" page and takes the whole width of the page.
SVN:trunk[1193]
This commit is contained in:
@@ -376,7 +376,7 @@ class RoutineChange extends Change
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','reason','impact','description', ),
|
||||
'fieldset:Ticket:moreinfo' => array('outage', 'fallback',),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('creation_date','start_date','last_update','close_date',),
|
||||
'fieldset:Ticket:contact' => array('requestor_id','workgroup_id','agent_id','supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id',),
|
||||
@@ -477,7 +477,7 @@ class NormalChange extends ApprovedChange
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','reason','impact','description', ),
|
||||
'fieldset:Ticket:moreinfo' => array('acceptance_comment','approval_comment','outage', 'fallback',),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('creation_date','start_date','last_update','acceptance_date','approval_date','close_date',),
|
||||
'fieldset:Ticket:contact' => array('requestor_id','workgroup_id','agent_id','supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id',),
|
||||
@@ -548,7 +548,7 @@ class EmergencyChange extends ApprovedChange
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','reason','impact','description', ),
|
||||
'fieldset:Ticket:moreinfo' => array('approval_comment','outage', 'fallback',),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('creation_date','start_date','last_update','approval_date','close_date',),
|
||||
'fieldset:Ticket:contact' => array('requestor_id','workgroup_id','agent_id','supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id',),
|
||||
|
||||
@@ -50,7 +50,7 @@ class Incident extends ResponseTicket
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','priority','service_id','servicesubcategory_id','product' ),
|
||||
'fieldset:Ticket:moreinfo' => array('impact','urgency','description','resolution_code', 'solution', 'user_satisfaction', 'user_commment',),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('start_date','last_update','assignment_date','tto_escalation_deadline', 'ttr_escalation_deadline', 'close_date','closure_deadline',),
|
||||
'fieldset:Ticket:contact' => array('caller_id','workgroup_id','agent_id',),
|
||||
|
||||
@@ -72,7 +72,7 @@ class Problem extends Ticket
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','priority','service_id','servicesubcategory_id','product' ),
|
||||
'fieldset:Ticket:moreinfo' => array('impact','urgency','description',),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('start_date','last_update','assignment_date','close_date',),
|
||||
'fieldset:Ticket:contact' => array('workgroup_id','agent_id',),
|
||||
|
||||
@@ -52,11 +52,11 @@ class UserRequest extends ResponseTicket
|
||||
'col:col1' => array(
|
||||
'fieldset:Ticket:baseinfo' => array('ref','title','org_id','status','priority','service_id','servicesubcategory_id','product' ),
|
||||
'fieldset:Ticket:moreinfo' => array('impact','urgency','description','resolution_code', 'solution', 'user_satisfaction', 'user_commment','freeze_reason'),
|
||||
'fieldset:Ticket:log' => array('ticket_log'),),
|
||||
),
|
||||
'col:col2' => array(
|
||||
'fieldset:Ticket:date' => array('start_date','last_update','assignment_date','tto_escalation_deadline', 'ttr_escalation_deadline', 'close_date', 'closure_deadline',),
|
||||
'fieldset:Ticket:contact' => array('caller_id','workgroup_id','agent_id',),
|
||||
'fieldset:Ticket:relation' => array('related_problem_id', 'related_change_id',),
|
||||
'fieldset:Ticket:relation' => array('related_problem_id', 'related_change_id'),
|
||||
)
|
||||
|
||||
));
|
||||
|
||||
@@ -53,7 +53,7 @@ abstract class Ticket extends cmdbAbstractObject
|
||||
MetaModel::Init_AddAttribute(new AttributeLinkedSetIndirect("contact_list", array("linked_class"=>"lnkTicketToContact", "ext_key_to_me"=>"ticket_id", "ext_key_to_remote"=>"contact_id", "allowed_values"=>null, "count_min"=>0, "count_max"=>0, "depends_on"=>array())));
|
||||
MetaModel::Init_AddAttribute(new AttributeLinkedSetIndirect("incident_list", array("linked_class"=>"lnkTicketToIncident", "ext_key_to_me"=>"ticket_id", "ext_key_to_remote"=>"incident_id", "allowed_values"=>null, "count_min"=>0, "count_max"=>0, "depends_on"=>array())));
|
||||
|
||||
MetaModel::Init_SetZListItems('details', array('ref', 'title', 'description', 'start_date','ticket_log', 'document_list', 'ci_list', 'contact_list','incident_list'));
|
||||
MetaModel::Init_SetZListItems('details', array('ref', 'title', 'description', 'start_date', 'document_list', 'ci_list', 'contact_list','incident_list'));
|
||||
MetaModel::Init_SetZListItems('advanced_search', array('finalclass', 'ref', 'title', 'start_date'));
|
||||
MetaModel::Init_SetZListItems('standard_search', array('finalclass', 'ref', 'title', 'start_date'));
|
||||
MetaModel::Init_SetZListItems('list', array('finalclass', 'ref', 'title', 'ticket_log', 'start_date'));
|
||||
@@ -212,7 +212,7 @@ abstract class ResponseTicket extends Ticket
|
||||
MetaModel::Init_AddAttribute(new AttributeEnum("user_satisfaction", array("allowed_values"=>new ValueSetEnum('1,2,3,4'), "sql"=>"user_satisfaction", "default_value"=>"1", "is_null_allowed"=>true, "depends_on"=>array())));
|
||||
MetaModel::Init_AddAttribute(new AttributeText("user_commment", array("allowed_values"=>null, "sql"=>"user_commment", "default_value"=>"", "is_null_allowed"=>true, "depends_on"=>array())));
|
||||
|
||||
MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'ticket_log', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'closure_deadline', 'document_list', 'ci_list', 'contact_list', 'status', 'caller_id', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_problem_id', 'related_change_id', 'close_date', 'last_update', 'assignment_date', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment'));
|
||||
MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'closure_deadline', 'document_list', 'ci_list', 'contact_list', 'status', 'caller_id', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_problem_id', 'related_change_id', 'close_date', 'last_update', 'assignment_date', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment'));
|
||||
MetaModel::Init_SetZListItems('advanced_search', array('finalclass', 'ref', 'title', 'org_id', 'start_date', 'status', 'caller_id', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_problem_id', 'related_change_id', 'close_date', 'last_update', 'assignment_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment'));
|
||||
MetaModel::Init_SetZListItems('standard_search', array('finalclass', 'ref', 'title', 'org_id', 'start_date', 'status', 'caller_id', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'close_date', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment'));
|
||||
MetaModel::Init_SetZListItems('list', array('finalclass', 'title', 'org_id', 'start_date', 'status', 'caller_id', 'service_id', 'priority', 'workgroup_id', 'agent_id', 'last_update'));
|
||||
|
||||
Reference in New Issue
Block a user