diff --git a/app/Http/Controllers/MarhunController.php b/app/Http/Controllers/MarhunController.php
index 9a7942e7..092a8516 100644
--- a/app/Http/Controllers/MarhunController.php
+++ b/app/Http/Controllers/MarhunController.php
@@ -610,6 +610,7 @@ class MarhunController extends Controller
->join('cawangan', 'cawangan_lelong.caw_id', '=', 'cawangan.id')
->where('cawangan.caw_code', $user->kodcaw)
->where('sts_lelong', 0)
+ ->orderBy('lelong_id', 'asc')
->get();
// $lelong = Lelong::orderBy('id', 'desc')->get();
@@ -627,6 +628,7 @@ class MarhunController extends Controller
->where('cawangan.caw_code', $user->kodcaw)
->where('sts_lelong', 0)
->select('lelong_id', 'tarikh_lelong', 'cawangan_lelong.masatamat_lelong', 'harga_emas_asas', 'jbg', 'cajlelong', 'sts_lelong')
+ ->orderBy('lelong_id', 'asc')
->get()
->toArray();
diff --git a/resources/views/marhun/senarailelongscan.blade.php b/resources/views/marhun/senarailelongscan.blade.php
index e1a6aee0..0d8412ca 100644
--- a/resources/views/marhun/senarailelongscan.blade.php
+++ b/resources/views/marhun/senarailelongscan.blade.php
@@ -4,90 +4,74 @@
-
-
-
-
@endsection
\ No newline at end of file
diff --git a/resources/views/marhun/senarailelongterimaserah.blade.php b/resources/views/marhun/senarailelongterimaserah.blade.php
index f1a7544b..4700898e 100644
--- a/resources/views/marhun/senarailelongterimaserah.blade.php
+++ b/resources/views/marhun/senarailelongterimaserah.blade.php
@@ -7,11 +7,8 @@
@@ -25,32 +22,40 @@
{{ $message }}
@endif
-
-
- Bil
- Batch Lelong
- Tarikh Lelong
- Status Lelong
- Tindakan
-
-
- @foreach ($lelong as $index)
-
- {{$loop->iteration}}
- {{$index->lelong_id}}
- {{$index->tarikh_lelong}}
- @if($index->sts_lelong == 0)
-
- LELONG BELUM BERMULA
-
- @endif
-
-
-
-
- @endforeach
-
-
+
+
+
+ Bil
+ Batch Lelong
+ Tarikh Lelong
+ Status Lelong
+ Tindakan
+
+
+ @foreach ($lelong as $index)
+
+ {{$loop->iteration}}
+ {{$index->lelong_id}}
+
+ @php
+ $myDateTime = DateTime::createFromFormat('Y-m-d', $index->tarikh_lelong );
+ $t_lelong = $myDateTime->format('d-m-Y');
+ echo($t_lelong);
+ @endphp
+
+ @if($index->sts_lelong == 0)
+
+ LELONG BELUM BERMULA
+
+ @endif
+
+
+
+
+ @endforeach
+
+
+
diff --git a/resources/views/marhun/terimaserahmarhun.blade.php b/resources/views/marhun/terimaserahmarhun.blade.php
index 0dceeeef..a490dda6 100644
--- a/resources/views/marhun/terimaserahmarhun.blade.php
+++ b/resources/views/marhun/terimaserahmarhun.blade.php
@@ -7,11 +7,11 @@