[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 2 3 /********************************************************************************* 4 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 5 * ("License"); You may not use this file except in compliance with the License 6 * The Original Code is: vtiger CRM Open Source 7 * The Initial Developer of the Original Code is vtiger. 8 * Portions created by vtiger are Copyright (C) vtiger. 9 * All Rights Reserved. 10 * 11 ********************************************************************************/ 12 13 -->*} 14 15 {*<!-- module header -->*} 16 17 <link rel="stylesheet" type="text/css" media="all" href="jscalendar/calendar-win2k-cold-1.css"> 18 <script type="text/javascript" src="jscalendar/calendar.js"></script> 19 <script type="text/javascript" src="jscalendar/lang/calendar-{$CALENDAR_LANG}.js"></script> 20 <script type="text/javascript" src="jscalendar/calendar-setup.js"></script> 21 <script type="text/javascript" src="modules/{$MODULE}/{$SINGLE_MOD}.js"></script> 22 <script type="text/javascript" src="include/js/Inventory.js"></script> 23 <script type="text/javascript"> 24 25 function sensex_info() 26 {ldelim} 27 var Ticker = $('tickersymbol').value; 28 if(Ticker!='') 29 {ldelim} 30 $("vtbusy_info").style.display="inline"; 31 new Ajax.Request( 32 'index.php', 33 {ldelim}queue: {ldelim}position: 'end', scope: 'command'{rdelim}, 34 method: 'post', 35 postBody: 'module={$MODULE}&action=Tickerdetail&tickersymbol='+Ticker, 36 onComplete: function(response) {ldelim} 37 $('autocom').innerHTML = response.responseText; 38 $('autocom').style.display="block"; 39 $("vtbusy_info").style.display="none"; 40 {rdelim} 41 {rdelim} 42 ); 43 {rdelim} 44 {rdelim} 45 46 </script> 47 48 {include file='Buttons_List1.tpl'} 49 50 {*<!-- Contents -->*} 51 <table border=0 cellspacing=0 cellpadding=0 width=98% align=center> 52 <tr> 53 <td valign=top><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 54 55 <td class="showPanelBg" valign=top width=100%> 56 {*<!-- PUBLIC CONTENTS STARTS-->*} 57 <div class="small" style="padding:20px"> 58 59 {if $OP_MODE eq 'edit_view'} 60 <span class="lvtHeaderText"><font color="purple">[ {$ID} ] </font>{$NAME} - {$APP.LBL_EDITING} {$MOD[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</span> <br> 61 {$UPDATEINFO} 62 {/if} 63 {if $OP_MODE eq 'create_view'} 64 <span class="lvtHeaderText">{$APP.LBL_CREATING} {$MOD[$SINGLE_MOD]}</span> <br> 65 {/if} 66 67 <hr noshade size=1> 68 <br> 69 70 {include file='EditViewHidden.tpl'} 71 72 {*<!-- Account details tabs -->*} 73 <table border=0 cellspacing=0 cellpadding=0 width=95% align=center> 74 <tr> 75 <td> 76 <table border=0 cellspacing=0 cellpadding=3 width=100% class="small"> 77 <tr> 78 <td class="dvtTabCache" style="width:10px" nowrap> </td> 79 <td class="dvtSelectedCell" align=center nowrap>{$MOD[$SINGLE_MOD]} {$APP.LBL_INFORMATION}</td> 80 <td class="dvtTabCache" style="width:10px"> </td> 81 <td class="dvtTabCache" style="width:100%"> </td> 82 </tr> 83 </table> 84 </td> 85 </tr> 86 <tr> 87 <td valign=top align=left > 88 <table border=0 cellspacing=0 cellpadding=3 width=100% class="dvtContentSpace"> 89 <tr> 90 91 <td align=left style="padding:10px;border-right:1px dashed #CCCCCC;" width=80%> 92 {*<!-- content cache -->*} 93 94 <table border=0 cellspacing=0 cellpadding=0 width=100%> 95 <tr> 96 <td id ="autocom"></td> 97 </tr> 98 <tr> 99 <td style="padding:10px"> 100 <!-- General details --> 101 <table border=0 cellspacing=0 cellpadding=0 width=100% class="small"> 102 <tr> 103 <td colspan=4 style="padding:5px"> 104 <div align="center"> 105 <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save'; displaydeleted(); return validateInventory('{$MODULE}')" type="submit" name="button" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " style="width:70px" > 106 <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value="{$APP.LBL_CANCEL_BUTTON_LABEL} " style="width:70px"> 107 </div> 108 </td> 109 </tr> 110 111 <!-- included to handle the edit fields based on ui types --> 112 {foreach key=header item=data from=$BLOCKS} 113 <tr> 114 {if $header== $MOD.LBL_ADDRESS_INFORMATION && ($MODULE == 'Accounts' || $MODULE == 'Contacts' || $MODULE == 'Quotes' || $MODULE == 'PurchaseOrder' || $MODULE == 'SalesOrder'|| $MODULE == 'Invoice')} 115 <td colspan=2 class="detailedViewHeader"> 116 <b>{$header}</b></td> 117 <td class="detailedViewHeader"> 118 <input name="cpy" onclick="return copyAddressLeft(EditView)" type="radio"><b>{$APP.LBL_RCPY_ADDRESS}</b></td> 119 <td class="detailedViewHeader"> 120 <input name="cpy" onclick="return copyAddressRight(EditView)" type="radio"><b>{$APP.LBL_LCPY_ADDRESS}</b></td> 121 {else} 122 <td colspan=4 class="detailedViewHeader"> 123 <b>{$header}</b> 124 {/if} 125 </td> 126 </tr> 127 128 <!-- Handle the ui types display --> 129 {include file="DisplayFields.tpl"} 130 131 <tr style="height:25px"><td> </td></tr> 132 133 {/foreach} 134 135 136 <!-- Added to display the Product Details in Inventory--> 137 {if $MODULE eq 'PurchaseOrder' || $MODULE eq 'SalesOrder' || $MODULE eq 'Quotes' || $MODULE eq 'Invoice'} 138 <tr> 139 <td colspan=4> 140 {include file="Inventory/ProductDetailsEditView.tpl"} 141 </td> 142 </tr> 143 {/if} 144 145 <tr> 146 <td colspan=4 style="padding:5px"> 147 <div align="center"> 148 <input title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" class="crmbutton small save" onclick="this.form.action.value='Save'; displaydeleted();return validateInventory('{$MODULE}')" type="submit" name="button" value=" {$APP.LBL_SAVE_BUTTON_LABEL} " style="width:70px" > 149 <input title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" class="crmbutton small cancel" onclick="window.history.back()" type="button" name="button" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} " style="width:70px"> 150 </div> 151 </td> 152 </tr> 153 </table> 154 </td> 155 </tr> 156 </table> 157 </td> 158 <!-- Inventory Actions - ends --> 159 <td width=20% valign=top style="padding:10px;"> 160 <!-- right side InventoryActions --> 161 {include file="Inventory/InventoryActions.tpl"} 162 </td> 163 </tr> 164 </table> 165 </td> 166 </tr> 167 </table> 168 </div> 169 </td> 170 </tr> 171 </table> 172 </form> 173 174 <!-- This div is added to get the left and top values to show the tax details--> 175 <div id="tax_container" style="display:none; position:absolute; z-index:1px;"></div> 176 177 <script> 178 var fieldname = new Array({$VALIDATION_DATA_FIELDNAME}) 179 180 var fieldlabel = new Array({$VALIDATION_DATA_FIELDLABEL}) 181 182 var fielddatatype = new Array({$VALIDATION_DATA_FIELDDATATYPE}) 183 184 var ProductImages=new Array(); 185 var count=0; 186 function delRowEmt(imagename) 187 {ldelim} 188 ProductImages[count++]=imagename; 189 multi_selector.current_element.disabled = false; 190 multi_selector.count--; 191 {rdelim} 192 function displaydeleted() 193 {ldelim} 194 if(ProductImages.length > 0) 195 document.EditView.del_file_list.value=ProductImages.join('###'); 196 {rdelim} 197 </script>
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 |