Refactoring, change menu, add many features
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
<label for="name">{{ __('module') }}</label>
|
||||
@include('components.select', ['name' => 'application_module_id', 'value' => $permission['application_module_id'] ?? null, 'list' => $application_modules ?? null])
|
||||
@include('components.form.select', ['name' => 'application_module_id', 'value' => $permission['application_module_id'] ?? null, 'list' => $application_modules ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-6">
|
||||
<label for="name">{{ __('name') }}</label>
|
||||
@include('components.input', ['name' => 'name', 'value' => $permission['name'] ?? null])
|
||||
@include('components.form.input', ['name' => 'name', 'value' => $permission['name'] ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="last_name">{{ __('name') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="first_name">{{ __('firstname') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="username">{{ __('login') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="password">{{ __('password') }} <sup>*</sup></label>
|
||||
@@ -27,27 +27,27 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="email">{{ __('email') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
@include('components.form.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="phone">{{ __('phone') }}</label>
|
||||
@include('components.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
@include('components.form.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="third_party_id">{{ __('entity') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'third_party_id', 'list' => $third_parties ?? null, 'value' => $third_party_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'third_party_id', 'list' => $third_parties ?? null, 'value' => $third_party_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="team">{{ __('team') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'team_id', 'list' => $teams ?? null, 'value' => $team_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'team_id', 'list' => $teams ?? null, 'value' => $team_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="status">{{ __('status') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'status_id', 'list' => $statuses ?? null, 'value' => $status_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'status_id', 'list' => $statuses ?? null, 'value' => $status_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -4,19 +4,19 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="last_name">{{ __('name') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="first_name">{{ __('firstname') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="username">{{ __('login') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="password">{{ __('password') }} <sup>*</sup></label>
|
||||
@@ -27,27 +27,27 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="email">{{ __('email') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
@include('components.form.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="phone">{{ __('phone') }}</label>
|
||||
@include('components.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
@include('components.form.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="third_party_id">{{ __('entity') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'third_party_id', 'list' => $third_parties ?? null, 'value' => $third_party_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'third_party_id', 'list' => $third_parties ?? null, 'value' => $third_party_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="team">{{ __('team') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'team_id', 'list' => $teams ?? null, 'value' => $team_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'team_id', 'list' => $teams ?? null, 'value' => $team_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
<div class="col-12 col-md-6 col-lg-4">
|
||||
<label for="status">{{ __('status') }} <sup>*</sup></label>
|
||||
@include('components.select', ['name' => 'status_id', 'list' => $statuses ?? null, 'value' => $status_id ?? null, 'with_empty' => true ])
|
||||
@include('components.form.select', ['name' => 'status_id', 'list' => $statuses ?? null, 'value' => $status_id ?? null, 'with_empty' => true ])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -8,19 +8,19 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="last_name">{{ __('name') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="first_name">{{ __('firstname') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="username">{{ __('login') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="password">{{ __('password') }} <sup>*</sup></label>
|
||||
@@ -31,12 +31,12 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="email">{{ __('email') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
@include('components.form.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="phone">{{ __('phone') }}</label>
|
||||
@include('components.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
@include('components.form.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
@@ -8,19 +8,19 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="last_name">{{ __('name') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'last_name', 'value' => $user['last_name'] ?? ''])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="first_name">{{ __('firstname') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'first_name', 'value' => $user['first_name'] ?? ''])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="username">{{ __('login') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
@include('components.form.input', ['name' => 'username', 'value' => $user['username'] ?? ''])
|
||||
</div>
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="password">{{ __('password') }} <sup>*</sup></label>
|
||||
@@ -31,12 +31,12 @@
|
||||
<div class="row mb-3">
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="email">{{ __('email') }} <sup>*</sup></label>
|
||||
@include('components.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
@include('components.form.input', ['name' => 'email', 'value' => $user['email'] ?? null])
|
||||
</div>
|
||||
|
||||
<div class="col-12 col-md-6">
|
||||
<label for="phone">{{ __('phone') }}</label>
|
||||
@include('components.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
@include('components.form.input', ['name' => 'phone', 'value' => $user['phone'] ?? null])
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user