[Vtigercrm-commits] [vtiger-commits] r7961 - /vtigercrm/trunk/install/populateSeedData.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Wed Jul 12 02:29:01 EDT 2006
Author: saraj
Date: Wed Jul 12 00:28:56 2006
New Revision: 7961
Log:
Updated the demo data for product module
Modified:
vtigercrm/trunk/install/populateSeedData.php
Modified: vtigercrm/trunk/install/populateSeedData.php
==============================================================================
--- vtigercrm/trunk/install/populateSeedData.php (original)
+++ vtigercrm/trunk/install/populateSeedData.php Wed Jul 12 00:28:56 2006
@@ -452,7 +452,7 @@
$category = "Hardware";
$website = "";
$manufacturer = "";
- $commission_rate= rand(10,99);
+ $commission_rate= rand(10,20);
$unit_price = rand(100,999);
$product_image_name = '';
}
@@ -461,13 +461,13 @@
$account_key = array_rand($account_ids);
$product->column_fields["parent_id"]=$account_ids[$account_key];
- $usageunit = "";
- $qty_per_unit = "";
- $qty_in_stock = "";
+ $usageunit = "Each";
+ $qty_per_unit = 1;
+ $qty_in_stock = rand(10000, 99999);
$category = "Software";
$website = "www.vtiger.com";
$manufacturer = "vtiger";
- $commission_rate= 0;
+ $commission_rate= rand(1,10);
$unit_price = $subscription_rate[$i];
$product_image_name = $product_image_array[$i];
}
More information about the vtigercrm-commits
mailing list