uu
@ -59,7 +59,7 @@ public function store(AddNewRequest $request)
|
|||||||
else
|
else
|
||||||
return redirect()->back()->withInput()->with('error', 'Please Try again');
|
return redirect()->back()->withInput()->with('error', 'Please Try again');
|
||||||
} catch (Exception $e) {
|
} catch (Exception $e) {
|
||||||
dd($e);
|
// dd($e);
|
||||||
return redirect()->back()->withInput()->with('error', 'Please try again');
|
return redirect()->back()->withInput()->with('error', 'Please try again');
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
BIN
public/uploads/users/1161700322558.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 255 KiB |
BIN
public/uploads/users/2191700324373.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 204 KiB |
BIN
public/uploads/users/3381700323338.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 255 KiB |
BIN
public/uploads/users/3851700319650.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 204 KiB |
BIN
public/uploads/users/4561700323536.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 255 KiB |
BIN
public/uploads/users/6211700323001.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 255 KiB |
BIN
public/uploads/users/7751700323556.png
Fichier normal
|
Après Largeur: | Hauteur: | Taille: 255 KiB |
@ -203,18 +203,29 @@ class="feather feather-log-out">
|
|||||||
</li>
|
</li>
|
||||||
<li><a class="ai-icon" href="event-management.html" aria-expanded="false">
|
<li><a class="ai-icon" href="event-management.html" aria-expanded="false">
|
||||||
<i class="la la-calendar"></i>
|
<i class="la la-calendar"></i>
|
||||||
<span class="nav-text">Event Management</span>
|
<span class="nav-text">Exam Management</span>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-user"></i>
|
<i class="la la-user-plus"></i>
|
||||||
<span class="nav-text">Professors</span>
|
<span class="nav-text">Users</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="all-professors.html">All Professor</a></li>
|
<li><a href="{{route('user.index')}}">All User</a></li>
|
||||||
<li><a href="add-professor.html">Add Professor</a></li>
|
<li><a href="{{route('user.create')}}">Add User</a></li>
|
||||||
<li><a href="edit-professor.html">Edit Professor</a></li>
|
<li><a href="{{route('user.index')}}">Edit User</a></li>
|
||||||
<li><a href="professor-profile.html">Professor Profile</a></li>
|
<li><a href="{{route('user.index')}}">User Profile</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
|
<i class="la la-user"></i>
|
||||||
|
<span class="nav-text">Instructors</span>
|
||||||
|
</a>
|
||||||
|
<ul aria-expanded="false">
|
||||||
|
<li><a href="all-professors.html">All Instructor</a></li>
|
||||||
|
<li><a href="add-professor.html">Add Instructor</a></li>
|
||||||
|
<li><a href="edit-professor.html">Edit Instructor</a></li>
|
||||||
|
<li><a href="professor-profile.html">Instructor Profile</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
@ -241,54 +252,54 @@ class="feather feather-log-out">
|
|||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-book"></i>
|
<i class="la la-book"></i>
|
||||||
<span class="nav-text">Library</span>
|
<span class="nav-text">Contents</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="all-library.html">All Library</a></li>
|
<li><a href="all-library.html">All Content</a></li>
|
||||||
<li><a href="add-library.html">Add Library</a></li>
|
<li><a href="add-library.html">Add Content</a></li>
|
||||||
<li><a href="edit-library.html">Edit Library</a></li>
|
<li><a href="edit-library.html">Edit Content</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-building"></i>
|
<i class="la la-building"></i>
|
||||||
<span class="nav-text">Departments</span>
|
<span class="nav-text">Quizzes</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="all-departments.html">All Departments</a></li>
|
<li><a href="all-departments.html">All Quiz</a></li>
|
||||||
<li><a href="add-departments.html">Add Departments</a></li>
|
<li><a href="add-departments.html">Add Quiz</a></li>
|
||||||
<li><a href="edit-departments.html">Edit Departments</a></li>
|
<li><a href="edit-departments.html">Edit Quiz</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-users"></i>
|
<i class="la la-users"></i>
|
||||||
<span class="nav-text">Staff</span>
|
<span class="nav-text">Progresses</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="all-staff.html">All Staff</a></li>
|
<li><a href="all-staff.html">All Progress</a></li>
|
||||||
<li><a href="add-staff.html">Add Staff</a></li>
|
<li><a href="add-staff.html">Add Progress</a></li>
|
||||||
<li><a href="edit-staff.html">Edit Staff</a></li>
|
<li><a href="edit-staff.html">Edit Progress</a></li>
|
||||||
<li><a href="staff-profile.html">Staff Profile</a></li>
|
<li><a href="staff-profile.html">Progress Profile</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-gift"></i>
|
<i class="la la-gift"></i>
|
||||||
<span class="nav-text">Holiday</span>
|
<span class="nav-text">Task</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="all-holiday.html">All Holiday</a></li>
|
<li><a href="all-holiday.html">All Task</a></li>
|
||||||
<li><a href="add-holiday.html">Add Holiday</a></li>
|
<li><a href="add-holiday.html">Add Task</a></li>
|
||||||
<li><a href="edit-holiday.html">Edit Holiday</a></li>
|
<li><a href="edit-holiday.html">Edit Task</a></li>
|
||||||
<li><a href="holiday-calendar.html">Holiday Calendar</a></li>
|
<li><a href="holiday-calendar.html">Task Calendar</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
<li><a class="has-arrow" href="javascript:void()" aria-expanded="false">
|
||||||
<i class="la la-dollar"></i>
|
<i class="la la-dollar"></i>
|
||||||
<span class="nav-text">Fees</span>
|
<span class="nav-text">Payments</span>
|
||||||
</a>
|
</a>
|
||||||
<ul aria-expanded="false">
|
<ul aria-expanded="false">
|
||||||
<li><a href="fees-collection.html">Fees Collection</a></li>
|
<li><a href="fees-collection.html">Fees Payment</a></li>
|
||||||
<li><a href="add-fees.html">Add Fees</a></li>
|
<li><a href="add-fees.html">Add Payment</a></li>
|
||||||
<li><a href="fees-receipt.html">Fees Receipt</a></li>
|
<li><a href="fees-receipt.html">Fees Payment</a></li>
|
||||||
</ul>
|
</ul>
|
||||||
</li>
|
</li>
|
||||||
<li class="nav-label">Apps</li>
|
<li class="nav-label">Apps</li>
|
||||||
|
|||||||
@ -18,9 +18,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
|
<li class="breadcrumb-item"><a href="{{route('dashboard')}}">Home</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">User</a></li>
|
<li class="breadcrumb-item active"><a href="{{route('user.index')}}">Users</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">Add User</a></li>
|
<li class="breadcrumb-item active"><a href="{{route('user.create')}}">Add User</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -38,7 +38,8 @@
|
|||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Name</label>
|
<label class="form-label">Name</label>
|
||||||
<input type="text" class="form-control" name="userName_en" value="{{old('userName_en')}}">
|
<input type="text" class="form-control" name="userName_en"
|
||||||
|
value="{{old('userName_en')}}">
|
||||||
</div>
|
</div>
|
||||||
@if($errors->has('userName_en'))
|
@if($errors->has('userName_en'))
|
||||||
<span class="text-danger"> {{ $errors->first('userName_en') }}</span>
|
<span class="text-danger"> {{ $errors->first('userName_en') }}</span>
|
||||||
@ -47,13 +48,15 @@
|
|||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">নাম (বাংলায়)</label>
|
<label class="form-label">নাম (বাংলায়)</label>
|
||||||
<input type="text" class="form-control" name="userName_bn" value="{{old('userName_bn')}}">
|
<input type="text" class="form-control" name="userName_bn"
|
||||||
|
value="{{old('userName_bn')}}">
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Phone Number</label>
|
<label class="form-label">Phone Number</label>
|
||||||
<input type="tel" class="form-control" name="contactNumber_en" value="{{old('contactNumber_en')}}">
|
<input type="tel" class="form-control" name="contactNumber_en"
|
||||||
|
value="{{old('contactNumber_en')}}">
|
||||||
</div>
|
</div>
|
||||||
@if($errors->has('contactNumber_en'))
|
@if($errors->has('contactNumber_en'))
|
||||||
<span class="text-danger"> {{ $errors->first('contactNumber_en') }}</span>
|
<span class="text-danger"> {{ $errors->first('contactNumber_en') }}</span>
|
||||||
@ -62,13 +65,18 @@
|
|||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">ফোন নাম্বার (বাংলায়)</label>
|
<label class="form-label">ফোন নাম্বার (বাংলায়)</label>
|
||||||
<input type="tel" class="form-control" name="contactNumber_bn" value="{{old('contactNumber_bn')}}">
|
<input type="tel" class="form-control" name="contactNumber_bn"
|
||||||
|
value="{{old('contactNumber_bn')}}">
|
||||||
</div>
|
</div>
|
||||||
|
@if($errors->has('contactNumber_bn'))
|
||||||
|
<span class="text-danger"> {{ $errors->first('contactNumber_bn') }}</span>
|
||||||
|
@endif
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Email</label>
|
<label class="form-label">Email</label>
|
||||||
<input type="email" class="form-control" name="emailAddress" value="{{old('emailAddress')}}">
|
<input type="email" class="form-control" name="emailAddress"
|
||||||
|
value="{{old('emailAddress')}}">
|
||||||
</div>
|
</div>
|
||||||
@if($errors->has('emailAddress'))
|
@if($errors->has('emailAddress'))
|
||||||
<span class="text-danger"> {{ $errors->first('emailAddress') }}</span>
|
<span class="text-danger"> {{ $errors->first('emailAddress') }}</span>
|
||||||
@ -79,7 +87,7 @@
|
|||||||
<label class="form-label">Role</label>
|
<label class="form-label">Role</label>
|
||||||
<select class="form-control" name="roleId">
|
<select class="form-control" name="roleId">
|
||||||
@forelse ($role as $r)
|
@forelse ($role as $r)
|
||||||
<option value="{{$r->id}} {{old('roleId')==$r->id?selected:''}}">
|
<option value="{{$r->id}}" {{old('roleId')==$r->id?'selected':''}}>
|
||||||
{{$r->type}}</option>
|
{{$r->type}}</option>
|
||||||
@empty
|
@empty
|
||||||
<option value="">No Role Found</option>
|
<option value="">No Role Found</option>
|
||||||
@ -108,12 +116,6 @@
|
|||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
|
||||||
<label class="form-label">Image</label>
|
|
||||||
<div class="form-group fallback w-100">
|
|
||||||
<input type="file" class="dropify" data-default-file="" name="image">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Password</label>
|
<label class="form-label">Password</label>
|
||||||
@ -123,6 +125,12 @@
|
|||||||
<span class="text-danger"> {{ $errors->first('password') }}</span>
|
<span class="text-danger"> {{ $errors->first('password') }}</span>
|
||||||
@endif
|
@endif
|
||||||
</div>
|
</div>
|
||||||
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||||
|
<label class="form-label">Image</label>
|
||||||
|
<div class="form-group fallback w-100">
|
||||||
|
<input type="file" class="dropify" data-default-file="" name="image">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||||
<button type="submit" class="btn btn-primary">Submit</button>
|
<button type="submit" class="btn btn-primary">Submit</button>
|
||||||
<button type="submit" class="btn btn-light">Cencel</button>
|
<button type="submit" class="btn btn-light">Cencel</button>
|
||||||
|
|||||||
@ -18,8 +18,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
|
<li class="breadcrumb-item"><a href="{{route('dashboard')}}">Home</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">User</a></li>
|
<li class="breadcrumb-item active"><a href="{{route('user.index')}}">Users</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">Edit User</a></li>
|
<li class="breadcrumb-item active"><a href="javascript:void(0);">Edit User</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
@ -32,7 +32,8 @@
|
|||||||
<h5 class="card-title">Basic Info</h5>
|
<h5 class="card-title">Basic Info</h5>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<form action="{{route('user.update', encryptor('encrypt', $user->id))}}" method="post" enctype="multipart/form-data">
|
<form action="{{route('user.update', encryptor('encrypt', $user->id))}}" method="post"
|
||||||
|
enctype="multipart/form-data">
|
||||||
@csrf
|
@csrf
|
||||||
@method('PATCH')
|
@method('PATCH')
|
||||||
<input type="hidden" name="uptoken" value="{{encryptor('encrypt',$user->id)}}">
|
<input type="hidden" name="uptoken" value="{{encryptor('encrypt',$user->id)}}">
|
||||||
@ -74,7 +75,8 @@
|
|||||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Email</label>
|
<label class="form-label">Email</label>
|
||||||
<input type="email" class="form-control" name="emailAddress" value="{{old('emailAddress', $user->email)}}">
|
<input type="email" class="form-control" name="emailAddress"
|
||||||
|
value="{{old('emailAddress', $user->email)}}">
|
||||||
</div>
|
</div>
|
||||||
@if($errors->has('emailAddress'))
|
@if($errors->has('emailAddress'))
|
||||||
<span class="text-danger"> {{ $errors->first('emailAddress') }}</span>
|
<span class="text-danger"> {{ $errors->first('emailAddress') }}</span>
|
||||||
@ -85,7 +87,8 @@
|
|||||||
<label class="form-label">Role</label>
|
<label class="form-label">Role</label>
|
||||||
<select class="form-control" name="roleId">
|
<select class="form-control" name="roleId">
|
||||||
@forelse ($role as $r)
|
@forelse ($role as $r)
|
||||||
<option value="{{$r->id}} {{old('roleId', $user->role_id)==$r->id?'selected':''}}">
|
<option value="{{$r->id}}" {{old('roleId', $user->
|
||||||
|
role_id)==$r->id?'selected':''}}>
|
||||||
{{$r->type}}</option>
|
{{$r->type}}</option>
|
||||||
@empty
|
@empty
|
||||||
<option value="">No Role Found</option>
|
<option value="">No Role Found</option>
|
||||||
@ -100,8 +103,10 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Full Access</label>
|
<label class="form-label">Full Access</label>
|
||||||
<select class="form-control" name="fullAccess">
|
<select class="form-control" name="fullAccess">
|
||||||
<option value="0" @if(old('fullAccess', $user->full_access)==0) selected @endif>No</option>
|
<option value="0" @if(old('fullAccess', $user->full_access)==0) selected
|
||||||
<option value="1" @if(old('fullAccess', $user->full_access)==1) selected @endif>Yes</option>
|
@endif>No</option>
|
||||||
|
<option value="1" @if(old('fullAccess', $user->full_access)==1) selected
|
||||||
|
@endif>Yes</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -109,8 +114,10 @@
|
|||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="form-label">Status</label>
|
<label class="form-label">Status</label>
|
||||||
<select class="form-control" name="status">
|
<select class="form-control" name="status">
|
||||||
<option value="1" @if(old('status', $user->status)==1) selected @endif>Active</option>
|
<option value="1" @if(old('status', $user->status)==1) selected
|
||||||
<option value="0" @if(old('status', $user->status)==0) selected @endif>Inactive</option>
|
@endif>Active</option>
|
||||||
|
<option value="0" @if(old('status', $user->status)==0) selected
|
||||||
|
@endif>Inactive</option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -23,9 +23,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
<div class="col-sm-6 p-md-0 justify-content-sm-end mt-2 mt-sm-0 d-flex">
|
||||||
<ol class="breadcrumb">
|
<ol class="breadcrumb">
|
||||||
<li class="breadcrumb-item"><a href="index.html">Home</a></li>
|
<li class="breadcrumb-item"><a href="{{route('dashboard')}}">Home</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">Users</a></li>
|
<li class="breadcrumb-item active"><a href="{{route('user.index')}}">Users</a></li>
|
||||||
<li class="breadcrumb-item active"><a href="javascript:void(0);">All User</a></li>
|
<li class="breadcrumb-item active"><a href="{{route('user.index')}}">All User</a></li>
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -45,7 +45,7 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
|||||||
<div class="card">
|
<div class="card">
|
||||||
<div class="card-header">
|
<div class="card-header">
|
||||||
<h4 class="card-title">All Students List </h4>
|
<h4 class="card-title">All Students List </h4>
|
||||||
<a href="add-student.html" class="btn btn-primary">+ Add new</a>
|
<a href="{{route('user.create')}}" class="btn btn-primary">+ Add new</a>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-body">
|
<div class="card-body">
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
@ -73,8 +73,8 @@ class="nav-link btn-primary mr-1 show active">List View</a></li>
|
|||||||
<td>@if($d->status==1){{__('Active')}} @else{{__('Inactive')}} @endif
|
<td>@if($d->status==1){{__('Active')}} @else{{__('Inactive')}} @endif
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<a href="{{route('user.edit', encryptor('encrypt',$d->id))}}" class="btn btn-sm btn-primary"><i
|
<a href="{{route('user.edit', encryptor('encrypt',$d->id))}}"
|
||||||
class="la la-pencil"></i></a>
|
class="btn btn-sm btn-primary"><i class="la la-pencil"></i></a>
|
||||||
<a href="javascript:void(0);" class="btn btn-sm btn-danger"><i
|
<a href="javascript:void(0);" class="btn btn-sm btn-danger"><i
|
||||||
class="la la-trash-o"></i></a>
|
class="la la-trash-o"></i></a>
|
||||||
</td>
|
</td>
|
||||||
@ -102,7 +102,8 @@ class="la la-trash-o"></i></a>
|
|||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu dropdown-menu-right border py-0">
|
<div class="dropdown-menu dropdown-menu-right border py-0">
|
||||||
<div class="py-2">
|
<div class="py-2">
|
||||||
<a class="dropdown-item" href="javascript:void(0);">Edit</a>
|
<a class="dropdown-item"
|
||||||
|
href="{{route('user.edit', encryptor('encrypt',$d->id))}}">Edit</a>
|
||||||
<a class="dropdown-item text-danger"
|
<a class="dropdown-item text-danger"
|
||||||
href="javascript:void(0);">Delete</a>
|
href="javascript:void(0);">Delete</a>
|
||||||
</div>
|
</div>
|
||||||
@ -112,7 +113,8 @@ class="la la-trash-o"></i></a>
|
|||||||
<div class="card-body pt-2">
|
<div class="card-body pt-2">
|
||||||
<div class="text-center">
|
<div class="text-center">
|
||||||
<div class="profile-photo">
|
<div class="profile-photo">
|
||||||
<img src="{{asset('public/uploads/users/'.$d->image)}}" width="100" height="100" class="rounded-circle" alt="">
|
<img src="{{asset('public/uploads/users/'.$d->image)}}" width="100"
|
||||||
|
height="100" class="rounded-circle" alt="">
|
||||||
</div>
|
</div>
|
||||||
<h3 class="mt-4 mb-1">{{$d->name_en}}</h3>
|
<h3 class="mt-4 mb-1">{{$d->name_en}}</h3>
|
||||||
<p class="text-muted">{{$d->role?->type}}</p>
|
<p class="text-muted">{{$d->role?->type}}</p>
|
||||||
|
|||||||