Explorar el Código

fix: pagination customer

Muhammad Iqbal Afandi hace 3 años
padre
commit
8cd4f5bc5c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1
    1
      app/Http/Controllers/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerController.php Ver fichero

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