@extends('layouts/contentLayoutMaster') @section('title', 'المديرين') @section('vendor-style') @endsection @section('content') تعديل مدير @csrf اسم المستخدم * @if ($errors->has('name')) {{ $errors->first('name') }} @endif الايميل * @if ($errors->has('email')) {{ $errors->first('email') }} @endif رقم التلفون* @if ($errors->has('phone')) {{ $errors->first('phone') }} @endif كلمة السر * @if ($errors->has('password')) {{ $errors->first('password') }} @endif تأكيد كلمة السر * @if ($errors->has('password_confirmation')) {{ $errors->first('password_confirmation') }} @endif الصلاحيات * اختر الصلاحيه @if (count($roles) > 0) @foreach ($roles as $role) id ? 'selected' : '' }} {{ $data->roles->pluck('id')[0] == $role->id ? 'selected' : '' }} > {{ $role->name }} @endforeach @endif @error('roles') {{ $message }} @enderror المحطات @foreach($zones as $zone) zones as $z) @if($zone->id == $z->id) selected="selected" @endif @endforeach >{{$zone->name}} @endforeach {{__('main.parent_change_DC')}} @if ($errors->has('zone_id')) {{ $errors->first('zone_id') }} @endif اضافة {{-- Data list view end --}} @endsection @section('vendor-script') @endsection