[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 <!--********************************************************************************* 2 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 3 * ("License"); You may not use this file except in compliance with the License 4 * The Original Code is: vtiger CRM Open Source 5 * The Initial Developer of the Original Code is vtiger. 6 * Portions created by vtiger are Copyright (C) vtiger. 7 * All Rights Reserved. 8 * 9 ********************************************************************************/ 10 --> 11 <script language="javascript"> 12 13 function updateAllListPrice() 14 {ldelim} 15 var unitprice_array = new Array({$UNIT_PRICE_ARRAY}); 16 var fieldname_array = new Array({$FIELD_NAME_ARRAY}); 17 18 var n=unitprice_array.length; 19 var unitprice,fieldname; 20 var id; 21 var fieldinfo; 22 var checkid; 23 24 for(j=0; j<unitprice_array.length; j++) 25 {ldelim} 26 fieldinfo = fieldname_array[j].split("_"); 27 id = fieldinfo[0]; 28 checkid = "check_"+id; 29 30 unitprice=unitprice_array[j]; 31 fieldname=fieldname_array[j]; 32 updateListPrice(unitprice,fieldname,document.getElementById(checkid)); 33 {rdelim} 34 {rdelim} 35 36 </script> 37 <script language="javascript" src="modules/PriceBooks/PriceBook.js"></script> 38 <BR> 39 <BR> 40 {$PRODUCTLISTHEADER} 41 <table border="0" cellpadding="0" cellspacing="0" class="FormBorder" width="100%"> 42 <tr height="20"> 43 <td > 44 <table border="0" cellpadding="0" cellspacing="0" width="100%"> 45 <tr> 46 <td> {$RECORD_COUNTS}</td> 47 {$NAVIGATION} 48 </tr> 49 </table> 50 </td> 51 </tr> 52 <tr><td > 53 <table style="background-color: rgb(204, 204, 204);" class="small" border="0" cellpadding="3" cellspacing="1" width="90%" align="center"> 54 {$LISTHEADER} 55 {$LISTENTITY} 56 </table> 57 </td></tr> 58 <tr><td> </td></tr> 59 </form> 60 </table> 61 62 </form> 63 </table> 64 65
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Sun Feb 25 10:22:19 2007 | par Balluche grâce à PHPXref 0.7 |