@extends('themes.default1.admin.layout.admin') @section('Staffs') class="nav-link active" @stop @section('staff-menu-parent') class="nav-item menu-open" @stop @section('staff-menu-open') class="nav nav-treeview menu-open" @stop @section('groups') class="nav-link active" @stop @section('HeadInclude') @stop @section('PageHeader')

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

@stop @section('breadcrumbs') @stop @section('content') {!! Form::open(array('route' => 'groups.store' , 'method' => 'post') )!!} @if(Session::has('errors'))
{!! Lang::get('lang.alert') !!}
@if($errors->first('name'))
  • {!! $errors->first('name', ':message') !!}
  • @endif @if($errors->first('group_status'))
  • {!! $errors->first('group_status', ':message') !!}
  • @endif
    @endif

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

    {!! Form::label('name',Lang::get('lang.name')) !!} * {!! Form::text('name',null,['class' => 'form-control']) !!}
    {!! Form::label('group_status',Lang::get('lang.status')) !!}
    {!! Form::radio('group_status','1',true) !!} {{Lang::get('lang.active')}}
    {!! Form::radio('group_status','0',null) !!} {{Lang::get('lang.inactive')}}

    Permissions

    {!! Form::checkbox('can_create_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_create_ticket',Lang::get('lang.can_create_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_edit_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_edit_ticket',Lang::get('lang.can_edit_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_post_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_post_ticket',Lang::get('lang.can_post_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_close_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_close_ticket',Lang::get('lang.can_close_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_delete_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_delete_ticket',Lang::get('lang.can_delete_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_assign_ticket',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_assign_ticket',Lang::get('lang.can_assign_ticket'),['style' => 'line-height:1;']) !!}
    {!! Form::checkbox('can_ban_email',1,null,['class' => 'checkbox']) !!}  {!! Form::label('can_ban_email',Lang::get('lang.can_ban_emails'),['style' => 'line-height:1;']) !!}
    {!!Form::close()!!} @stop