@extends('admin.layout.master') @section('title', 'الإدارة') @section('content')

الإدارة

تعديل البيانات

@csrf @method('PATCH')
@if ($errors->has('name')) {{ $errors->first('name') }} @endif
@if ($errors->has('email')) {{ $errors->first('email') }} @endif
@if ($errors->has('mobile')) {{ $errors->first('mobile') }} @endif
@if ($errors->has('wallet')) {{ $errors->first('wallet') }} @endif
@if ($errors->has('password')) {{ $errors->first('password') }} @endif
@if ($errors->has('country_id')) {{ $errors->first('country_id') }} @endif
@foreach(\Spatie\Permission\Models\Permission::all() as $permission)
getAllPermissions()->contains($permission->id)) checked @endif value="{{$permission->name}}">
@endforeach
@stop