[Vtigercrm-commits] [vtiger-commits] r4483 - /vtigercrm/trunk/modules/Invoice/Forms.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Mon Mar 27 22:58:32 EST 2006


Author: saraj
Date: Mon Mar 27 20:58:28 2006
New Revision: 4483

Log:
junk code has been removed

Modified:
    vtigercrm/trunk/modules/Invoice/Forms.php

Modified: vtigercrm/trunk/modules/Invoice/Forms.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/Forms.php (original)
+++ vtigercrm/trunk/modules/Invoice/Forms.php Mon Mar 27 20:58:28 2006
@@ -171,53 +171,4 @@
 return $the_script;
 }
 
-/**
- * Create HTML form to enter a new record with the minimum necessary fields.
- * Portions created by SugarCRM are Copyright (C) SugarCRM, Inc.
- * All Rights Reserved.
- * Contributor(s): ______________________________________..
- */
-/*
-function get_new_record_form () {
-global $mod_strings;
-global $app_strings;
-global $current_user;
-
-$lbl_required_symbol = $app_strings['LBL_REQUIRED_SYMBOL'];
-$lbl_quote_subject = $mod_strings['Subject'];
-$lbl_quote_name = $mod_strings['Quote Name'];
-$lbl_so_name = $mod_strings['Sales Order'];
-$lbl_prod_name = $mod_strings['Product Name'];
-$lbl_acct_name = $mod_strings['Account Name'];
-$lbl_type = $mod_strings['Type'];
-$lbl_save_button_title = $app_strings['LBL_SAVE_BUTTON_TITLE'];
-$lbl_save_button_key = $app_strings['LBL_SAVE_BUTTON_KEY'];
-$lbl_save_button_label = $app_strings['LBL_SAVE_BUTTON_LABEL'];
-$lbl_change_button_label = $app_strings['LBL_CHANGE_BUTTON_LABEL'];
-$user_id = $current_user->id;
-
-$the_form = get_left_form_header($mod_strings['LBL_NEW_FORM_TITLE']);
-$the_form .= <<<EOQ
-		<form name="EditView" onSubmit="return verify_data(EditView)" method="POST" action="index.php">
-			<input type="hidden" name="module" value="Invoice">
-			<input type="hidden" name="assigned_user_id" value='${user_id}'>
-			<input type="hidden" name="action" value="Save">
-		<FONT class="required">$lbl_required_symbol</FONT>$lbl_quote_subject<br>
-		<input name='subject' type="text" value=""><br>
-		$lbl_so_name<br>
-		<input name="salesorder_name" readonly type="text"><input name="salesorder_id" type="hidden">&nbsp;<input title="Change" accessKey="" type="button" class="button" value="$lbl_change_button_label" name="Button" LANGUAGE=javascript onclick='return window.open("index.php?module=Orders&action=PopupSalesOrder&html=Popup_picker&popuptype=specific&form=EditView","test","width=600,height=400,resizable=1,scrollbars=1");'><br>
-                $lbl_acct_name<br>
-		<input name="account_id" type="hidden"><input name="account_name" readonly type="text"> <input title="Change [Alt+G]" accessKey="G" type="button" class="button" value="$lbl_change_button_label" name="Button" LANGUAGE=javascript onclick='return window.open("index.php?module=Accounts&action=Popup&html=Popup_picker&form=EditView&popuptype=specific","test","width=600,height=400,resizable=1,scrollbars=1,top=150,left=200");'><br><br>
-		
-		<input title="$lbl_save_button_title" accessKey="$lbl_save_button_key" class="button" type="submit" name="button" value="  $lbl_save_button_label  " >
-		</form>
-
-EOQ;
-$the_form .= get_left_form_footer();
-
-$the_form .= get_validate_record_js();
-
-return $the_form;
-}
-*/
 ?>





More information about the vtigercrm-commits mailing list