@extends('layouts.app') @section('title', __('role.add_role')) @section('content')

@lang( 'role.add_role' )

{!! Form::open(['url' => action('RoleController@store'), 'method' => 'post', 'id' => 'role_add_form' ]) !!}
{!! Form::label('name', __( 'user.role_name' ) . ':*') !!} {!! Form::text('name', null, ['class' => 'form-control', 'required', 'placeholder' => __( 'user.role_name' ) ]); !!}
@if(in_array('service_staff', $enabled_modules))

@lang( 'lang_v1.user_type' )

@show_tooltip(__('restaurant.tooltip_service_staff'))
@endif

@lang( 'role.user' )


@lang( 'role.supplier' )


@lang( 'role.customer' )


@lang( 'business.product' )


@lang( 'role.purchase' )


@lang( 'sale.sale' )


@lang( 'role.brand' )


@lang( 'role.tax_rate' )


@lang( 'role.unit' )


@lang( 'category.category' )


@lang( 'role.report' )


@lang( 'role.settings' )


@lang( 'role.dashboard' ) @show_tooltip(__('tooltip.dashboard_permission'))


@if(in_array('tables', $enabled_modules) && in_array('service_staff', $enabled_modules) )

@lang( 'restaurant.bookings' )


@endif

@lang( 'role.access_locations' ) @show_tooltip(__('tooltip.access_locations_permission'))

@show_tooltip(__('tooltip.all_location_permission'))
@foreach($locations as $location)
@endforeach
{!! Form::close() !!}
@endsection