help desk notification ticketCommented

This commit is contained in:
merdan 2020-05-06 21:56:39 +05:00
parent 70acc87a46
commit df21ce9529
2 changed files with 9 additions and 0 deletions

View File

@ -762,6 +762,8 @@ Route::group(
// return 'TODO: add terms and cond';
// }
// ]);
Route::get('helpTicket/{id}/replay', 'HelpTicketCrudController@replay')->name('ticket.replay');
Route::post('helpTicket/{id}/replay', 'HelpTicketCrudController@replayPost')->name('ticket.replay.post');
/** CATCH-ALL ROUTE for Backpack/PageManager - needs to be at the end of your routes.php file **/
Route::get('{page}/{subs?}', ['uses' => '\App\Http\Controllers\PageController@index','as'=>'about'])
->where(['page' => '^(((?=(?!admin))(?=(?!\/)).))*$', 'subs' => '.*']);

View File

@ -19,6 +19,13 @@ class TicketReceived extends Notification implements ShouldQueue
* @return void
*/
/**
* The maximum number of exceptions to allow before failing.
*
* @var int
*/
public $maxExceptions = 3;
protected $ticket;
public function __construct(HelpTicket $ticket)