Add PDF preview feature and improve permohonan management

Introduced a "Preview" button for jaminan documents to view PDFs directly. Refactored Permohonan management to include a show view and print functionality, and updated relevant views and routes accordingly.
This commit is contained in:
Daeng Deni Mardaeni
2024-10-31 14:14:48 +07:00
parent 5343c424b1
commit 1d1492b636
6 changed files with 44 additions and 30 deletions

View File

@@ -277,6 +277,12 @@
$trail->push('Permohonan', route('permohonan.index'));
});
Breadcrumbs::for('permohonan.show', function (BreadcrumbTrail $trail) {
$trail->parent('permohonan.index');
$trail->push('Show Permohonan');
});
Breadcrumbs::for('permohonan.create', function (BreadcrumbTrail $trail) {
$trail->parent('permohonan.index');
$trail->push('Tambah Permohonan', route('permohonan.create'));