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
448c7cd9
Commit
448c7cd9
authored
May 03, 2024
by
Muhammad Iskandar Java
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
view logbook kemajuan
parent
6487b28c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
app/Http/Controllers/Mahasiswa/MonevController.php
+1
-1
app/Http/Controllers/Reviewer/DaftarMonevController.php
+7
-2
No files found.
app/Http/Controllers/Mahasiswa/MonevController.php
View file @
448c7cd9
...
...
@@ -120,7 +120,7 @@ class MonevController extends Controller
$file_nama
=
$proposal
->
rProposal
->
rPeriode
->
nama
.
'_'
.
$proposal
->
rProposal
->
proposal_id
.
'.'
.
$pro
[
'file'
]
->
getClientOriginalExtension
();
Storage
::
disk
(
'
local
'
)
->
put
(
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$pro
[
'type'
]
.
'/'
.
$file_nama
,
file_get_contents
(
$pro
[
'file'
]
->
getRealPath
()));
Storage
::
disk
(
'
static
'
)
->
put
(
'simpmw/monev/'
.
$pro
[
'monev'
]
.
'/'
.
$pro
[
'type'
]
.
'/'
.
$file_nama
,
file_get_contents
(
$pro
[
'file'
]
->
getRealPath
()));
if
(
$pro
[
'type'
]
==
'logbook'
){
$proposal
->
logbook_file
=
$file_nama
;
...
...
app/Http/Controllers/Reviewer/DaftarMonevController.php
View file @
448c7cd9
...
...
@@ -90,6 +90,11 @@ class DaftarMonevController extends Controller
$data_arr
=
array
();
$path
=
[
'07cda89b-94ca-42a3-a197-8fc1260ebcfb'
=>
'monev/I'
,
'21a49a70-33bb-49f1-9fd9-ebe52fa4336c'
=>
'monev/I'
];
foreach
(
$records
as
$record
){
$monev_internal_id
=
$record
->
monev_internal_id
;
$jenis_id
=
$record
->
jenis_id
;
...
...
@@ -101,8 +106,8 @@ class DaftarMonevController extends Controller
$identitas_ketua
=
str_replace
(
'###'
,
'<br>'
,
$record
->
identitas_ketua
);
$identitas_dospem
=
str_replace
(
'###'
,
'<br>'
,
$record
->
identitas_dospem
);
$logbook
=
'<a href="
#
" class="btn btn-primary btn-sm waves-effect waves-light" role="button">Review <i class="fas fa-search"></i></a>'
;
$laporan_kemajuan
=
'<a href="
#
" class="btn btn-primary btn-sm waves-effect waves-light" role="button">Review <i class="fas fa-search"></i></a>'
;
$logbook
=
'<a href="
https://statik.unesa.ac.id/simpmw/'
.
$path
[
$record
->
jenis_monev_id
]
.
'/logbook/'
.
$record
->
logbook_file
.
'
" class="btn btn-primary btn-sm waves-effect waves-light" role="button">Review <i class="fas fa-search"></i></a>'
;
$laporan_kemajuan
=
'<a href="
https://statik.unesa.ac.id/simpmw/'
.
$path
[
$record
->
jenis_monev_id
]
.
'/kemajuan/'
.
$record
->
kemajuan_file
.
'
" class="btn btn-primary btn-sm waves-effect waves-light" role="button">Review <i class="fas fa-search"></i></a>'
;
$laporan_luaran
=
'<a href="#" class="btn btn-primary btn-sm waves-effect waves-light" role="button">Review <i class="fas fa-search"></i></a>'
;
$url
=
"https://statik.unesa.ac.id/simpmw/proposal/"
.
$record
->
periode
.
"/"
.
$record
->
upload_dokumen
;
...
...
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