From 2d9a9e34d040b8a19eb48d6cd99e4f6f129a6793 Mon Sep 17 00:00:00 2001 From: Gunawan19621 Date: Thu, 14 Dec 2023 22:14:42 +0700 Subject: [PATCH] update datatable dan perbaikan halaman --- app/Http/Controllers/HomeController.php | 1 + .../views/dashboard/Disposal/index.blade.php | 3 +- .../History/Peminjaman/index.blade.php | 6 - .../History/Pengembalian/index.blade.php | 1 - .../Manajemen_Peti/Peti/index.blade.php | 11 +- .../Report/Pattern_lot_peti/index.blade.php | 6 - .../dashboard/Peminjaman/index.blade.php | 6 - .../dashboard/Pengembalian/index.blade.php | 1 - resources/views/dashboard/index.blade.php | 231 +++++++++++++++++- .../pages/layouts/sidebar_user.blade.php | 4 +- .../Manajemen_Peti/Peti/index.blade.php | 83 ++++++- .../user/dashboard/disposal/index.blade.php | 9 +- resources/views/profil/profil.blade.php | 3 +- 13 files changed, 309 insertions(+), 56 deletions(-) diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php index 56739f4..329f3b5 100644 --- a/app/Http/Controllers/HomeController.php +++ b/app/Http/Controllers/HomeController.php @@ -91,6 +91,7 @@ class HomeController extends Controller return compact('years', 'exitData', 'enterData', 'monthNames'); } + //data pertahun untuk pie chart public function generateChartDataPie() { $years = []; diff --git a/resources/views/dashboard/Disposal/index.blade.php b/resources/views/dashboard/Disposal/index.blade.php index 85167a0..c443f28 100644 --- a/resources/views/dashboard/Disposal/index.blade.php +++ b/resources/views/dashboard/Disposal/index.blade.php @@ -21,7 +21,6 @@ Disposal Peti - @@ -48,7 +47,7 @@ {{ $nodisposal++ }} {{ optional($data_disposal->peti)->fix_lot }} {{ optional($data_disposal->customer)->name }} - {{ \Carbon\Carbon::parse($data_disposal->date_disposal)->format('d/m/Y') }} + {{ \Carbon\Carbon::parse($data_disposal->date_disposal)->format('d-m-Y') }} {{ $data_disposal->description }} {{-- {{ $data_disposal->status_disposal }} --}} diff --git a/resources/views/dashboard/History/Peminjaman/index.blade.php b/resources/views/dashboard/History/Peminjaman/index.blade.php index 12f6170..8a415e8 100644 --- a/resources/views/dashboard/History/Peminjaman/index.blade.php +++ b/resources/views/dashboard/History/Peminjaman/index.blade.php @@ -29,12 +29,6 @@ - - - - diff --git a/resources/views/dashboard/History/Pengembalian/index.blade.php b/resources/views/dashboard/History/Pengembalian/index.blade.php index 447f36b..bcb978e 100644 --- a/resources/views/dashboard/History/Pengembalian/index.blade.php +++ b/resources/views/dashboard/History/Pengembalian/index.blade.php @@ -29,7 +29,6 @@ - diff --git a/resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/index.blade.php b/resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/index.blade.php index ac0afd1..13080dd 100644 --- a/resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/index.blade.php +++ b/resources/views/dashboard/Master_Data/Manajemen_Peti/Peti/index.blade.php @@ -53,13 +53,6 @@ - - - - @@ -122,8 +115,8 @@ -
+ @csrf @method('DELETE')