@extends('themes.default1.admin.layout.admin') @section('Manage') active @stop @section('manage-bar') active @stop @section('help') class="active" @stop @section('HeadInclude') @stop @section('PageHeader')

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

@stop @section('breadcrumbs') @stop @section('content') {!! Form::model($topics,['url' => 'helptopic/'.$topics->id, 'method' => 'PATCH']) !!}

{{Lang::get('lang.edit')}}

@if(Session::has('errors'))
Alert!
@if($errors->first('status'))
  • {!! $errors->first('status', ':message') !!}
  • @endif @if($errors->first('type'))
  • {!! $errors->first('type', ':message') !!}
  • @endif @if($errors->first('topic'))
  • {!! $errors->first('topic', ':message') !!}
  • @endif @if($errors->first('parent_topic'))
  • {!! $errors->first('parent_topic', ':message') !!}
  • @endif @if($errors->first('custom_form'))
  • {!! $errors->first('custom_form', ':message') !!}
  • @endif @if($errors->first('department'))
  • {!! $errors->first('department', ':message') !!}
  • @endif @if($errors->first('priority'))
  • {!! $errors->first('priority', ':message') !!}
  • @endif @if($errors->first('sla_plan'))
  • {!! $errors->first('sla_plan', ':message') !!}
  • @endif @if($errors->first('auto_assign'))
  • {!! $errors->first('auto_assign', ':message') !!}
  • @endif
    @endif
    {!! Form::label('ticket_status',Lang::get('lang.status')) !!}   {!! Form::radio('status','1',true) !!} {{Lang::get('lang.active')}}    {!! Form::radio('status','0') !!} {{Lang::get('lang.inactive')}}
    {!! Form::label('type',Lang::get('lang.type')) !!}   {!! Form::radio('type','1',true) !!} {{Lang::get('lang.public')}}    {!! Form::radio('type','0') !!} {{Lang::get('lang.private')}}
    {!! Form::label('topic',Lang::get('lang.topic')) !!} * {!! Form::text('topic',null,['class' => 'form-control']) !!}
    {!! Form::label('parent_topic',Lang::get('lang.parent_topic')) !!} {!!Form::select('parent_topic', [''=>Lang::get('lang.select_a_parent_topic'),Lang::get('lang.help_topic')=>$topics->lists('topic','id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('custom_form',Lang::get('lang.Custom_form')) !!} {!!Form::select('custom_form', [''=>Lang::get('lang.select_a_form'),Lang::get('lang.custom_form')=>$forms->lists('formname','id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('department',Lang::get('lang.department')) !!} {!!Form::select('department', [''=>Lang::get('lang.select_a_department'),Lang::get('lang.departments')=>$departments->lists('name','id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('priority',Lang::get('lang.priority')) !!} * {!!Form::select('priority', [''=>Lang::get('lang.select_a_priority'),Lang::get('lang.priorities')=>$priority->lists('priority_desc','priority_id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('sla_plan',Lang::get('lang.SLA_plan')) !!} {!!Form::select('sla_plan', [''=>Lang::get('lang.select_a_sla_plan'),Lang::get('lang.sla_plans')=>$slas->lists('name','id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('auto_assign',Lang::get('lang.auto_assign')) !!} {!!Form::select('auto_assign', [''=>Lang::get('lang.select_an_agent'),Lang::get('lang.agents')=>$agents->lists('first_name','id')->toArray()],null,['class' => 'form-control']) !!}
    {!! Form::label('internal_notes',Lang::get('lang.internal_notes')) !!} {!! Form::textarea('internal_notes',null,['class' => 'form-control','size' => '10x5']) !!}
    {!! Form::close() !!} @stop