[ Index ]
 

Code source de vtiger CRM 5.0.2

Accédez au Source d'autres logiciels libresSoutenez Angelica Josefina !

title

Body

[fermer]

/modules/Quotes/ -> Quote.js (source)

   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  document.write("<script type='text/javascript' src='include/js/Inventory.js'></"+"script>");
  12  
  13  
  14  function set_return(product_id, product_name) {
  15          window.opener.document.EditView.parent_name.value = product_name;
  16          window.opener.document.EditView.parent_id.value = product_id;
  17  }
  18  
  19  function set_return_specific(product_id, product_name) {
  20          
  21          var fldName = getOpenerObj("quote_name");
  22          var fldId = getOpenerObj("quote_id");
  23          fldName.value = product_name;
  24          fldId.value = product_id;
  25          window.opener.document.EditView.action.value = 'EditView';
  26          window.opener.document.EditView.convertmode.value = 'update_quote_val';
  27      window.opener.document.EditView.submit();
  28      
  29  }
  30  function add_data_to_relatedlist(entity_id,recordid) {
  31  
  32          opener.document.location.href="index.php?module=Emails&action=updateRelations&destination_module=Accounts&entityid="+entity_id+"&parid="+recordid;
  33  }
  34  function set_return_formname_specific(formname,product_id, product_name) {
  35          window.opener.document.EditView1.quote_name.value = product_name;
  36          window.opener.document.EditView1.quote_id.value = product_id;
  37  }
  38  function set_return_todo(product_id, product_name) {
  39          window.opener.document.createTodo.task_parent_name.value = product_name;
  40          window.opener.document.createTodo.task_parent_id.value = product_id;
  41  }
  42  


Généré le : Sun Feb 25 10:22:19 2007 par Balluche grâce à PHPXref 0.7