Fixes and todo's
This commit is contained in:
parent
286b78865b
commit
072c5c65ab
|
@ -369,7 +369,6 @@ class UserController extends Controller
|
||||||
->orWhere('name_last', 'LIKE', $request->search . '%')
|
->orWhere('name_last', 'LIKE', $request->search . '%')
|
||||||
->orWhere('phone', 'LIKE', $request->search . '%')
|
->orWhere('phone', 'LIKE', $request->search . '%')
|
||||||
->orWhere('email', 'LIKE', $request->search . '%')
|
->orWhere('email', 'LIKE', $request->search . '%')
|
||||||
->orWhere('name', 'LIKE', $request->search . '%')
|
|
||||||
->get();
|
->get();
|
||||||
$roles = Role::query()->where('name', 'LIKE', $request->search . '%')->get();
|
$roles = Role::query()->where('name', 'LIKE', $request->search . '%')->get();
|
||||||
|
|
||||||
|
|
|
@ -60,7 +60,6 @@
|
||||||
data: {'search':$value},
|
data: {'search':$value},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
$('tbody').html(data);
|
$('tbody').html(data);
|
||||||
console.log(data);
|
|
||||||
},
|
},
|
||||||
error:function (data) {
|
error:function (data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
|
@ -14,7 +14,7 @@
|
||||||
|
|
||||||
<form method="post" action="{{ route("events.store") }}">
|
<form method="post" action="{{ route("events.store") }}">
|
||||||
@csrf
|
@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>
|
</form>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
@ -53,7 +53,6 @@
|
||||||
data: {'search':$value},
|
data: {'search':$value},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
$('tbody').html(data);
|
$('tbody').html(data);
|
||||||
console.log(data);
|
|
||||||
},
|
},
|
||||||
error:function (data) {
|
error:function (data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
|
@ -53,7 +53,6 @@
|
||||||
data: {'search':$value},
|
data: {'search':$value},
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
$('tbody').html(data);
|
$('tbody').html(data);
|
||||||
console.log(data);
|
|
||||||
},
|
},
|
||||||
error:function (data) {
|
error:function (data) {
|
||||||
console.log(data);
|
console.log(data);
|
||||||
|
|
|
@ -81,7 +81,6 @@
|
||||||
url: '{{route('users.search')}}',
|
url: '{{route('users.search')}}',
|
||||||
data: {'search':$value, 'isCheck': $checkboxValue, 'page': page },
|
data: {'search':$value, 'isCheck': $checkboxValue, 'page': page },
|
||||||
success:function (data) {
|
success:function (data) {
|
||||||
console.log($checkboxValue);
|
|
||||||
$('tbody').html(data);
|
$('tbody').html(data);
|
||||||
},
|
},
|
||||||
error:function (data) {
|
error:function (data) {
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
<form method="post" action="{{ route("washing-reservations.store") }}">
|
<form method="post" action="{{ route("washing-reservations.store") }}">
|
||||||
@csrf
|
@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>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue