diff --git a/app/Services/Client/Statement.php b/app/Services/Client/Statement.php index daafb5bb49..7c25252047 100644 --- a/app/Services/Client/Statement.php +++ b/app/Services/Client/Statement.php @@ -172,7 +172,7 @@ class Statement $item->tax_rate1 = 5; } - $product = Product::all()->random(); + $product = Product::first(); $item->cost = (float) $product->cost; $item->product_key = $product->product_key;