@extends('themes.default1.admin.layout.admin') @section('Staffs') class="active" @stop @section('staffs-bar') active @stop @section('groups') class="active" @stop @section('HeadInclude') @stop @section('PageHeader') @stop @section('breadcrumbs') @stop @section('content') {!! Form::open(array('action' => 'Admin\helpdesk\GroupController@store' , 'method' => 'post') )!!}

{{Lang::get('lang.create')}} {!! Form::submit(Lang::get('lang.save'),['class'=>'form-group btn btn-primary pull-right'])!!}

{!! Form::label('name',Lang::get('lang.name')) !!} {!! $errors->first('name', ':message') !!} {!! Form::text('name',null,['class' => 'form-control']) !!}
{!! Form::label('group_status',Lang::get('lang.status')) !!} {!! $errors->first('group_status', ':message') !!}
{!! Form::radio('group_status','1',true) !!} {{Lang::get('lang.enable')}}
{!! Form::radio('group_status','0',null) !!} {{Lang::get('lang.disabled')}}
{!! Form::label('can_create_ticket',Lang::get('lang.can_create_ticket')) !!}
{!! Form::checkbox('can_create_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_edit_ticket',Lang::get('lang.can_edit_ticket')) !!}
{!! Form::checkbox('can_edit_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_post_ticket',Lang::get('lang.can_post_ticket')) !!}
{!! Form::checkbox('can_post_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_close_ticket',Lang::get('lang.can_close_ticket')) !!}
{!! Form::checkbox('can_close_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_delete_ticket',Lang::get('lang.can_delete_ticket')) !!}
{!! Form::checkbox('can_delete_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_assign_ticket',Lang::get('lang.can_assign_ticket')) !!}
{!! Form::checkbox('can_assign_ticket',1,null,['class' => 'checkbox']) !!}
{!! Form::label('can_ban_email',Lang::get('lang.can_ban_emails')) !!}
{!! Form::checkbox('can_ban_email',1,null,['class' => 'checkbox']) !!}
{!!Form::close()!!} @stop