diff --git a/include/class.topic.php b/include/class.topic.php index 140e44e6bb1c847fc9dec26e20cfc1f1e0cc0d58..881d33afaa980e510e3aacd8cddd9bcfa3adecc9 100644 --- a/include/class.topic.php +++ b/include/class.topic.php @@ -228,6 +228,10 @@ class Topic { $errors['priority_id']='You must select a priority'; if($errors) return false; + + foreach (array('sla_id','form_id','page_id','pid') as $f) + if (!isset($vars[$f])) + $vars[$f] = 0; $sql=' updated=NOW() ' .',topic='.db_input($vars['topic']) diff --git a/include/i18n/en_US/department.yaml b/include/i18n/en_US/department.yaml index 7bedf7190f6fbf3854a07c95930558d6cb0f5b5e..05ffc9d9ca54c86a5865bd2d317f561c0ced81a0 100644 --- a/include/i18n/en_US/department.yaml +++ b/include/i18n/en_US/department.yaml @@ -8,25 +8,25 @@ # # NOTE: The department listed first by ID# will be the default department # +# NOTE: ------------------------------------ +# The very first group listed in this document will be the primary +# department of the initial staff member -- the administrator. --- - id: 1 name: Support signature: | - Support Dept + Support Department ispublic: 1 - sla_id: 0 - tpl_id: 0 - # The email_id and autoresonse_emaiL_id are reuired, but will be set to - # the default email later in the install process - email_id: 0 - autoresp_email_id: 0 - id: 2 - name: Billing + name: Sales signature: | - Billing Dept + Sales and Customer Retention ispublic: 1 sla_id: 1 - tpl_id: 0 - email_id: 0 - autoresp_email_id: 0 + +- id: 3 + name: Maintenance + signature: | + Maintenance Department + ispublic: 0 diff --git a/include/i18n/en_US/group.yaml b/include/i18n/en_US/group.yaml index 6a358db739261c8dada8f63f4389e7cb3ca08b31..160a9c6445c7e052b26d753bc87463b7cc154ebe 100644 --- a/include/i18n/en_US/group.yaml +++ b/include/i18n/en_US/group.yaml @@ -28,11 +28,15 @@ # depts: (list<Department<id>>) id's of the departments to which the group # should initially have access # +# NOTE: ------------------------------------ +# The very first group listed in this document will be the primary group of +# the initial staff member -- the administrator. --- - isactive: 1 - name: Admins + name: Overseers notes: | - System overlords + System overlords. These folks (initially) have full control to all the + departments they have access to. can_create_tickets: 1 can_edit_tickets: 1 can_delete_tickets: 1 diff --git a/include/i18n/en_US/help_topic.yaml b/include/i18n/en_US/help_topic.yaml index fe5294319fa36118dd756a53b7bb5d6bc2ded8a8..e002905d355e153b16338bd6a20c7afb96505cfd 100644 --- a/include/i18n/en_US/help_topic.yaml +++ b/include/i18n/en_US/help_topic.yaml @@ -21,19 +21,34 @@ - isactive: 1 ispublic: 1 dept_id: 1 - sla_id: 1 priority_id: 2 - form_id: 0 - topic: Support + topic: General Inquiry notes: | - Tickets that primarily concern the support deparment + Questions about products or services - isactive: 1 ispublic: 1 dept_id: 1 - sla_id: 0 + priority_id: 1 + topic: Feedback + notes: | + Tickets that primarily concern the sales and billing departments + +- id: 10 + isactive: 1 + ispublic: 1 + dept_id: 1 priority_id: 2 - form_id: 0 - topic: Billing + topic: Report a Problem + notes: | + Product, service, or equipment related issues + +- pid: 10 + isactive: 1 + ispublic: 1 + dept_id: 1 + sla_id: 1 + priority_id: 3 + topic: Access Issue notes: | - Tickets that primarily concern the sales and billing deparments + Report an inability access a physical or virtual asset