|
|
|
|
@ -6,7 +6,7 @@
|
|
|
|
|
<div class="card">
|
|
|
|
|
<div class="card-body">
|
|
|
|
|
<div class="mb-3">
|
|
|
|
|
<form class="form-inline" autocomplete="off">
|
|
|
|
|
<form class="form-inline" id="search-form" autocomplete="off">
|
|
|
|
|
<select class="form-control mr-1" name="project_id"
|
|
|
|
|
onchange="$(this).closest('form').submit()">
|
|
|
|
|
@foreach($projects as $pp)
|
|
|
|
|
@ -150,6 +150,16 @@
|
|
|
|
|
|
|
|
|
|
@push("footer")
|
|
|
|
|
<script>
|
|
|
|
|
$(function () {
|
|
|
|
|
$("#pages a.page-link").each(function () {
|
|
|
|
|
if (!$(this).attr("href")) {
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
var filters = $("#search-form").serialize();
|
|
|
|
|
$(this).attr("href", $(this).attr("href") + "&" + filters);
|
|
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
function toggleItems(element) {
|
|
|
|
|
$(element).closest("tr").next("tr").toggle();
|
|
|
|
|
$(element).closest("tr").toggleClass("bg-warning");
|
|
|
|
|
|