Fixes and todo's

This commit is contained in:
frederikpyt 2020-08-05 08:10:38 +02:00
parent 286b78865b
commit 072c5c65ab
6 changed files with 2 additions and 7 deletions

View File

@ -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();

View File

@ -60,7 +60,6 @@
data: {'search':$value},
success:function (data) {
$('tbody').html(data);
console.log(data);
},
error:function (data) {
console.log(data);

View File

@ -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);

View File

@ -53,7 +53,6 @@
data: {'search':$value},
success:function (data) {
$('tbody').html(data);
console.log(data);
},
error:function (data) {
console.log(data);

View File

@ -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) {

View File

@ -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>