diff --git a/app/Http/Controllers/Karyawan/LaporanController.php b/app/Http/Controllers/Karyawan/LaporanController.php index 12c83de..266a1a6 100644 --- a/app/Http/Controllers/Karyawan/LaporanController.php +++ b/app/Http/Controllers/Karyawan/LaporanController.php @@ -14,7 +14,7 @@ class LaporanController extends Controller //Halaman Laporan public function laporan() { - $laporan = transaksi::where('user_id', Auth::id())->whereIn('status_order',['Done','Delivery'])->get(); + $laporan = transaksi::where('user_id', Auth::id())->get(); return view('karyawan.laporan.index', compact('laporan')); } diff --git a/resources/views/karyawan/laporan/index.blade.php b/resources/views/karyawan/laporan/index.blade.php index 41751dc..2bcef9a 100644 --- a/resources/views/karyawan/laporan/index.blade.php +++ b/resources/views/karyawan/laporan/index.blade.php @@ -15,6 +15,7 @@