From 8de6c4f4d7ecaf3611dc9b396c52b558aef08b8d Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 17 Sep 2003 16:19:58 +0000 Subject: [PATCH] Modif --- htdocs/admin/system/gendata.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/admin/system/gendata.php b/htdocs/admin/system/gendata.php index d6f4c8c7bd7..18ce53f65d8 100644 --- a/htdocs/admin/system/gendata.php +++ b/htdocs/admin/system/gendata.php @@ -74,7 +74,7 @@ if ($action == 'product') if ($action == 'facture') { - $randf = rand(1,200); + $randf = rand(1,2); print "Génère $randf factures
"; for ($f = 0 ; $f < $randf ; $f++) @@ -91,7 +91,7 @@ if ($action == 'facture') $facture->cond_reglement = 1; $facture->remise_percent = rand(0,50); - $prand = rand(1,20); + $prand = rand(1,200); for ($p = 0 ; $p < $prand ; $p++) { $pidrand = rand(1, sizeof($productsid)-1);