Преглед на файлове

fix: pagination customer

Muhammad Iqbal Afandi преди 3 години
родител
ревизия
8cd4f5bc5c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1
    1
      app/Http/Controllers/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerController.php Целия файл

@@ -85,7 +85,7 @@ class CustomerController extends Controller
85 85
                     request()->only("start_date", "end_date", "product_number")
86 86
                 )
87 87
                 ->latest()
88
-                ->paginate(1)
88
+                ->paginate(10)
89 89
                 ->withQueryString()
90 90
                 ->through(
91 91
                     fn($sale) => [