priority_id)->first();
?>
sla;
$SlaPlan = App\Model\Manage\Sla_plan::where('id', '=', $sla)->first();
?>
SLA Plan: {{$SlaPlan->grace_period}}
Created Date: {{ UTC::usertimezone($tickets->created_at) }}
Due Date:
created_at;
$time = date_create($time);
date_add($time, date_interval_create_from_date_string($SlaPlan->grace_period));
echo UTC::usertimezone(date_format($time, 'd/m/Y H:i:s'));
?>
id)->get();?>
@foreach($response as $last)
created_at;?>
@endforeach
Last Response: {{ UTC::usertimezone($ResponseDate)}}
Status: | {{$status->name}} |
Priority: | priority_id)->first();?>{{$priority->priority_desc}} |
Department: | help_topic_id)->first();?>{{$help_topic->topic}} |
Email: | {{$user->email}} |
user_id)->first();
$TicketData = App\Model\Ticket\Ticket_Thread::where('ticket_id', '=', $thread->ticket_id)->max('id');
$TicketDatarow = App\Model\Ticket\Ticket_Thread::where('id', '=', $TicketData)->first();
$LastResponse = App\User::where('id', '=', $TicketDatarow->user_id)->first();
if($LastResponse->role == "user") {
$rep = "#F39C12";
$username = $LastResponse->user_name;
} else { $rep = "#000"; $username = $LastResponse->first_name ." ". $LastResponse->last_name;
if($LastResponse->first_name==null || $LastResponse->last_name==null) {
$username = $LastResponse->user_name;
}}
if($tickets->source > 0)
{
$ticket_source = App\Model\Ticket\Ticket_source::where('id','=',$tickets->source)->first();
$ticket_source = $ticket_source->value;
}
else
$ticket_source = $tickets->source;
?>
@if($user_phone != null)
Phone: | {{$user_phone->mobile}} |
Source: | {{$ticket_source}} |
Help Topic: | help_topic_id)->first();?>{{$help_topic->topic}} |
Last Message: | {{$username}} |