[Vtigercrm-commits] [vtiger-commits] r4497 - /vtigercrm/trunk/modules/PriceBooks/PriceBook.php
vtigercrm-commits at vtiger.fosslabs.com
vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 23:42:51 EST 2006
Author: saraj
Date: Mon Mar 27 21:42:46 2006
New Revision: 4497
Log:
junk code has been removed
Modified:
vtigercrm/trunk/modules/PriceBooks/PriceBook.php
Modified: vtigercrm/trunk/modules/PriceBooks/PriceBook.php
==============================================================================
--- vtigercrm/trunk/modules/PriceBooks/PriceBook.php (original)
+++ vtigercrm/trunk/modules/PriceBooks/PriceBook.php Mon Mar 27 21:42:46 2006
@@ -78,10 +78,7 @@
$button = '';
- $button .= '<input title="Select Products" accessyKey="F" class="button" onclick="this.form.action.value=\'AddProductsToPriceBook\';this.form.module.value=\'Products\';this.form.return_module.value=\'PriceBooks\';this.form.return_action.value=\'DetailView\'" type="submit" name="button" value="'.$app_strings['LBL_SELECT_PRODUCT_BUTTON_LABEL'].'"> ';
-
$returnset = '&return_module=PriceBooks&return_action=DetailView&return_id='.$id;
-
$query = 'select products.productid, products.productname, products.productcode, products.commissionrate, products.qty_per_unit, products.unit_price, crmentity.crmid, crmentity.smownerid,pricebookproductrel.listprice from products inner join pricebookproductrel on products.productid = pricebookproductrel.productid inner join crmentity on crmentity.crmid = products.productid inner join pricebook on pricebook.pricebookid = pricebookproductrel.pricebookid where pricebook.pricebookid = '.$id.' and crmentity.deleted = 0';
return getPriceBookRelatedProducts($query,$focus,$returnset);
More information about the vtigercrm-commits
mailing list