@extends('themes.default1.admin.layout.admin') @section('Staffs') active @stop @section('staffs-bar') active @stop @section('groups') class="active" @stop @section('HeadInclude') @stop @section('PageHeader')

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

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

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

@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
    {!! 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')}}
    {!! 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