瀏覽代碼

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