Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sibiling
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Syaifur
sibiling
Commits
431428a3
Commit
431428a3
authored
May 16, 2025
by
Syaifur Rohman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix index sekolah wali show
parent
f0c64929
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
TabelStakeholderController.php
app/Http/Controllers/Api/TabelStakeholderController.php
+6
-6
No files found.
app/Http/Controllers/Api/TabelStakeholderController.php
View file @
431428a3
...
...
@@ -20,7 +20,7 @@ public function __construct()
$this
->
mSiswa
=
new
SiswaModel
();
$this
->
mSekolahWali
=
new
SekolahWaliModel
();
$this
->
mGuru
=
new
GuruModel
();
$this
->
mPerpusKelasKode
=
new
KelasKodeModel
();
$this
->
mPerpusKelasKode
=
new
KelasKodeModel
();
}
function
getSekolahWali
(
$idPKelas
=
null
)
...
...
@@ -36,8 +36,8 @@ public function __construct()
{
$tbody
=
[];
$tbody
[]
=
$i
++
;
$tbody
[]
=
$row
->
kelas
->
nama
.
' '
.
$row
->
jurusan
->
nama
.
' '
.
$row
->
nama
;
$tbody
[]
=
$i
++
;
$tbody
[]
=
$row
->
kelas
->
nama
.
' '
.
$row
->
kelas
->
jurusan
->
nama
.
' '
.
$row
->
nama
;
if
(
$row
->
idSWali
==
0
)
{
$tbody
[]
=
'<span class="text-warning">Belum Diset</span>'
;
...
...
@@ -52,13 +52,13 @@ public function __construct()
$btnDetail
=
"<a href='"
.
url
(
$this
->
url
.
"/wali-kelas/"
.
$row
[
'id'
])
.
"'><button type='button' class='btn btn-primary btn-sm' title='Detail Data'>Detail</button></a>"
;
$btnEdit
=
"<button type='button' class='btn btn-primary btn-sm set-wali' title='Detail Data' data-bs-toggle='modal' data-bs-target='#modalPilihWali' data-id='"
.
$row
[
'id'
]
.
"'>"
.
$textWali
.
"</button>"
;
$btn
=
$btnDetail
.
' '
.
$btnEdit
;
$tbody
[]
=
$btn
;
$data
[]
=
$tbody
;
};
if
(
count
(
$kelaskode
)
>
0
)
{
$response
=
[
...
...
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