@@ -299,23 +300,49 @@
: (expiryStatus === 'soon' ? `Akan Expired` : '');
return `
+
|
|
+
+
+ |
+
${item.no_dokumen || '-'} |
+ `;
+ openPreview(idDirectory);
+ const deleteWrapper = document.getElementById('deleteData');
+
+ if (Number(pegawai_id_entry) === Number(authPegawai)) {
+ deleteWrapper.classList.remove('d-none');
+ } else {
+ deleteWrapper.classList.add('d-none');
+ }
+ $("#previewModal").modal('show')
+ }
@endsection
diff --git a/resources/views/dataUnit/index.blade.php b/resources/views/dataUnit/index.blade.php
index 1c5e3aa..84f7dd4 100644
--- a/resources/views/dataUnit/index.blade.php
+++ b/resources/views/dataUnit/index.blade.php
@@ -42,7 +42,7 @@
- Data Unit
+ Dokumen Unit
|
@@ -214,7 +215,7 @@
selectionCssClass: 'select2-filter-selection',
dropdownCssClass: 'select2-filter-dropdown',
ajax: {
- url: '/select-unit-kerja-option',
+ url: '/select-unit-kerja-mapping',
dataType: 'json',
delay: 250,
data: function (params) {
@@ -310,12 +311,38 @@
data-id="${item.file_directory_id}"
${checked}>
+
+
+ |
${item.no_dokumen || '-'} |
-
+
+ `;
+ openPreview(idDirectory);
+ const deleteWrapper = document.getElementById('deleteData');
+
+ if (Number(pegawai_id_entry) === Number(authPegawai)) {
+ deleteWrapper.classList.remove('d-none');
+ } else {
+ deleteWrapper.classList.add('d-none');
+ }
+ $("#previewModal").modal('show')
+ }
@endsection
diff --git a/resources/views/dataUnit/modal/create.blade.php b/resources/views/dataUnit/modal/create.blade.php
index 9f254db..0af6ece 100644
--- a/resources/views/dataUnit/modal/create.blade.php
+++ b/resources/views/dataUnit/modal/create.blade.php
@@ -63,7 +63,7 @@
-
+
diff --git a/resources/views/layout/main.blade.php b/resources/views/layout/main.blade.php
index 48e0bd2..2e6dba7 100644
--- a/resources/views/layout/main.blade.php
+++ b/resources/views/layout/main.blade.php
@@ -25,7 +25,7 @@
.modal-content,
.modal-body,
.message-body {
- color-scheme: black;
+ color-scheme: light;
scrollbar-color: auto;
scrollbar-width: auto;
}
diff --git a/resources/views/layout/partials/sidenav.blade.php b/resources/views/layout/partials/sidenav.blade.php
index 61d3f3a..b5cc4a6 100644
--- a/resources/views/layout/partials/sidenav.blade.php
+++ b/resources/views/layout/partials/sidenav.blade.php
@@ -31,14 +31,14 @@
diff --git a/resources/views/logActivity/index.blade.php b/resources/views/logActivity/index.blade.php
index 92e7400..da1348d 100644
--- a/resources/views/logActivity/index.blade.php
+++ b/resources/views/logActivity/index.blade.php
@@ -48,10 +48,9 @@
File |
Kategori |
Unit |
- Sub Unit |
Pengunggah |
- Jumlah Pegawai Melihat |
- Jumlah Pegawai Mengunduh |
+ Jumlah User Melihat |
+ Jumlah User Mengunduh |
@@ -106,7 +105,6 @@ document.addEventListener('DOMContentLoaded', () => {
${item.nama_dokumen || '-'} |
${item.kategori || '-'} |
${item.unit || '-'} |
- ${item.sub_unit || '-'} |
${item.pengunggah || '-'} |
${totalViews} |
${item.total_download} |
diff --git a/resources/views/pengajuanFile/index.blade.php b/resources/views/pengajuanFile/index.blade.php
index d71e280..6a43948 100644
--- a/resources/views/pengajuanFile/index.blade.php
+++ b/resources/views/pengajuanFile/index.blade.php
@@ -50,7 +50,7 @@
Akses |
Nama |
Kategori |
- Unit/Sub Unit |
+ Unit |
Tanggal Terbit |
Tanggal Expired |
Tanggal Upload |
|