From 0ded456e0149742dc40503d6dcdecb4f799cbd82 Mon Sep 17 00:00:00 2001 From: Gunawan19621 Date: Mon, 12 Feb 2024 11:06:12 +0700 Subject: [PATCH] update menu operator --- .../History/Peminjaman/index.blade.php | 2 +- .../History/Pengembalian/index.blade.php | 2 +- .../History/Transfer/index.blade.php | 2 +- .../dashboard/Pengembalian/edit.blade.php | 2 +- .../user/Master_Data/Customer/index.blade.php | 86 +++++++++++++++--- .../kondisi_peti/index.blade.php | 85 +++++++++++++++--- .../Manajemen_Peti/tipe_peti/index.blade.php | 84 +++++++++++++++--- .../Master_Data/Warehouse/index.blade.php | 87 +++++++++++++++---- .../user/dashboard/disposal/index.blade.php | 77 ++++++++++++++-- 9 files changed, 360 insertions(+), 67 deletions(-) diff --git a/resources/views/dashboard/History/Peminjaman/index.blade.php b/resources/views/dashboard/History/Peminjaman/index.blade.php index d5f5345..5fdeb32 100644 --- a/resources/views/dashboard/History/Peminjaman/index.blade.php +++ b/resources/views/dashboard/History/Peminjaman/index.blade.php @@ -13,7 +13,7 @@
-
Histori Peminjaman
+
Histori Peti Out
diff --git a/resources/views/dashboard/History/Pengembalian/index.blade.php b/resources/views/dashboard/History/Pengembalian/index.blade.php index f02c05c..5566aa7 100644 --- a/resources/views/dashboard/History/Pengembalian/index.blade.php +++ b/resources/views/dashboard/History/Pengembalian/index.blade.php @@ -13,7 +13,7 @@
-
Histori Pengembalian
+
Histori Peti In
diff --git a/resources/views/dashboard/History/Transfer/index.blade.php b/resources/views/dashboard/History/Transfer/index.blade.php index 969b221..e08ca4c 100644 --- a/resources/views/dashboard/History/Transfer/index.blade.php +++ b/resources/views/dashboard/History/Transfer/index.blade.php @@ -13,7 +13,7 @@
-
Histori Transfer
+
Histori Transfer Peti
diff --git a/resources/views/dashboard/Pengembalian/edit.blade.php b/resources/views/dashboard/Pengembalian/edit.blade.php index 636f558..b654d5f 100644 --- a/resources/views/dashboard/Pengembalian/edit.blade.php +++ b/resources/views/dashboard/Pengembalian/edit.blade.php @@ -5,7 +5,7 @@
-
Pengembalian Peti
+
Edit Pengembalian Peti
diff --git a/resources/views/pages/user/Master_Data/Customer/index.blade.php b/resources/views/pages/user/Master_Data/Customer/index.blade.php index a57ee09..a446365 100644 --- a/resources/views/pages/user/Master_Data/Customer/index.blade.php +++ b/resources/views/pages/user/Master_Data/Customer/index.blade.php @@ -1,14 +1,39 @@
-
+ +
-
Data Customer
+ +
+ + + + +
+
+
+ +
+ + + + +
-
-
- +
@@ -19,21 +44,54 @@ - @php - $nocustomer = 1; - @endphp - @forelse ($customer as $data_customer) + @forelse ($customers as $data_customer) - - - - - + + + + + @empty + + + @endforelse
No
{{ $nocustomer++ }}{{ $data_customer->name }}{{ $data_customer->code_customer }}{{ $data_customer->no_tlp }}{{ $data_customer->address }}{{ $i++ }}{{ optional($data_customer)->name }}{{ optional($data_customer)->code_customer }}{{ optional($data_customer)->no_tlp }}{{ optional($data_customer)->address }}
Data Kosong
+
+
+ + @if (!$customers->isEmpty()) +

Showing {{ $customers->firstItem() }} to + {{ $customers->lastItem() }} of + {{ $customers->total() }} entries

+ @endif +
+
+ @if ($customers->total() > $customers->perPage()) + + @endif +
+
diff --git a/resources/views/pages/user/Master_Data/Manajemen_Peti/kondisi_peti/index.blade.php b/resources/views/pages/user/Master_Data/Manajemen_Peti/kondisi_peti/index.blade.php index b4f9b31..eaa4ae1 100644 --- a/resources/views/pages/user/Master_Data/Manajemen_Peti/kondisi_peti/index.blade.php +++ b/resources/views/pages/user/Master_Data/Manajemen_Peti/kondisi_peti/index.blade.php @@ -1,14 +1,39 @@
-
+ +
-
Data Kondisi Peti
+ +
+ + + + +
+
+
+ +
+ + + + +
-
-
- +
@@ -17,18 +42,52 @@ - @php - $nokondisi = 1; - @endphp - @foreach ($kondisiPeti as $data_kondisiPeti) + @forelse ($kondisiPetis as $data_kondisiPeti) - - - + + + - @endforeach + @empty + + + + @endforelse
No
{{ $nokondisi++ }}{{ $data_kondisiPeti->nama_kondisi }}{{ $data_kondisiPeti->deskripsi_kondisi }}{{ $i++ }}{{ optional($data_kondisiPeti)->nama_kondisi }}{{ optional($data_kondisiPeti)->deskripsi_kondisi }}
Data Kosong
+
+
+ + @if (!$kondisiPetis->isEmpty()) +

Showing {{ $kondisiPetis->firstItem() }} to + {{ $kondisiPetis->lastItem() }} of + {{ $kondisiPetis->total() }} entries

+ @endif +
+
+ @if ($kondisiPetis->total() > $kondisiPetis->perPage()) + + @endif +
+
diff --git a/resources/views/pages/user/Master_Data/Manajemen_Peti/tipe_peti/index.blade.php b/resources/views/pages/user/Master_Data/Manajemen_Peti/tipe_peti/index.blade.php index 0b88324..4b32982 100644 --- a/resources/views/pages/user/Master_Data/Manajemen_Peti/tipe_peti/index.blade.php +++ b/resources/views/pages/user/Master_Data/Manajemen_Peti/tipe_peti/index.blade.php @@ -1,14 +1,39 @@
-
+ +
-
Data Tipe Peti
+ +
+ + + + +
+
+
+ +
+ + + + +
-
-
- +
@@ -18,20 +43,53 @@ - @php - $notype = 1; - @endphp - @forelse ($typepeti as $data_typepeti) + @forelse ($TipePetis as $data_typepeti) - - - - + + + + @empty + + + @endforelse
No
{{ $notype++ }}{{ $data_typepeti->type }}{{ $data_typepeti->size_peti }}{{ $data_typepeti->description }}{{ $i++ }}{{ optional($data_typepeti)->type }}{{ optional($data_typepeti)->size_peti }}{{ optional($data_typepeti)->description }}
Data Kosong
+
+
+ + @if (!$TipePetis->isEmpty()) +

Showing {{ $TipePetis->firstItem() }} to + {{ $TipePetis->lastItem() }} of + {{ $TipePetis->total() }} entries

+ @endif +
+
+ @if ($TipePetis->total() > $TipePetis->perPage()) + + @endif +
+
diff --git a/resources/views/pages/user/Master_Data/Warehouse/index.blade.php b/resources/views/pages/user/Master_Data/Warehouse/index.blade.php index 8f623f6..40241f0 100644 --- a/resources/views/pages/user/Master_Data/Warehouse/index.blade.php +++ b/resources/views/pages/user/Master_Data/Warehouse/index.blade.php @@ -1,16 +1,39 @@
-
+ +
-
Data Gudang
+ +
+ + + + +
-
+
+ +
+ + + + +
-
-
- +
@@ -20,19 +43,53 @@ - @php - $nowarehouses = 1; - @endphp - @foreach ($warehouses as $data) + @forelse ($warehouse as $data) + + + + + + + @empty - - - - + - @endforeach + @endforelse
No.
{{ $i++ }}{{ optional($data)->name }}{{ optional($data)->description }}{{ optional($data)->address }}
{{ $nowarehouses++ }}{{ $data->name }}{{ $data->description }}{{ $data->address }}Data Kosong
+
+
+ + @if (!$warehouse->isEmpty()) +

Showing {{ $warehouse->firstItem() }} to + {{ $warehouse->lastItem() }} of + {{ $warehouse->total() }} entries

+ @endif +
+
+ @if ($warehouse->total() > $warehouse->perPage()) + + @endif +
+
diff --git a/resources/views/pages/user/dashboard/disposal/index.blade.php b/resources/views/pages/user/dashboard/disposal/index.blade.php index 6b2888d..d6d6672 100644 --- a/resources/views/pages/user/dashboard/disposal/index.blade.php +++ b/resources/views/pages/user/dashboard/disposal/index.blade.php @@ -7,8 +7,37 @@
+
+
+ +
+ + + + +
+
+
+ +
+ + + + +
+
+
- +
@@ -19,22 +48,54 @@ - @php - $nodisposal = 1; - @endphp - @forelse ($disposal as $data_disposal) + @forelse ($disposals as $data_disposal) - + - + @empty + + + @endforelse
No
{{ $nodisposal++ }}{{ $i++ }} {{ optional($data_disposal->peti)->fix_lot }} {{ optional($data_disposal->customer)->name }} {{ \Carbon\Carbon::parse($data_disposal->date_disposal)->format('d-m-Y') }}{{ $data_disposal->description }}{{ optional($data_disposal)->description }}
Data Kosong
- +
+
+
+ + @if (!$disposals->isEmpty()) +

Showing {{ $disposals->firstItem() }} to + {{ $disposals->lastItem() }} of + {{ $disposals->total() }} entries

+ @endif +
+
+ @if ($disposals->total() > $disposals->perPage()) + + @endif +