Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
simpmw
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
Alfiro Pratama
simpmw
Commits
d4d3b0a3
Commit
d4d3b0a3
authored
3 weeks ago
by
Alfiro Pratama
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
15 slot per dosen
parent
a7842531
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/Http/Controllers/Api/DosenController.php
+2
-2
No files found.
app/Http/Controllers/Api/DosenController.php
View file @
d4d3b0a3
...
...
@@ -38,7 +38,7 @@ class DosenController extends Controller
->
whereYear
(
'created_at'
,
$periode
->
nama
)
->
count
();
$slot_tersisa
=
max
(
0
,
1
0
-
$jumlah_bimbingan
);
$slot_tersisa
=
max
(
0
,
1
5
-
$jumlah_bimbingan
);
$status_slot
=
$slot_tersisa
==
0
?
'<span style="color: red; font-weight: bold;">(Slot Bimbingan Penuh)</span>'
:
"(Slot Bimbingan:
$slot_tersisa
slot)"
;
$itemData
=
[
...
...
@@ -48,7 +48,7 @@ class DosenController extends Controller
'description'
=>
$item
[
'prodi'
]
.
'<span style="margin-left: 2em">-</span><i style="margin-left: 2em">'
.
$status_slot
.
'</i>'
,
'nidn'
=>
$item
[
'nidn'
],
'bimbingan_count'
=>
$jumlah_bimbingan
,
'disabled'
=>
$jumlah_bimbingan
>=
1
0
?
true
:
false
,
'disabled'
=>
$jumlah_bimbingan
>=
1
5
?
true
:
false
,
];
$items
[]
=
$itemData
;
...
...
This diff is collapsed.
Click to expand it.
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