@extends('themes.default1.client.layout.client') @section('breadcrumb') @stop @section('content') first(); $thread = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', \Crypt::decrypt($id))->first(); //$user = App\User::where('id','=',$id1)->first(); ?>

{{ $thread->title }} ( {{ $tickets->ticket_number }} )

@if ($common_setting->status == '1') @endif {!! Form::close() !!}
get(); ?> {!! csrf_field() !!} @foreach ($ratings as $rating) @if ($rating->rating_area == 'Helpdesk Area') id)->where('ticket_id', '=', $tickets->id)->first(); if ($rating_value == null) { $ratingval = '0'; } else { $ratingval = $rating_value->rating_value; } ?>   @endif @endforeach
{!! $rating->name !!}  
rating_scale; $i++) { ?> />
priority_id)->first(); ?>
sla; $SlaPlan = App\Model\helpdesk\Manage\Sla_plan::where('id', '=', $sla)->first(); ?> {!! Lang::get('lang.sla_plan') !!}: {{ $SlaPlan->grace_period }}
{!! Lang::get('lang.created_date') !!}: {{ UTC::usertimezone($tickets->created_at) }}
{!! Lang::get('lang.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, 'Y-m-d H:i:s')); ?>
id)->where('is_internal', '=', 0)->get(); ?> @foreach ($response as $last) created_at; ?> @endforeach {!! Lang::get('lang.last_response') !!}: {{ UTC::usertimezone($ResponseDate) }}
status)->first(); ?> @if ($status->id == 1) @elseif($status->id == 2) @elseif($status->id == 3) @endif priority_id)->first(); ?> @if ($priority->priority_id == 1) @elseif($priority->priority_id == 2) @elseif($priority->priority_id == 3) @endif help_topic_id)->first(); $department = App\Model\helpdesk\Agent\Department::where('id', '=', $help_topic->department)->first(); $location = $tickets->location; ?>
{!! Lang::get('lang.status') !!}: {{ $status->name }}{{ $status->name }}{{ $status->name }}
{!! Lang::get('lang.priority') !!}: {{ $priority->priority_desc }} {{ $priority->priority_desc }} {{ $priority->priority_desc }}
{!! Lang::get('lang.department') !!}: {!! $department->name !!}
help_topic_id)->first(); ?>
{!! Lang::get('lang.help_topic') !!}: {{ $help_topic->topic }}
{!! Lang::get('lang.last_message') !!}: {{ ucwords($last->poster) }}
Địa điểm: {!! $location->locationname !!}
id)->where('is_internal', '=', 0)->paginate(10); $ij = App\Model\helpdesk\Ticket\Ticket_Thread::where('ticket_id', '=', $tickets->id)->first(); $user = App\User::where('id', '=', $tickets->user_id)->first(); foreach ($conversations as $conversation) { $role = $conversation->user; $body = $conversation->thread($conversation->body); ?>
  1. role == "user") { ?> style="background-color: hsla(100, 100%, 51%, 0.15)" style="background-color:#FFFCB3" >
    role == "user") { ?>style="box-shadow: 0 1px 3px #00FF26;" style="box-shadow: 0 1px 3px #FFEC00;" > @if ($role->role == 'user') {{ $role->user_name }} @else {{ $role->first_name . ' ' . $role->last_name }}
    @foreach ($ratings as $rating) @if ($rating->rating_area == 'Comment Area') id)->where('thread_id', '=', $conversation->id)->first(); if ($rating_value == null) { $ratingval = '0'; } else { $ratingval = $rating_value->rating_value; } ?> {{ csrf_field() }}   @endif @endforeach
    {!! $rating->name !!}  
    rating_scale; $i++) { ?> />
    @endif
    @if ($conversation->firstContent() == 'yes')
    {!! $conversation->purify(true) !!}
    @else
    {!! $conversation->purify(true) !!}
    @endif @if ($conversation->id == $ij->id) id)->get(); ?> @if (isset($ticket_form_datas))
    @foreach ($ticket_form_datas as $ticket_form_data) @endforeach
    {!! $ticket_form_data->getFieldKeyLabel() !!} {!! removeUnderscore($ticket_form_data->content) !!}
    @endif @endif


setPath(route('check_ticket', ['id' => $id]))->render(); ?>


@if (Session::has('success1'))
{{ Session::get('success1') }}
@endif @if (Session::has('fails1'))
{!! Lang::get('lang.alert') !!}! {{ Session::get('fails1') }}
@endif

{!! Lang::get('lang.leave_a_reply') !!}

@if (Auth::user()) {!! Form::open(['url' => 'post/reply/' . $id2 . '#formabc']) !!} @else {!! Form::open(['url' => 'post-ticket-reply/' . $id . '#formabc']) !!} @endif
{!! Form::close() !!}
@stop