Commit 6a74ac36 by Alfiro Pratama

Excel Export Daftar Proposal Seleksi Internal

parent 1b7d8a17
...@@ -98,6 +98,7 @@ class DaftarProposalExport implements FromView ...@@ -98,6 +98,7 @@ class DaftarProposalExport implements FromView
$result[$x]['judul'] = $value->judul; $result[$x]['judul'] = $value->judul;
$result[$x]['dospem'] = $dospem; $result[$x]['dospem'] = $dospem;
$result[$x]['link'] = $url; $result[$x]['link'] = $url;
$result[$x]['video'] = $value->url;
$result[$x]['status'] = $status_final; $result[$x]['status'] = $status_final;
$result[$x]['rata'] = $value->rata; $result[$x]['rata'] = $value->rata;
$result[$x]['email_dospem'] = end($data_dospem); $result[$x]['email_dospem'] = end($data_dospem);
......
...@@ -11,20 +11,21 @@ ...@@ -11,20 +11,21 @@
<table border="1"> <table border="1">
<thead> <thead>
<tr> <tr>
<td style="border: 1px solid #000000;"><strong>No</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>No</strong></td>
<td style="border: 1px solid #000000;"><strong>Kode Kelompok</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Kode Kelompok</strong></td>
<td style="border: 1px solid #000000;"><strong>Kategori PMW</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Kategori PMW</strong></td>
<td style="border: 1px solid #000000;"><strong>Fak.</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Fak.</strong></td>
<td style="border: 1px solid #000000;"><strong>Nama</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Nama</strong></td>
<td style="border: 1px solid #000000;"><strong>NIM</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>NIM</strong></td>
<td style="border: 1px solid #000000;"><strong>Ketua/Anggota</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Ketua/Anggota</strong></td>
<td style="border: 1px solid #000000;"><strong>Email Ketua</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Email Ketua</strong></td>
<td style="border: 1px solid #000000;"><strong>Judul Proposal</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Judul Proposal</strong></td>
<td style="border: 1px solid #000000;"><strong>Dosen Pembimbing</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Dosen Pembimbing</strong></td>
<td style="border: 1px solid #000000;"><strong>Email Dosen Pembimbing</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Email Dosen Pembimbing</strong></td>
<td style="border: 1px solid #000000;"><strong>Link Proposal</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Link Proposal</strong></td>
<td style="border: 1px solid #000000;"><strong>Status {{ $jenis_monev }}</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Link Video</strong></td>
<td style="border: 1px solid #000000;"><strong>Nilai Akhir</strong></td> <td style="border: 1px solid #000000; text-align: center;"><strong>Status {{ $jenis_monev }}</strong></td>
<td style="border: 1px solid #000000; text-align: center;"><strong>Nilai Akhir</strong></td>
</tr> </tr>
</thead> </thead>
<tbody> <tbody>
...@@ -51,6 +52,13 @@ ...@@ -51,6 +52,13 @@
<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['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;">{{ $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;"><a href="{{ $proposal['link'] }}" target="_blank">Link</a></th>
<th rowspan="{{ $proposal['rowspan'] }}" style="vertical-align: top; border: 1px solid #000000;">
@if (Str::contains($proposal['video'] ?? '', ['https', 'http', 'www', '.com']))
<a href="{{ $proposal['video'] }}" target="_blank">Link</a>
@else
<a style="font-style: italic;">Tidak mencantumkan link video produk.</a>
@endif
</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['status'] }}</th>
<th rowspan="{{ $proposal['rowspan'] }}" style="vertical-align: top; border: 1px solid #000000;">{{ $proposal['rata'] }}</th> <th rowspan="{{ $proposal['rowspan'] }}" style="vertical-align: top; border: 1px solid #000000;">{{ $proposal['rata'] }}</th>
</tr> </tr>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment