[Vtigercrm-commits] [vtiger-commits] r4695 - /vtigercrm/trunk/modules/Invoice/EditView.php

vtigercrm-commits at vtiger.fosslabs.com vtigercrm-commits at vtiger.fosslabs.com
Wed Mar 29 07:48:22 EST 2006


Author: saraj
Date: Wed Mar 29 05:48:16 2006
New Revision: 4695

Log:
junk code has been removed

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

Modified: vtigercrm/trunk/modules/Invoice/EditView.php
==============================================================================
--- vtigercrm/trunk/modules/Invoice/EditView.php (original)
+++ vtigercrm/trunk/modules/Invoice/EditView.php Wed Mar 29 05:48:16 2006
@@ -236,26 +236,6 @@
 	$smarty->assign("ROWCOUNT", '1');
 	$smarty->assign("TAXVALUE", '0');
 	$smarty->assign("ADJUSTMENTVALUE", '0');
-	$output ='';
-	$output .= '<tr id="row1" class="oddListRow">';
-        $output .= '<td height="25" style="padding:3px;" nowrap><input id="txtProduct1" name="txtProduct1" type="text" readonly> <img src="'.$image_path.'search.gif" onClick=\'productPickList(this)\' align="absmiddle" style=\'cursor:hand;cursor:pointer\'></td>';
-        $output .= '<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:3px;"><div id="qtyInStock1"></div>&nbsp;</td>';
-        $output .= '<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:3px;"><input type=text id="txtQty1" name="txtQty1" size="7" onBlur=\'calcTotal(this)\'></td>';
-        $output .='<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:3px;"><div id="unitPrice1"></div>&nbsp;</td>';
-        $output .= '<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:3px;"><input type=text id="txtListPrice1" name="txtListPrice1" value="0.00" size="12" onBlur="calcTotal(this)"> <img src="'.$image_path.'pricebook.gif" onClick=\'priceBookPickList(this)\' align="absmiddle" style="cursor:hand;cursor:pointer" title="Price Book"></td>';
-        $output .= '<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:3px;"><div id="total1" align="right"></div></td>';
-        $output .= '<td WIDTH="1" class="blackLine"><IMG SRC="'.$image_path.'blank.gif"></td>';
-        $output .= '<td style="padding:0px 3px 0px 3px;" align="center" width="50">';
-        $output .= '<input type="hidden" id="hdnProductId1" name="hdnProductId1">';
-        $output .= '<input type="hidden" id="hdnRowStatus1" name="hdnRowStatus1">';
-        $output .= '<input type="hidden" id="hdnTotal1" name="hdnTotal1">';
-        $output .= '</td></tr>';
-	$smarty->assign("ROW1", $output);	
 }
 
 if(isset($cust_fld))
@@ -271,7 +251,6 @@
 else $smarty->assign("RETURN_ACTION","index");
 if(isset($_REQUEST['return_id'])) $smarty->assign("RETURN_ID", $_REQUEST['return_id']);
 if (isset($_REQUEST['return_viewname'])) $smarty->assign("RETURN_VIEWNAME", $_REQUEST['return_viewname']);
-$smarty->assign("JAVASCRIPT", get_set_focus_js().get_validate_record_js());
 $smarty->assign("THEME", $theme);
 $smarty->assign("IMAGE_PATH", $image_path);$smarty->assign("PRINT_URL", "phprint.php?jt=".session_id().$GLOBALS['request_string']);
 $smarty->assign("ID", $focus->id);





More information about the vtigercrm-commits mailing list