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
84444659
Commit
84444659
authored
Feb 28, 2023
by
novanbagus
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update cetak internal
parent
56f23897
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
2 deletions
+11
-2
app/Exports/DaftarProposalExport.php
+7
-2
resources/views/backend/operator/daftar_proposal/excel.blade.php
+4
-0
No files found.
app/Exports/DaftarProposalExport.php
View file @
84444659
...
...
@@ -48,9 +48,12 @@ class DaftarProposalExport implements FromView,ShouldAutoSize
$result
=
[];
$no
=
0
;
$dospem
=
''
;
foreach
(
$data
as
$key
=>
$value
)
{
$dospem
=
"("
.
str_replace
(
"###"
,
") "
,
$value
->
identitas_dospem
);
// $dospem = "(".str_replace("###",") ",$value->identitas_dospem);
$data_dospem
=
explode
(
'###'
,
$value
->
identitas_dospem
);
$data_ketua
=
explode
(
'###'
,
$value
->
identitas_ketua
);
$dospem
=
"("
.
$data_dospem
[
0
]
.
") "
.
$data_dospem
[
1
];
$url
=
"https://statik.unesa.ac.id/simpkm/proposal/"
.
$value
->
periode
.
"/"
.
$value
->
upload_dokumen
;
if
(
$value
->
status_final
==
'1'
)
...
...
@@ -85,6 +88,8 @@ class DaftarProposalExport implements FromView,ShouldAutoSize
$result
[
$no
][
'link'
]
=
$url
;
$result
[
$no
][
'status'
]
=
$status_final
;
$result
[
$no
][
'rata'
]
=
$value
->
rata
;
$result
[
$no
][
'email_dospem'
]
=
end
(
$data_dospem
);
$result
[
$no
][
'email_ketua'
]
=
end
(
$data_ketua
);
$no
++
;
}
...
...
resources/views/backend/operator/daftar_proposal/excel.blade.php
View file @
84444659
...
...
@@ -8,8 +8,10 @@
<td
style=
"border: 1px solid #000000;"
><strong>
Nama
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
NIM
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Ketua/Anggota
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Email Ketua
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Judul Proposal
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Dosen Pembimbing
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Email Dosen Pembimbing
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Link Proposal
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Status {{ $jenis_monev }}
</strong></td>
<td
style=
"border: 1px solid #000000;"
><strong>
Nilai Akhir
</strong></td>
...
...
@@ -30,8 +32,10 @@
<th
style=
"border: 1px solid #000000;"
>
{{ $proposal['nama'] }}
</th>
<th
style=
"border: 1px solid #000000;"
>
{{ $proposal['nim'] }}
</th>
<th
style=
"border: 1px solid #000000;"
>
{{ $proposal['keanggotaan'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['email_ketua'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['judul'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['dospem'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['email_dospem'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
><a
href=
"{{ $proposal['link'] }}"
target=
"_blank"
>
Link
</a></th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['status'] }}
</th>
<th
rowspan=
"{{ $proposal['rowspan'] }}"
style=
"vertical-align: top; border: 1px solid #000000;"
>
{{ $proposal['rata'] }}
</th>
...
...
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