diff --git a/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php b/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php index e71721ecaa..f8b9dc35b8 100644 --- a/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php +++ b/modules/itop-change-mgmt-1.0.0/model.itop-change-mgmt.php @@ -372,7 +372,19 @@ class RoutineChange extends Change MetaModel::Init_InheritAttributes(); MetaModel::Init_InheritLifecycle(); - MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date', 'end_date','document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback')); + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + ) + + )); + + //MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date', 'end_date','document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback')); MetaModel::Init_SetZListItems('advanced_search', array('ref', 'title', 'org_id', 'start_date', 'end_date','status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage')); MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'start_date','end_date', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage')); MetaModel::Init_SetZListItems('list', array('title', 'org_id', 'start_date', 'status', 'requestor_id')); @@ -460,7 +472,20 @@ class NormalChange extends ApprovedChange MetaModel::Init_AddAttribute(new AttributeDateTime("acceptance_date", array("allowed_values"=>null, "sql"=>"acceptance_date", "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array()))); MetaModel::Init_AddAttribute(new AttributeString("acceptance_comment", array("allowed_values"=>null, "sql"=>"acceptance_comment", "default_value"=>"", "is_null_allowed"=>true, "depends_on"=>array()))); - MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date','end_date', 'document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update','close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback', 'approval_date', 'approval_comment', 'acceptance_date', 'acceptance_comment')); + + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + ) + + )); + +// MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date','end_date', 'document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update','close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback', 'approval_date', 'approval_comment', 'acceptance_date', 'acceptance_comment')); MetaModel::Init_SetZListItems('advanced_search', array('ref', 'title', 'org_id', 'start_date', 'end_date','status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage')); MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'start_date','end_date', 'status', 'reason', 'requestor_id', 'workgroup_id', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage')); MetaModel::Init_SetZListItems('list', array('title', 'org_id', 'start_date', 'status', 'requestor_id')); @@ -519,7 +544,19 @@ class EmergencyChange extends ApprovedChange MetaModel::Init_InheritAttributes(); MetaModel::Init_InheritLifecycle(); - MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date', 'end_date','document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback', 'approval_date', 'approval_comment')); + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + ) + + )); + +// MetaModel::Init_SetZListItems('details', array('title', 'org_id', 'description','ticket_log', 'start_date', 'end_date','document_list', 'ci_list', 'contact_list','incident_list', 'status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'fallback', 'approval_date', 'approval_comment')); MetaModel::Init_SetZListItems('advanced_search', array('ref', 'title', 'org_id', 'start_date','end_date', 'status', 'reason', 'requestor_id', 'workgroup_id', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'approval_date')); MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'start_date', 'end_date','status', 'reason', 'requestor_id', 'workgroup_id', 'creation_date', 'last_update', 'close_date', 'impact', 'agent_id', 'agent_email', 'supervisor_group_id', 'supervisor_id', 'manager_group_id', 'manager_id', 'outage', 'approval_date')); MetaModel::Init_SetZListItems('list', array('title', 'org_id', 'start_date', 'status', 'requestor_id')); diff --git a/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php b/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php index 3044386e1d..5f731fdd4d 100644 --- a/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php +++ b/modules/itop-config-mgmt-1.0.0/model.itop-config-mgmt.php @@ -165,7 +165,7 @@ class Person extends Contact MetaModel::Init_SetZListItems('details', array('name','first_name', 'org_id', 'status', 'location_id', 'email', 'phone', 'employee_id','team_list', 'contract_list', 'service_list', 'ticket_list', 'ci_list')); MetaModel::Init_SetZListItems('advanced_search', array('name', 'status', 'org_id', 'email', 'phone', 'location_id', 'first_name', 'employee_id')); MetaModel::Init_SetZListItems('standard_search', array('name', 'status', 'org_id', 'email', 'phone', 'location_id', 'first_name', 'employee_id')); - MetaModel::Init_SetZListItems('list', array('first_name','status', 'org_id', 'email', 'phone', 'location_id')); + MetaModel::Init_SetZListItems('list', array('name','first_name','status', 'org_id', 'email', 'phone', 'location_id')); } } class Team extends Contact @@ -817,7 +817,7 @@ class DatabaseInstance extends FunctionalCI ( "category" => "bizmodel,searchable,configmgmt", "key_type" => "autoincrement", - "name_attcode" => array('name', 'db_server_instance_name'), + "name_attcode" => array('name', 'db_server_instance_id_friendlyname'), "state_attcode" => "", "reconc_keys" => array("name","org_id","owner_name","db_server_instance_id","db_server_instance_name"), "db_table" => "databaseinstance", diff --git a/modules/itop-incident-mgmt-1.0.0/en.dict.itop-incident-mgmt.php b/modules/itop-incident-mgmt-1.0.0/en.dict.itop-incident-mgmt.php index 837fa72672..1a5dd904ae 100644 --- a/modules/itop-incident-mgmt-1.0.0/en.dict.itop-incident-mgmt.php +++ b/modules/itop-incident-mgmt-1.0.0/en.dict.itop-incident-mgmt.php @@ -43,6 +43,9 @@ Dict::Add('EN US', 'English', 'English', array( )); + + + // Dictionnay conventions // Class: // Class:+ diff --git a/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php b/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php index 9bacc09485..504cb35a8f 100644 --- a/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php +++ b/modules/itop-incident-mgmt-1.0.0/model.itop-incident-mgmt.php @@ -44,7 +44,22 @@ class Incident extends ResponseTicket MetaModel::Init_InheritAttributes(); MetaModel::Init_InheritLifecycle(); - MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'ticket_log', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'document_list', 'ci_list', 'contact_list','incident_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', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment')); + + + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + 'fieldset:Ticket:relation' => array('related_problem_id', 'related_change_id',), + ) + + )); + +// MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'document_list', 'ci_list', 'contact_list','incident_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', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment','ticket_log',)); MetaModel::Init_SetZListItems('advanced_search', array('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', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment')); MetaModel::Init_SetZListItems('standard_search', array('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('title', 'org_id', 'start_date', 'status', 'service_id', 'priority', 'workgroup_id', 'agent_id')); diff --git a/modules/itop-problem-mgmt-1.0.0/model.itop-problem-mgmt.php b/modules/itop-problem-mgmt-1.0.0/model.itop-problem-mgmt.php index 3c9f4c97dd..f4bd13c785 100644 --- a/modules/itop-problem-mgmt-1.0.0/model.itop-problem-mgmt.php +++ b/modules/itop-problem-mgmt-1.0.0/model.itop-problem-mgmt.php @@ -68,8 +68,21 @@ class Problem extends Ticket MetaModel::Init_AddAttribute(new AttributeDateTime("resolution_date", array("allowed_values"=>null, "sql"=>"resolution_date", "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array()))); MetaModel::Init_AddAttribute(new AttributeLinkedSet("knownerrors_list", array("linked_class"=>"KnownError", "ext_key_to_me"=>"problem_id", "allowed_values"=>null, "count_min"=>0, "count_max"=>0, "depends_on"=>array()))); + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + 'fieldset:Ticket:relation' => array('related_change_id',), + ) - MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'ticket_log', 'start_date','knownerrors_list', 'document_list', 'ci_list', 'contact_list','incident_list', 'status', 'service_id', 'servicesubcategory_id','product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_change_id', 'close_date', 'last_update', 'assignment_date')); + )); + + +// MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'ticket_log', 'start_date','knownerrors_list', 'document_list', 'ci_list', 'contact_list','incident_list', 'status', 'service_id', 'servicesubcategory_id','product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_change_id', 'close_date', 'last_update', 'assignment_date')); MetaModel::Init_SetZListItems('advanced_search', array('ref', 'title', 'org_id', 'start_date', 'status', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'related_change_id', 'close_date')); MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'start_date', 'status', 'service_id', 'servicesubcategory_id', 'product', 'impact', 'urgency', 'priority', 'workgroup_id', 'agent_id', 'agent_email', 'close_date')); MetaModel::Init_SetZListItems('list', array('title', 'org_id', 'start_date', 'status', 'service_id', 'priority')); @@ -111,6 +124,7 @@ class Problem extends Ticket 'title' => OPT_ATT_READONLY, 'org_id' => OPT_ATT_READONLY, 'ticket_log' => OPT_ATT_NORMAL, + 'assignment_date' => OPT_ATT_READONLY, 'description' => OPT_ATT_READONLY, 'agent_id' => OPT_ATT_MUSTPROMPT | OPT_ATT_MANDATORY, 'agent_email' => OPT_ATT_READONLY, diff --git a/modules/itop-request-mgmt-1.0.0/model.itop-request-mgmt.php b/modules/itop-request-mgmt-1.0.0/model.itop-request-mgmt.php index 05ba07f68d..150d8af389 100644 --- a/modules/itop-request-mgmt-1.0.0/model.itop-request-mgmt.php +++ b/modules/itop-request-mgmt-1.0.0/model.itop-request-mgmt.php @@ -47,7 +47,21 @@ class UserRequest extends ResponseTicket MetaModel::Init_AddAttribute(new AttributeEnum("request_type", array("allowed_values"=>new ValueSetEnum('service request,issue,information'), "sql"=>"request_type", "default_value"=>"service request", "is_null_allowed"=>false, "depends_on"=>array()))); MetaModel::Init_AddAttribute(new AttributeString("freeze_reason", array("allowed_values"=>null, "sql"=>"freeze_reason", "default_value"=>null, "is_null_allowed"=>true, "depends_on"=>array()))); - MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'request_type','ticket_log', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'document_list', 'ci_list', 'contact_list','incident_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', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment', 'freeze_reason')); + + MetaModel::Init_SetZListItems('details', array('document_list', 'ci_list', 'contact_list','incident_list', + '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',), + ) + + )); + +// MetaModel::Init_SetZListItems('details', array('ref', 'title', 'org_id', 'description', 'request_type','ticket_log', 'start_date', 'tto_escalation_deadline', 'ttr_escalation_deadline', 'document_list', 'ci_list', 'contact_list','incident_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', 'closure_deadline', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment', 'freeze_reason')); MetaModel::Init_SetZListItems('advanced_search', array('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', 'resolution_code', 'solution', 'user_satisfaction', 'user_commment')); MetaModel::Init_SetZListItems('standard_search', array('ref', 'title', 'org_id', 'request_type','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('title', 'org_id', 'start_date', 'status', 'service_id', 'priority', 'workgroup_id', 'agent_id')); diff --git a/modules/itop-tickets-1.0.0/en.dict.itop-tickets.php b/modules/itop-tickets-1.0.0/en.dict.itop-tickets.php index fbb75e8881..af511aada0 100644 --- a/modules/itop-tickets-1.0.0/en.dict.itop-tickets.php +++ b/modules/itop-tickets-1.0.0/en.dict.itop-tickets.php @@ -38,36 +38,46 @@ // Class: Ticket // -// -// Class: Ticket -// - -Dict::Add('EN US', 'English', 'English', array( - 'Class:Ticket' => 'Ticket', - 'Class:Ticket+' => '', - 'Class:Ticket/Attribute:ref' => 'Ref', - 'Class:Ticket/Attribute:ref+' => '', - 'Class:Ticket/Attribute:title' => 'Title', - 'Class:Ticket/Attribute:title+' => '', - 'Class:Ticket/Attribute:description' => 'Description', - 'Class:Ticket/Attribute:description+' => '', - 'Class:Ticket/Attribute:ticket_log' => 'Log', - 'Class:Ticket/Attribute:ticket_log+' => '', - 'Class:Ticket/Attribute:start_date' => 'Started', - 'Class:Ticket/Attribute:start_date+' => '', - 'Class:Ticket/Attribute:document_list' => 'Documents', - 'Class:Ticket/Attribute:document_list+' => 'Documents related to the ticket', - 'Class:Ticket/Attribute:ci_list' => 'CIs', - 'Class:Ticket/Attribute:ci_list+' => 'CIs concerned by the incident', - 'Class:Ticket/Attribute:contact_list' => 'Contacts', - 'Class:Ticket/Attribute:contact_list+' => 'Team and persons involved', - 'Class:Ticket/Attribute:incident_list' => 'Related Incidents', - 'Class:Ticket/Attribute:incident_list+' => '', - 'Class:Ticket/Attribute:finalclass' => 'Type', - 'Class:Ticket/Attribute:finalclass+' => '', -)); - +// +// Class: Ticket +// +Dict::Add('EN US', 'English', 'English', array( + 'Class:Ticket' => 'Ticket', + 'Class:Ticket+' => '', + 'Class:Ticket/Attribute:ref' => 'Ref', + 'Class:Ticket/Attribute:ref+' => '', + 'Class:Ticket/Attribute:title' => 'Title', + 'Class:Ticket/Attribute:title+' => '', + 'Class:Ticket/Attribute:description' => 'Description', + 'Class:Ticket/Attribute:description+' => '', + 'Class:Ticket/Attribute:ticket_log' => 'Log', + 'Class:Ticket/Attribute:ticket_log+' => '', + 'Class:Ticket/Attribute:start_date' => 'Started', + 'Class:Ticket/Attribute:start_date+' => '', + 'Class:Ticket/Attribute:document_list' => 'Documents', + 'Class:Ticket/Attribute:document_list+' => 'Documents related to the ticket', + 'Class:Ticket/Attribute:ci_list' => 'CIs', + 'Class:Ticket/Attribute:ci_list+' => 'CIs concerned by the incident', + 'Class:Ticket/Attribute:contact_list' => 'Contacts', + 'Class:Ticket/Attribute:contact_list+' => 'Team and persons involved', + 'Class:Ticket/Attribute:incident_list' => 'Related Incidents', + 'Class:Ticket/Attribute:incident_list+' => '', + 'Class:Ticket/Attribute:finalclass' => 'Type', + 'Class:Ticket/Attribute:finalclass+' => '', +)); + +// Fieldset translation +Dict::Add('EN US', 'English', 'English', array( + + 'Ticket:baseinfo' => 'General Information', + 'Ticket:date' => 'Dates', + 'Ticket:contact' => 'Contacts', + 'Ticket:moreinfo' => 'More Information', + 'Ticket:relation' => 'Relations', + 'Ticket:log' => 'Communications', + +)); // // Class: lnkTicketToDoc // @@ -110,158 +120,158 @@ Dict::Add('EN US', 'English', 'English', array( // Class: lnkTicketToCI // -Dict::Add('EN US', 'English', 'English', array( - 'Class:lnkTicketToCI' => 'Ticket/CI', - 'Class:lnkTicketToCI+' => '', - 'Class:lnkTicketToCI/Attribute:ticket_id' => 'Ticket', - 'Class:lnkTicketToCI/Attribute:ticket_id+' => '', - 'Class:lnkTicketToCI/Attribute:ticket_ref' => 'Ticket #', - 'Class:lnkTicketToCI/Attribute:ticket_ref+' => '', - 'Class:lnkTicketToCI/Attribute:ci_id' => 'CI', - 'Class:lnkTicketToCI/Attribute:ci_id+' => '', - 'Class:lnkTicketToCI/Attribute:ci_name' => 'CI', - 'Class:lnkTicketToCI/Attribute:ci_name+' => '', - 'Class:lnkTicketToCI/Attribute:ci_status' => 'CI status', - 'Class:lnkTicketToCI/Attribute:ci_status+' => '', - 'Class:lnkTicketToCI/Attribute:impact' => 'Impact', - 'Class:lnkTicketToCI/Attribute:impact+' => '', -)); - +Dict::Add('EN US', 'English', 'English', array( + 'Class:lnkTicketToCI' => 'Ticket/CI', + 'Class:lnkTicketToCI+' => '', + 'Class:lnkTicketToCI/Attribute:ticket_id' => 'Ticket', + 'Class:lnkTicketToCI/Attribute:ticket_id+' => '', + 'Class:lnkTicketToCI/Attribute:ticket_ref' => 'Ticket #', + 'Class:lnkTicketToCI/Attribute:ticket_ref+' => '', + 'Class:lnkTicketToCI/Attribute:ci_id' => 'CI', + 'Class:lnkTicketToCI/Attribute:ci_id+' => '', + 'Class:lnkTicketToCI/Attribute:ci_name' => 'CI', + 'Class:lnkTicketToCI/Attribute:ci_name+' => '', + 'Class:lnkTicketToCI/Attribute:ci_status' => 'CI status', + 'Class:lnkTicketToCI/Attribute:ci_status+' => '', + 'Class:lnkTicketToCI/Attribute:impact' => 'Impact', + 'Class:lnkTicketToCI/Attribute:impact+' => '', +)); + // // Class: ResponseTicket // -Dict::Add('EN US', 'English', 'English', array( - 'Class:ResponseTicket' => 'ResponseTicket', - 'Class:ResponseTicket+' => '', - 'Class:ResponseTicket/Attribute:status' => 'Status', - 'Class:ResponseTicket/Attribute:status+' => '', - 'Class:ResponseTicket/Attribute:status/Value:new' => 'New', - 'Class:ResponseTicket/Attribute:status/Value:new+' => 'newly opened', - 'Class:ResponseTicket/Attribute:status/Value:escalated_tto' => 'Escalation/TTO', - 'Class:ResponseTicket/Attribute:status/Value:escalated_tto+' => '', - 'Class:ResponseTicket/Attribute:status/Value:assigned' => 'Assigned', - 'Class:ResponseTicket/Attribute:status/Value:assigned+' => '', - 'Class:ResponseTicket/Attribute:status/Value:escalated_ttr' => 'Escalation/TTR', - 'Class:ResponseTicket/Attribute:status/Value:escalated_ttr+' => '', - 'Class:ResponseTicket/Attribute:status/Value:frozen' => 'Pending', - 'Class:ResponseTicket/Attribute:status/Value:frozen+' => '', - 'Class:ResponseTicket/Attribute:status/Value:resolved' => 'Resolved', - 'Class:ResponseTicket/Attribute:status/Value:resolved+' => '', - 'Class:ResponseTicket/Attribute:status/Value:closed' => 'Closed', - 'Class:ResponseTicket/Attribute:status/Value:closed+' => '', - 'Class:ResponseTicket/Attribute:caller_id' => 'Caller', - 'Class:ResponseTicket/Attribute:caller_id+' => '', - 'Class:ResponseTicket/Attribute:caller_email' => 'Email', - 'Class:ResponseTicket/Attribute:caller_email+' => '', - 'Class:ResponseTicket/Attribute:org_id' => 'Customer', - 'Class:ResponseTicket/Attribute:org_id+' => '', - 'Class:ResponseTicket/Attribute:org_name' => 'Customer', - 'Class:ResponseTicket/Attribute:org_name+' => '', - 'Class:ResponseTicket/Attribute:service_id' => 'Service', - 'Class:ResponseTicket/Attribute:service_id+' => '', - 'Class:ResponseTicket/Attribute:service_name' => 'Name', - 'Class:ResponseTicket/Attribute:service_name+' => '', - 'Class:ResponseTicket/Attribute:servicesubcategory_id' => 'Service element', - 'Class:ResponseTicket/Attribute:servicesubcategory_id+' => '', - 'Class:ResponseTicket/Attribute:servicesubcategory_name' => 'Name', - 'Class:ResponseTicket/Attribute:servicesubcategory_name+' => '', - 'Class:ResponseTicket/Attribute:product' => 'Product', - 'Class:ResponseTicket/Attribute:product+' => '', - 'Class:ResponseTicket/Attribute:impact' => 'Impact', - 'Class:ResponseTicket/Attribute:impact+' => '', - 'Class:ResponseTicket/Attribute:impact/Value:1' => 'A department', - 'Class:ResponseTicket/Attribute:impact/Value:1+' => '', - 'Class:ResponseTicket/Attribute:impact/Value:2' => 'A service', - 'Class:ResponseTicket/Attribute:impact/Value:2+' => '', - 'Class:ResponseTicket/Attribute:impact/Value:3' => 'A person', - 'Class:ResponseTicket/Attribute:impact/Value:3+' => '', - 'Class:ResponseTicket/Attribute:urgency' => 'Urgency', - 'Class:ResponseTicket/Attribute:urgency+' => '', - 'Class:ResponseTicket/Attribute:urgency/Value:1' => 'High', - 'Class:ResponseTicket/Attribute:urgency/Value:1+' => '', - 'Class:ResponseTicket/Attribute:urgency/Value:2' => 'Medium', - 'Class:ResponseTicket/Attribute:urgency/Value:2+' => '', - 'Class:ResponseTicket/Attribute:urgency/Value:3' => 'Low', - 'Class:ResponseTicket/Attribute:urgency/Value:3+' => '', - 'Class:ResponseTicket/Attribute:priority' => 'Priority', - 'Class:ResponseTicket/Attribute:priority+' => '', - 'Class:ResponseTicket/Attribute:priority/Value:1' => 'High', - 'Class:ResponseTicket/Attribute:priority/Value:1+' => '', - 'Class:ResponseTicket/Attribute:priority/Value:2' => 'Medium', - 'Class:ResponseTicket/Attribute:priority/Value:2+' => '', - 'Class:ResponseTicket/Attribute:priority/Value:3' => 'Low', - 'Class:ResponseTicket/Attribute:priority/Value:3+' => '', - 'Class:ResponseTicket/Attribute:workgroup_id' => 'Workgroup', - 'Class:ResponseTicket/Attribute:workgroup_id+' => '', - 'Class:ResponseTicket/Attribute:workgroup_name' => 'Workgroup', - 'Class:ResponseTicket/Attribute:workgroup_name+' => '', - 'Class:ResponseTicket/Attribute:agent_id' => 'Agent', - 'Class:ResponseTicket/Attribute:agent_id+' => '', - 'Class:ResponseTicket/Attribute:agent_name' => 'Agent', - 'Class:ResponseTicket/Attribute:agent_name+' => '', - 'Class:ResponseTicket/Attribute:agent_email' => 'Agent email', - 'Class:ResponseTicket/Attribute:agent_email+' => '', - 'Class:ResponseTicket/Attribute:related_problem_id' => 'Related Problem', - 'Class:ResponseTicket/Attribute:related_problem_id+' => '', - 'Class:ResponseTicket/Attribute:related_problem_ref' => 'Ref', - 'Class:ResponseTicket/Attribute:related_problem_ref+' => '', - 'Class:ResponseTicket/Attribute:related_change_id' => 'Related change', - 'Class:ResponseTicket/Attribute:related_change_id+' => '', - 'Class:ResponseTicket/Attribute:related_change_ref' => 'Related change', - 'Class:ResponseTicket/Attribute:related_change_ref+' => '', - 'Class:ResponseTicket/Attribute:close_date' => 'Closed', - 'Class:ResponseTicket/Attribute:close_date+' => '', - 'Class:ResponseTicket/Attribute:last_update' => 'Last update', - 'Class:ResponseTicket/Attribute:last_update+' => '', - 'Class:ResponseTicket/Attribute:assignment_date' => 'Assignment Date ', - 'Class:ResponseTicket/Attribute:assignment_date+' => '', - 'Class:ResponseTicket/Attribute:resolution_date' => 'Resolution Date', - 'Class:ResponseTicket/Attribute:resolution_date+' => '', - 'Class:ResponseTicket/Attribute:tto_escalation_deadline' => 'TTO Escalation deadline', - 'Class:ResponseTicket/Attribute:tto_escalation_deadline+' => '', - 'Class:ResponseTicket/Attribute:ttr_escalation_deadline' => 'TTR Escalation deadline', - 'Class:ResponseTicket/Attribute:ttr_escalation_deadline+' => '', - 'Class:ResponseTicket/Attribute:closure_deadline' => 'Closure deadline', - 'Class:ResponseTicket/Attribute:closure_deadline+' => '', - 'Class:ResponseTicket/Attribute:resolution_code' => 'Resolution code', - 'Class:ResponseTicket/Attribute:resolution_code+' => '', - 'Class:ResponseTicket/Attribute:resolution_code/Value:couldnotreproduce' => 'Could not be reproduced', - 'Class:ResponseTicket/Attribute:resolution_code/Value:couldnotreproduce+' => '', - 'Class:ResponseTicket/Attribute:resolution_code/Value:duplicate' => 'Duplicate ticket', - 'Class:ResponseTicket/Attribute:resolution_code/Value:duplicate+' => '', - 'Class:ResponseTicket/Attribute:resolution_code/Value:fixed' => 'Fixed', - 'Class:ResponseTicket/Attribute:resolution_code/Value:fixed+' => '', - 'Class:ResponseTicket/Attribute:resolution_code/Value:irrelevant' => 'Irrelevant', - 'Class:ResponseTicket/Attribute:resolution_code/Value:irrelevant+' => '', - 'Class:ResponseTicket/Attribute:solution' => 'Solution', - 'Class:ResponseTicket/Attribute:solution+' => '', - 'Class:ResponseTicket/Attribute:user_satisfaction' => 'User satisfaction', - 'Class:ResponseTicket/Attribute:user_satisfaction+' => '', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:1' => 'Very satisfied', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:1+' => 'Very satisfied', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:2' => 'Fairly statisfied', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:2+' => 'Fairly statisfied', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:3' => 'Rather Dissatified', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:3+' => 'Rather Dissatified', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:4' => 'Very Dissatisfied', - 'Class:ResponseTicket/Attribute:user_satisfaction/Value:4+' => 'Very Dissatisfied', - 'Class:ResponseTicket/Attribute:user_commment' => 'User comment', - 'Class:ResponseTicket/Attribute:user_commment+' => '', - 'Class:ResponseTicket/Stimulus:ev_assign' => 'Assign', - 'Class:ResponseTicket/Stimulus:ev_assign+' => '', - 'Class:ResponseTicket/Stimulus:ev_reassign' => 'Reassign', - 'Class:ResponseTicket/Stimulus:ev_reassign+' => '', - 'Class:ResponseTicket/Stimulus:ev_timeout' => 'Escalation', - 'Class:ResponseTicket/Stimulus:ev_timeout+' => '', - 'Class:ResponseTicket/Stimulus:ev_resolve' => 'Mark as resolved', - 'Class:ResponseTicket/Stimulus:ev_resolve+' => '', - 'Class:ResponseTicket/Stimulus:ev_close' => 'Close', - 'Class:ResponseTicket/Stimulus:ev_close+' => '', -)); - - +Dict::Add('EN US', 'English', 'English', array( + 'Class:ResponseTicket' => 'ResponseTicket', + 'Class:ResponseTicket+' => '', + 'Class:ResponseTicket/Attribute:status' => 'Status', + 'Class:ResponseTicket/Attribute:status+' => '', + 'Class:ResponseTicket/Attribute:status/Value:new' => 'New', + 'Class:ResponseTicket/Attribute:status/Value:new+' => 'newly opened', + 'Class:ResponseTicket/Attribute:status/Value:escalated_tto' => 'Escalation/TTO', + 'Class:ResponseTicket/Attribute:status/Value:escalated_tto+' => '', + 'Class:ResponseTicket/Attribute:status/Value:assigned' => 'Assigned', + 'Class:ResponseTicket/Attribute:status/Value:assigned+' => '', + 'Class:ResponseTicket/Attribute:status/Value:escalated_ttr' => 'Escalation/TTR', + 'Class:ResponseTicket/Attribute:status/Value:escalated_ttr+' => '', + 'Class:ResponseTicket/Attribute:status/Value:frozen' => 'Pending', + 'Class:ResponseTicket/Attribute:status/Value:frozen+' => '', + 'Class:ResponseTicket/Attribute:status/Value:resolved' => 'Resolved', + 'Class:ResponseTicket/Attribute:status/Value:resolved+' => '', + 'Class:ResponseTicket/Attribute:status/Value:closed' => 'Closed', + 'Class:ResponseTicket/Attribute:status/Value:closed+' => '', + 'Class:ResponseTicket/Attribute:caller_id' => 'Caller', + 'Class:ResponseTicket/Attribute:caller_id+' => '', + 'Class:ResponseTicket/Attribute:caller_email' => 'Email', + 'Class:ResponseTicket/Attribute:caller_email+' => '', + 'Class:ResponseTicket/Attribute:org_id' => 'Customer', + 'Class:ResponseTicket/Attribute:org_id+' => '', + 'Class:ResponseTicket/Attribute:org_name' => 'Customer', + 'Class:ResponseTicket/Attribute:org_name+' => '', + 'Class:ResponseTicket/Attribute:service_id' => 'Service', + 'Class:ResponseTicket/Attribute:service_id+' => '', + 'Class:ResponseTicket/Attribute:service_name' => 'Name', + 'Class:ResponseTicket/Attribute:service_name+' => '', + 'Class:ResponseTicket/Attribute:servicesubcategory_id' => 'Service element', + 'Class:ResponseTicket/Attribute:servicesubcategory_id+' => '', + 'Class:ResponseTicket/Attribute:servicesubcategory_name' => 'Name', + 'Class:ResponseTicket/Attribute:servicesubcategory_name+' => '', + 'Class:ResponseTicket/Attribute:product' => 'Product', + 'Class:ResponseTicket/Attribute:product+' => '', + 'Class:ResponseTicket/Attribute:impact' => 'Impact', + 'Class:ResponseTicket/Attribute:impact+' => '', + 'Class:ResponseTicket/Attribute:impact/Value:1' => 'A department', + 'Class:ResponseTicket/Attribute:impact/Value:1+' => '', + 'Class:ResponseTicket/Attribute:impact/Value:2' => 'A service', + 'Class:ResponseTicket/Attribute:impact/Value:2+' => '', + 'Class:ResponseTicket/Attribute:impact/Value:3' => 'A person', + 'Class:ResponseTicket/Attribute:impact/Value:3+' => '', + 'Class:ResponseTicket/Attribute:urgency' => 'Urgency', + 'Class:ResponseTicket/Attribute:urgency+' => '', + 'Class:ResponseTicket/Attribute:urgency/Value:1' => 'High', + 'Class:ResponseTicket/Attribute:urgency/Value:1+' => '', + 'Class:ResponseTicket/Attribute:urgency/Value:2' => 'Medium', + 'Class:ResponseTicket/Attribute:urgency/Value:2+' => '', + 'Class:ResponseTicket/Attribute:urgency/Value:3' => 'Low', + 'Class:ResponseTicket/Attribute:urgency/Value:3+' => '', + 'Class:ResponseTicket/Attribute:priority' => 'Priority', + 'Class:ResponseTicket/Attribute:priority+' => '', + 'Class:ResponseTicket/Attribute:priority/Value:1' => 'High', + 'Class:ResponseTicket/Attribute:priority/Value:1+' => '', + 'Class:ResponseTicket/Attribute:priority/Value:2' => 'Medium', + 'Class:ResponseTicket/Attribute:priority/Value:2+' => '', + 'Class:ResponseTicket/Attribute:priority/Value:3' => 'Low', + 'Class:ResponseTicket/Attribute:priority/Value:3+' => '', + 'Class:ResponseTicket/Attribute:workgroup_id' => 'Workgroup', + 'Class:ResponseTicket/Attribute:workgroup_id+' => '', + 'Class:ResponseTicket/Attribute:workgroup_name' => 'Workgroup', + 'Class:ResponseTicket/Attribute:workgroup_name+' => '', + 'Class:ResponseTicket/Attribute:agent_id' => 'Agent', + 'Class:ResponseTicket/Attribute:agent_id+' => '', + 'Class:ResponseTicket/Attribute:agent_name' => 'Agent', + 'Class:ResponseTicket/Attribute:agent_name+' => '', + 'Class:ResponseTicket/Attribute:agent_email' => 'Agent email', + 'Class:ResponseTicket/Attribute:agent_email+' => '', + 'Class:ResponseTicket/Attribute:related_problem_id' => 'Related Problem', + 'Class:ResponseTicket/Attribute:related_problem_id+' => '', + 'Class:ResponseTicket/Attribute:related_problem_ref' => 'Ref', + 'Class:ResponseTicket/Attribute:related_problem_ref+' => '', + 'Class:ResponseTicket/Attribute:related_change_id' => 'Related change', + 'Class:ResponseTicket/Attribute:related_change_id+' => '', + 'Class:ResponseTicket/Attribute:related_change_ref' => 'Related change', + 'Class:ResponseTicket/Attribute:related_change_ref+' => '', + 'Class:ResponseTicket/Attribute:close_date' => 'Closed', + 'Class:ResponseTicket/Attribute:close_date+' => '', + 'Class:ResponseTicket/Attribute:last_update' => 'Last update', + 'Class:ResponseTicket/Attribute:last_update+' => '', + 'Class:ResponseTicket/Attribute:assignment_date' => 'Assignment Date ', + 'Class:ResponseTicket/Attribute:assignment_date+' => '', + 'Class:ResponseTicket/Attribute:resolution_date' => 'Resolution Date', + 'Class:ResponseTicket/Attribute:resolution_date+' => '', + 'Class:ResponseTicket/Attribute:tto_escalation_deadline' => 'TTO Escalation deadline', + 'Class:ResponseTicket/Attribute:tto_escalation_deadline+' => '', + 'Class:ResponseTicket/Attribute:ttr_escalation_deadline' => 'TTR Escalation deadline', + 'Class:ResponseTicket/Attribute:ttr_escalation_deadline+' => '', + 'Class:ResponseTicket/Attribute:closure_deadline' => 'Closure deadline', + 'Class:ResponseTicket/Attribute:closure_deadline+' => '', + 'Class:ResponseTicket/Attribute:resolution_code' => 'Resolution code', + 'Class:ResponseTicket/Attribute:resolution_code+' => '', + 'Class:ResponseTicket/Attribute:resolution_code/Value:couldnotreproduce' => 'Could not be reproduced', + 'Class:ResponseTicket/Attribute:resolution_code/Value:couldnotreproduce+' => '', + 'Class:ResponseTicket/Attribute:resolution_code/Value:duplicate' => 'Duplicate ticket', + 'Class:ResponseTicket/Attribute:resolution_code/Value:duplicate+' => '', + 'Class:ResponseTicket/Attribute:resolution_code/Value:fixed' => 'Fixed', + 'Class:ResponseTicket/Attribute:resolution_code/Value:fixed+' => '', + 'Class:ResponseTicket/Attribute:resolution_code/Value:irrelevant' => 'Irrelevant', + 'Class:ResponseTicket/Attribute:resolution_code/Value:irrelevant+' => '', + 'Class:ResponseTicket/Attribute:solution' => 'Solution', + 'Class:ResponseTicket/Attribute:solution+' => '', + 'Class:ResponseTicket/Attribute:user_satisfaction' => 'User satisfaction', + 'Class:ResponseTicket/Attribute:user_satisfaction+' => '', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:1' => 'Very satisfied', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:1+' => 'Very satisfied', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:2' => 'Fairly statisfied', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:2+' => 'Fairly statisfied', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:3' => 'Rather Dissatified', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:3+' => 'Rather Dissatified', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:4' => 'Very Dissatisfied', + 'Class:ResponseTicket/Attribute:user_satisfaction/Value:4+' => 'Very Dissatisfied', + 'Class:ResponseTicket/Attribute:user_commment' => 'User comment', + 'Class:ResponseTicket/Attribute:user_commment+' => '', + 'Class:ResponseTicket/Stimulus:ev_assign' => 'Assign', + 'Class:ResponseTicket/Stimulus:ev_assign+' => '', + 'Class:ResponseTicket/Stimulus:ev_reassign' => 'Reassign', + 'Class:ResponseTicket/Stimulus:ev_reassign+' => '', + 'Class:ResponseTicket/Stimulus:ev_timeout' => 'Escalation', + 'Class:ResponseTicket/Stimulus:ev_timeout+' => '', + 'Class:ResponseTicket/Stimulus:ev_resolve' => 'Mark as resolved', + 'Class:ResponseTicket/Stimulus:ev_resolve+' => '', + 'Class:ResponseTicket/Stimulus:ev_close' => 'Close', + 'Class:ResponseTicket/Stimulus:ev_close+' => '', +)); + + ?> diff --git a/modules/itop-tickets-1.0.0/model.itop-tickets.php b/modules/itop-tickets-1.0.0/model.itop-tickets.php index 7660569c92..7e977945b3 100644 --- a/modules/itop-tickets-1.0.0/model.itop-tickets.php +++ b/modules/itop-tickets-1.0.0/model.itop-tickets.php @@ -53,9 +53,9 @@ 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', 'ticket_log', 'start_date', 'document_list', 'ci_list', 'contact_list','incident_list')); - MetaModel::Init_SetZListItems('advanced_search', array('finalclass', 'ref', 'title', 'ticket_log', 'start_date')); - MetaModel::Init_SetZListItems('standard_search', array('finalclass', 'ref', 'title', 'ticket_log', 'start_date')); + MetaModel::Init_SetZListItems('details', array('ref', 'title', 'description', 'start_date','ticket_log', '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')); } } @@ -581,6 +581,7 @@ abstract class ResponseTicket extends Ticket // $oFirstContact = MetaModel::GetObject('bizPerson', 6); // $oNewLink = new lnkContactTicket(); // $oNewLink->Set('contact_id', 6); + // $oNewLink->Set('role', 'created before'); // $oToNotify->AddObject($oNewLink);