@if(Session::has('success'))
    
        
        Success!
        
        {!! Session::get('success') !!}
    
    @endif
    
    @if(Session::has('fails'))
    
        
        Fail!
        
        {!! Session::get('fails') !!}
    
    @endif
	
	
		| {{Lang::get('lang.topic')}} | {{Lang::get('lang.status')}} | {{Lang::get('lang.type')}} | {{Lang::get('lang.priority')}} | {{Lang::get('lang.department')}} | {{Lang::get('lang.last_updated')}} | {{Lang::get('lang.action')}} | 
	first();
	$default_helptopic = $default_helptopic->help_topic;
	?>
	
		@foreach($topics as $topic)
	
		
		| {!! $topic->topic !!}
		@if($topic->id == $default_helptopic)
			( Default )
		
		@else
		
		@endif | @if($topic->ticket_status=='1')
				Active
			@else
				Disable
			@endif | @if($topic->type=='1')
				Public
			@else
				Private
			@endifpriority)->first(); ?> | {!! $priority->priority_desc !!}@if($topic->department != null)
			department)->first(); 
			$dept = $dept->name; ?>
		@elseif($topic->department == null)
			
		@endif | {!! $dept !!} | {!! UTC::usertimezone($topic->updated_at) !!} | {!! Form::open(['route'=>['helptopic.destroy', $topic->id],'method'=>'DELETE']) !!}
			  Edit
				
				{!! Form::button('  Delete',
					['type' => 'submit',
					'class'=> 'btn btn-warning btn-xs btn-flat '.$disable,
					'onclick'=>'return confirm("Are you sure?")'])
				!!}
			
			{!! Form::close() !!}@endforeach |