[Mahasiswa] Penambahan Cetak KRS, KHS, dan Transkrip
This commit is contained in:
@@ -14,15 +14,18 @@
|
||||
<x-ui.page-header title="Kartu Rencana Studi" :description="$description">
|
||||
@if ($krs['matkul']->isNotEmpty())
|
||||
<x-slot:actions>
|
||||
<x-ui.button variant="secondary" icon="printer" x-data x-on:click="window.print()">Cetak</x-ui.button>
|
||||
<x-ui.button variant="secondary" icon="printer" :href="route('mahasiswa.krs.cetak', ['semester' => $krs['konteks']['idperiode']])" target="_blank" rel="noopener">Cetak</x-ui.button>
|
||||
</x-slot:actions>
|
||||
@endif
|
||||
</x-ui.page-header>
|
||||
|
||||
@if (! $krs['periode'])
|
||||
<x-glass.panel padding="lg">
|
||||
<x-ui.empty icon="clipboard-document-list" title="Belum ada periode perkuliahan aktif" :description="$krs['alasan']" />
|
||||
</x-glass.panel>
|
||||
<div class="stack">
|
||||
<x-glass.panel padding="lg">
|
||||
<x-ui.empty icon="clipboard-document-list" title="Belum ada periode perkuliahan aktif" :description="$krs['alasan']" />
|
||||
</x-glass.panel>
|
||||
@include('mahasiswa.partials.krs-riwayat')
|
||||
</div>
|
||||
@else
|
||||
<div class="stack">
|
||||
@error('krs')
|
||||
@@ -185,6 +188,8 @@
|
||||
@endif
|
||||
</x-glass.panel>
|
||||
@endif
|
||||
|
||||
@include('mahasiswa.partials.krs-riwayat')
|
||||
</div>
|
||||
@endif
|
||||
</x-layouts.app>
|
||||
|
||||
Reference in New Issue
Block a user