Commit 84444659 by novanbagus

update cetak internal

parent 56f23897
...@@ -48,9 +48,12 @@ class DaftarProposalExport implements FromView,ShouldAutoSize ...@@ -48,9 +48,12 @@ class DaftarProposalExport implements FromView,ShouldAutoSize
$result = []; $result = [];
$no = 0; $no = 0;
$dospem = '';
foreach ($data as $key => $value) { 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; $url = "https://statik.unesa.ac.id/simpkm/proposal/".$value->periode."/".$value->upload_dokumen;
if($value->status_final == '1') if($value->status_final == '1')
...@@ -85,6 +88,8 @@ class DaftarProposalExport implements FromView,ShouldAutoSize ...@@ -85,6 +88,8 @@ class DaftarProposalExport implements FromView,ShouldAutoSize
$result[$no]['link'] = $url; $result[$no]['link'] = $url;
$result[$no]['status'] = $status_final; $result[$no]['status'] = $status_final;
$result[$no]['rata'] = $value->rata; $result[$no]['rata'] = $value->rata;
$result[$no]['email_dospem'] = end($data_dospem);
$result[$no]['email_ketua'] = end($data_ketua);
$no++; $no++;
} }
......
...@@ -8,8 +8,10 @@ ...@@ -8,8 +8,10 @@
<td style="border: 1px solid #000000;"><strong>Nama</strong></td> <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>NIM</strong></td>
<td style="border: 1px solid #000000;"><strong>Ketua/Anggota</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>Judul Proposal</strong></td>
<td style="border: 1px solid #000000;"><strong>Dosen Pembimbing</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>Link Proposal</strong></td>
<td style="border: 1px solid #000000;"><strong>Status {{ $jenis_monev }}</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> <td style="border: 1px solid #000000;"><strong>Nilai Akhir</strong></td>
...@@ -30,8 +32,10 @@ ...@@ -30,8 +32,10 @@
<th style="border: 1px solid #000000;">{{ $proposal['nama'] }}</th> <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['nim'] }}</th>
<th style="border: 1px solid #000000;">{{ $proposal['keanggotaan'] }}</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['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['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;">{{ $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>
......
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