Skip to content

Commit

Permalink
bug-fix-patch
Browse files Browse the repository at this point in the history
# Removed follow up option from cron settings.
# Corrected breadcrumb syntax
  • Loading branch information
Manish Verma committed Dec 15, 2016
1 parent 7a9700c commit a579bf2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 1 addition & 18 deletions app/Http/Controllers/Admin/helpdesk/SettingsController.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
use App\Model\helpdesk\Settings\CommonSettings;
use App\Model\helpdesk\Settings\Company;
use App\Model\helpdesk\Settings\Email;
use App\Model\helpdesk\Settings\Followup;
use App\Model\helpdesk\Settings\Responder;
use App\Model\helpdesk\Settings\System;
use App\Model\helpdesk\Settings\Ticket;
Expand Down Expand Up @@ -410,25 +409,9 @@ public function getSchedular(Email $email, Template $template, Emails $email1, W
*
* @return type Response
*/
public function postSchedular(Email $email, Template $template, Followup $followup, Emails $email1, TaskRequest $request, WorkflowClose $workflow)
public function postSchedular(Email $email, Template $template, Emails $email1, TaskRequest $request, WorkflowClose $workflow)
{
try {
$followup = $followup->whereId('1')->first();
$status = $request->followup_notification_cron;

if ($status = 'null') {
$followup->status = $request->followup_notification_cron;
}
if ($status = 1) {
$followup->status = $request->followup_notification_cron;
$followup->condition = $request->followup_notification_commands;
$followup->save();
}
if ($request->followup_notification_dailyAt) {
$followup->condition = $request->followup_notification_dailyAt;
$followup->save();
}

/* fetch the values of email request */
$emails = $email->whereId('1')->first();
if ($request->email_fetching) {
Expand Down
2 changes: 1 addition & 1 deletion app/Http/breadcrumbs.php
Original file line number Diff line number Diff line change
Expand Up @@ -615,5 +615,5 @@
});

Breadcrumbs::register('readmails', function ($breadcrumbs) {
$breadcrumbs->push('readmails'), 'readmails');
$breadcrumbs->push('readmails', 'readmails');
});

0 comments on commit a579bf2

Please sign in to comment.