Bug fix patch

Fixed deleting SLA results in the error. #714
This commit is contained in:
Manish Verma
2018-11-14 12:01:12 +05:30
committed by Manish Verma
parent f2070a93c6
commit 7dbeaafe16

View File

@@ -94,7 +94,7 @@ $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Cryp
<div class="col-md-3">
<?php
$sla = $tickets->sla;
$SlaPlan = App\Model\helpdesk\Manage\Sla_plan::where('id', '=', 1)->first();
$SlaPlan = App\Model\helpdesk\Manage\Sla_plan::where('id', '=', $sla)->first();
?>
<b>{!! Lang::get('lang.sla_plan') !!}: {{$SlaPlan->grace_period}} </b>
</div>