</div> </div> </div> <?php Event::fire(new App\Events\TimeLineFormEvent($TicketData)); ?> <div class="form-group"> <div class="row"> <div class="col-md-2"> <label>{!! Lang::get('lang.response') !!}</label> </div> <div class="col-md-10"> <select class="form-control" style="width:55%" id="select"> <?php $canneds = App\Model\helpdesk\Agent_panel\Canned::where('user_id', '=', Auth::user()->id)->get(); ?> <option value="zzz">{!! Lang::get('lang.select_a_canned_response') !!}</option> @foreach($canneds as $canned) <option value="{!! $canned->id !!}" >{!! $canned->title !!}</option> @endforeach {{-- <option>Last Message</option> --}} </select> </div> </div> </div> <div class="form-group"> <div class="row"> <!-- reply content --> <div class="form-group {{ $errors->has('title') ? 'has-error' : '' }}">
active @stop @section('tools') class="active" @stop <!-- content --> @section('content') <div class="box box-primary"> <div class="box-header with-border"> <h2 class="box-title">{!! Lang::get('lang.canned_response') !!}</h2><a href="{{route('canned.create')}}" class="btn btn-primary pull-right">{!! Lang::get('lang.create_canned_response') !!}</a></div> <div class="box-body table-responsive"> <?php $Canneds = App\Model\helpdesk\Agent_panel\Canned::where('user_id', '=', Auth::user()->id)->paginate(20); ?> <!-- check whether success or not --> {{-- Success message --}} @if(Session::has('success')) <div class="alert alert-success alert-dismissable"> <i class="fa fa-check-circle"></i> <b>Success!</b> <button type="button" class="close" data-dismiss="alert" aria-hidden="true">×</button> {{Session::get('success')}} </div> @endif {{-- failure message --}} @if(Session::has('fails')) <div class="alert alert-danger alert-dismissable"> <i class="fa fa-ban"></i>