Bladeren bron

fix: pagination customer

Muhammad Iqbal Afandi 4 jaren geleden
bovenliggende
commit
8cd4f5bc5c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1
    1
      app/Http/Controllers/CustomerController.php

+ 1
- 1
app/Http/Controllers/CustomerController.php Bestand weergeven

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