liyinglin 2 years ago
parent deee961dae
commit 051e3394b1

@ -5,17 +5,17 @@
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
{{-- <div class="mb-3">--}} <div class="mb-3">
{{-- <form class="form-inline" id="search-form" autocomplete="off">--}} <form class="form-inline" id="search-form" autocomplete="off">
{{-- <select class="form-control mr-1" name="project_id"--}} <select class="form-control mr-1" name="project_id"
{{-- onchange="$(this).closest('form').submit()">--}} onchange="$(this).closest('form').submit()">
{{-- @foreach($projects as $pp)--}} @foreach($projects as $pp)
{{-- <option--}} <option
{{-- value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>--}} value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>
{{-- @endforeach--}} @endforeach
{{-- </select>--}} </select>
{{-- </form>--}} </form>
{{-- </div>--}} </div>
<table class="table table-bordered" id="data-table"> <table class="table table-bordered" id="data-table">
<thead> <thead>
<tr> <tr>

@ -5,17 +5,17 @@
<div class="col-12"> <div class="col-12">
<div class="card"> <div class="card">
<div class="card-body"> <div class="card-body">
<div class="mb-3"> {{-- <div class="mb-3">--}}
<form class="form-inline" id="search-form" autocomplete="off"> {{-- <form class="form-inline" id="search-form" autocomplete="off">--}}
<select class="form-control mr-1" name="project_id" {{-- <select class="form-control mr-1" name="project_id"--}}
onchange="$(this).closest('form').submit()"> {{-- onchange="$(this).closest('form').submit()">--}}
@foreach($projects as $pp) {{-- @foreach($projects as $pp)--}}
<option {{-- <option--}}
value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option> {{-- value="{{$pp->id}}" @if($pp->id == $project_id) {{ "selected" }}@endif>{{$pp->name}}</option>--}}
@endforeach {{-- @endforeach--}}
</select> {{-- </select>--}}
</form> {{-- </form>--}}
</div> {{-- </div>--}}
<table class="table table-bordered" id="data-table"> <table class="table table-bordered" id="data-table">
<thead> <thead>
<tr> <tr>

Loading…
Cancel
Save