Fixes and todo's
This commit is contained in:
parent
286b78865b
commit
072c5c65ab
skolehjem
app/Http/Controllers
resources/views/admin
events
roles
users
washing-reservations
|
@ -369,7 +369,6 @@ class UserController extends Controller
|
|||
->orWhere('name_last', 'LIKE', $request->search . '%')
|
||||
->orWhere('phone', 'LIKE', $request->search . '%')
|
||||
->orWhere('email', 'LIKE', $request->search . '%')
|
||||
->orWhere('name', 'LIKE', $request->search . '%')
|
||||
->get();
|
||||
$roles = Role::query()->where('name', 'LIKE', $request->search . '%')->get();
|
||||
|
||||
|
|
|
@ -60,7 +60,6 @@
|
|||
data: {'search':$value},
|
||||
success:function (data) {
|
||||
$('tbody').html(data);
|
||||
console.log(data);
|
||||
},
|
||||
error:function (data) {
|
||||
console.log(data);
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
|
||||
<form method="post" action="{{ route("events.store") }}">
|
||||
@csrf
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg på Evt Navn, Evt Dato"></input>
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="//TODO: Søg på navn, efternavn, tlf"></input>
|
||||
</form>
|
||||
|
||||
</div>
|
||||
|
@ -53,7 +53,6 @@
|
|||
data: {'search':$value},
|
||||
success:function (data) {
|
||||
$('tbody').html(data);
|
||||
console.log(data);
|
||||
},
|
||||
error:function (data) {
|
||||
console.log(data);
|
||||
|
|
|
@ -53,7 +53,6 @@
|
|||
data: {'search':$value},
|
||||
success:function (data) {
|
||||
$('tbody').html(data);
|
||||
console.log(data);
|
||||
},
|
||||
error:function (data) {
|
||||
console.log(data);
|
||||
|
|
|
@ -81,7 +81,6 @@
|
|||
url: '{{route('users.search')}}',
|
||||
data: {'search':$value, 'isCheck': $checkboxValue, 'page': page },
|
||||
success:function (data) {
|
||||
console.log($checkboxValue);
|
||||
$('tbody').html(data);
|
||||
},
|
||||
error:function (data) {
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
|
||||
<form method="post" action="{{ route("washing-reservations.store") }}">
|
||||
@csrf
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="Søg på vaskemaskine, tid"></input>
|
||||
<input type="text" class="form-controller" id="search" name="search" placeholder="//TODO: Søg på vaskemaskine, tid, bruger"></input>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue