@@ -126,6 +126,45 @@ public function getDefaults()
126126 'email.color_footer_bg ' => '#414141 ' ,
127127 'email.color_button_bg ' => '#AC4D2F ' ,
128128
129+
130+ /**
131+ * Configurable notifications.
132+ */
133+
134+ /*
135+ * Agent notify: To notify assigned agent (either auto or manual assignment) of new assigned or transferred tickets
136+ * Default: 'yes'
137+ * not to notify agent: 'no'
138+ */
139+ 'assigned_notification ' => 'yes ' ,
140+
141+ /*
142+ * Comment notification: Send notification when new comment is posted
143+ * Default is send notification: 'yes'
144+ * Do not send notification: 'no'
145+ */
146+ 'comment_notification ' => 'yes ' ,
147+
148+ /*
149+ * Status notification: Send email notification to ticket owner/Agent when ticket status is changed
150+ * Default: 'yes'
151+ */
152+ 'status_notification ' => 'yes ' ,
153+
154+ /*
155+ * Notify owner when ticket list changes (between active and complete only)
156+ * Default: 'yes'
157+ */
158+ 'list_owner_notification ' => 'yes ' ,
159+
160+ /*
161+ * Notify owner when ticket status changes
162+ * Default: 'yes'
163+ */
164+ 'status_owner_notification ' => 'yes ' ,
165+
166+
167+
129168 /*
130169 * The default status for new created tickets
131170 * Default: 1
@@ -185,38 +224,23 @@ public function getDefaults()
185224 */
186225 'attachments_path ' => 'panichd_attachments ' ,
187226 'thumbnails_path ' => 'panichd_thumbnails ' ,
188-
227+
189228
190229 /*
191230 * Pagination length: For tickets table.
192231 * Default: 1
193232 */
194233 'length_menu ' => [[10 , 50 , 100 ], [10 , 50 , 100 ]],
195- /*
196- * Status notification: send email notification to ticket owner/Agent when ticket status is changed
197- * Default is send notification: 'yes'
198- * Do not send notification: 'no'
199- */
200- 'status_notification ' => 'yes ' ,
201- /*
202- * Comment notification: Send notification when new comment is posted
203- * Default is send notification: 'yes'
204- * Do not send notification: 'no'
205- */
206- 'comment_notification ' => 'yes ' ,
234+
235+
207236 /*
208237 * Use Queue method when sending emails (Mail::queue instead of Mail::send). Note that Mail::queue needs to be
209238 * configured first http://laravel.com/docs/5.1/queues
210239 * Default is to not use queue: 'no'
211240 * use queue: 'yes'
212241 */
213242 'queue_emails ' => 'no ' ,
214- /*
215- * Agent notify: To notify assigned agent (either auto or manual assignment) of new assigned or transferred tickets
216- * Default: 'yes'
217- * not to notify agent: 'no'
218- */
219- 'assigned_notification ' => 'yes ' ,
243+
220244 /*
221245 * Agent restrict: Restrict agents access to only their assigned tickets
222246 * Default: 'no'
0 commit comments