@extends('layouts.master_backend') @section('content')

{{lang_trans('heading_list_permission')}}

{{Form::open(array('url'=>route('save-permissions')))}}
@foreach($datalist as $k=>$val) @endforeach
{{lang_trans('txt_sno')}} {{lang_trans('txt_permission')}} {{lang_trans('txt_superadmin')}} {{lang_trans('txt_admin')}} {{lang_trans('txt_receptionist')}} {{lang_trans('txt_store_manager')}} {{lang_trans('txt_financial_manager')}}
{{$k+1}} {{$val->description}}
{{lang_trans('txt_type')}}: {{ucfirst($val->permission_type)}}
{{Form::hidden('ids[]',$val->id)}} super_admin == 1 ? 'checked' : '' }}> admin == 1 ? 'checked' : '' }}> receptionist == 1 ? 'checked' : '' }}> store_manager == 1 ? 'checked' : '' }}> financial_manager == 1 ? 'checked' : '' }}>
{{ Form::close() }}
@endsection