Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpkm
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Farendi Giotivano R.P
simpkm
Commits
c3d0db58
Commit
c3d0db58
authored
Feb 16, 2024
by
Novan Bagus Setiawan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update proposal seaching with nama ketua
parent
171f1655
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
app/Http/Controllers/Operator/ProposalController.php
+4
-1
resources/views/backend/operator/proposal/index.blade.php
+1
-1
No files found.
app/Http/Controllers/Operator/ProposalController.php
View file @
c3d0db58
...
...
@@ -35,6 +35,9 @@ class ProposalController extends Controller
$status
=
$request
->
get
(
'status'
);
$tahun
=
$request
->
get
(
'tahun'
);
if
(
$tahun
==
'0'
)
$tahun
=
date
(
'Y'
);
## Read value
$year
=
!
is_null
(
$request
->
year
)
?
$request
->
year
:
now
()
->
year
;
$draw
=
$request
->
get
(
'draw'
);
...
...
@@ -72,7 +75,7 @@ class ProposalController extends Controller
}
$totalRecords
=
DaftarProposal
::
select
(
'count(1) as allcount'
)
->
whereRaw
(
$statementGlobal
)
->
count
();
$statement
=
" AND (UPPER(JUDUL) LIKE '%"
.
$searchValue
.
"%') "
;
$statement
=
" AND (UPPER(JUDUL) LIKE '%"
.
$searchValue
.
"%'
OR UPPER(IDENTITAS_KETUA) LIKE '%"
.
$searchValue
.
"%'
) "
;
$totalRecordswithFilter
=
DaftarProposal
::
select
(
'count(1) as allcount'
)
...
...
resources/views/backend/operator/proposal/index.blade.php
View file @
c3d0db58
...
...
@@ -70,7 +70,7 @@
<select class="
form
-
select
" name="
reqTahun
" id="
reqTahun
">
<option value="
0
">Semua</option>
@foreach (
$periode
as
$res
)
<option value="
{{
$res
->
nama
}}
">{{
$res->nama
}}</option>
<option value="
{{
$res
->
nama
}}
"
@php if(
$res->nama
== date('Y')) echo 'selected'; @endphp
>{{
$res->nama
}}</option>
@endforeach
</select>
</div>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment