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
86b0d4e0
Commit
86b0d4e0
authored
Oct 09, 2024
by
syaifurplus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
uncomment validasi detail siswa
parent
bf22948d
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
KonselingController.php
...ntrollers/Admin/Layanan/Konseling/KonselingController.php
+3
-3
PembinaanController.php
...ntrollers/Admin/Layanan/Konseling/PembinaanController.php
+3
-3
KonselorController.php
...Http/Controllers/Admin/Stakeholder/KonselorController.php
+3
-3
No files found.
app/Http/Controllers/Admin/Layanan/Konseling/KonselingController.php
View file @
86b0d4e0
...
@@ -99,9 +99,9 @@ public function __construct()
...
@@ -99,9 +99,9 @@ public function __construct()
$sekolah_wali
=
$this
->
mSekolahWali
->
where
(
'idPKKode'
,
$siswa
[
'idPKKode'
])
->
first
();
$sekolah_wali
=
$this
->
mSekolahWali
->
where
(
'idPKKode'
,
$siswa
[
'idPKKode'
])
->
first
();
$ortu
=
$this
->
mOrtu
->
where
(
'idSiswa'
,
$id
)
->
first
();
$ortu
=
$this
->
mOrtu
->
where
(
'idSiswa'
,
$id
)
->
first
();
if
(
!
$siswa
||
!
$konselor
||
!
$sekolah_wali
||
!
$ortu
)
{
//
if (!$siswa || !$konselor || !$sekolah_wali || !$ortu) {
return
redirect
()
->
back
()
->
with
(
'gagal'
,
'Data tidak ditemukan atau sudah dihapus.'
);
//
return redirect()->back()->with('gagal', 'Data tidak ditemukan atau sudah dihapus.');
}
//
}
$where
=
[
$where
=
[
'idPSekolah'
=>
session
()
->
get
(
'idPSekolah'
),
'idPSekolah'
=>
session
()
->
get
(
'idPSekolah'
),
...
...
app/Http/Controllers/Admin/Layanan/Konseling/PembinaanController.php
View file @
86b0d4e0
...
@@ -111,9 +111,9 @@ public function __construct()
...
@@ -111,9 +111,9 @@ public function __construct()
$sekolah_wali
=
$this
->
mSekolahWali
->
where
(
'idPKKode'
,
$siswa
[
'idPKKode'
])
->
first
();
$sekolah_wali
=
$this
->
mSekolahWali
->
where
(
'idPKKode'
,
$siswa
[
'idPKKode'
])
->
first
();
$ortu
=
$this
->
mOrtu
->
where
(
'idSiswa'
,
$id
)
->
first
();
$ortu
=
$this
->
mOrtu
->
where
(
'idSiswa'
,
$id
)
->
first
();
if
(
!
$siswa
||
!
$konselor
||
!
$sekolah_wali
||
!
$ortu
)
{
//
if (!$siswa || !$konselor || !$sekolah_wali || !$ortu) {
return
redirect
()
->
back
()
->
with
(
'gagal'
,
'Data tidak ditemukan atau sudah dihapus.'
);
//
return redirect()->back()->with('gagal', 'Data tidak ditemukan atau sudah dihapus.');
}
//
}
$where
=
[
$where
=
[
'idPSekolah'
=>
session
()
->
get
(
'idPSekolah'
),
'idPSekolah'
=>
session
()
->
get
(
'idPSekolah'
),
...
...
app/Http/Controllers/Admin/Stakeholder/KonselorController.php
View file @
86b0d4e0
...
@@ -115,9 +115,9 @@ public function __construct()
...
@@ -115,9 +115,9 @@ public function __construct()
$siswa
=
$this
->
mSiswa
->
where
(
'idSKonselor'
,
$id
)
->
get
();
$siswa
=
$this
->
mSiswa
->
where
(
'idSKonselor'
,
$id
)
->
get
();
if
(
!
$guru
||
!
$konselor
||
!
$siswa
)
{
//
if (!$guru || !$konselor || !$siswa) {
return
redirect
()
->
back
()
->
with
(
'gagal'
,
'Data tidak ditemukan atau sudah dihapus.'
);
//
return redirect()->back()->with('gagal', 'Data tidak ditemukan atau sudah dihapus.');
}
//
}
$data
=
[
$data
=
[
'title'
=>
$this
->
title
,
'title'
=>
$this
->
title
,
...
...
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