Parcourir la source

fix: pagination customer

Muhammad Iqbal Afandi il y a 3 ans
Parent
révision
8cd4f5bc5c
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1
    1
      app/Http/Controllers/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerController.php Voir le fichier

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) => [