[ Index ] |
|
Code source de vtiger CRM 5.0.2 |
1 {*<!-- 2 /********************************************************************************* 3 ** The contents of this file are subject to the vtiger CRM Public License Version 1.0 4 * ("License"); You may not use this file except in compliance with the License 5 * The Original Code is: vtiger CRM Open Source 6 * The Initial Developer of the Original Code is vtiger. 7 * Portions created by vtiger are Copyright (C) vtiger. 8 * All Rights Reserved. 9 * 10 ********************************************************************************/ 11 -->*} 12 <script language="JAVASCRIPT" type="text/javascript" src="include/js/smoothscroll.js"></script> 13 <script language="JavaScript" type="text/javascript" src="include/js/menu.js"></script> 14 <script language="JavaScript" type="text/javascript" src="include/js/general.js"></script> 15 <script language="JavaScript" type="text/javascript" src="include/js/Inventory.js"></script> 16 17 {literal} 18 <style> 19 20 .tax_delete{ 21 text-decoration:none; 22 } 23 24 .tax_delete td{ 25 26 } 27 28 </style> 29 {/literal} 30 <br> 31 <table align="center" border="0" cellpadding="0" cellspacing="0" width="98%"> 32 <tbody> 33 <tr> 34 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopLeft.gif"></td> 35 <td class="showPanelBg" style="padding: 10px;" valign="top" width="100%"> 36 <br> 37 <div align=center> 38 39 {include file='SetMenu.tpl'} 40 <!-- DISPLAY --> 41 {if $EDIT_MODE eq 'true'} 42 {assign var=formname value='EditTax'} 43 {assign var=shformname value='SHEditTax'} 44 {else} 45 {assign var=formname value='ListTax'} 46 {assign var=shformname value='SHListTax'} 47 {/if} 48 49 50 <!-- This table is used to display the Tax Configuration values--> 51 <table border=0 cellspacing=0 cellpadding=5 width=100% class="settingsSelUITopLine"> 52 <tr> 53 <td width=50 rowspan=2 valign=top><img src="{$IMAGE_PATH}taxConfiguration.gif" alt="Users" width="48" height="48" border=0 title="Users"></td> 54 <td class=heading2 valign=bottom><b><a href="index.php?module=Settings&action=index&parenttab=Settings">{$MOD.LBL_SETTINGS}</a> > 55 {if $EDIT_MODE eq 'true'} 56 <strong>{$MOD.LBL_EDIT} {$MOD.LBL_TAX_SETTINGS} </strong> 57 {else} 58 <strong>{$MOD.LBL_TAX_SETTINGS} </strong> 59 {/if} 60 </b> 61 </td> 62 </tr> 63 <tr> 64 <td valign=top class="small">{$MOD.LBL_TAX_DESC}</td> 65 </tr> 66 </table> 67 68 <br> 69 <table border=0 cellspacing=0 cellpadding=10 width=100%> 70 <tr> 71 <td style="border-right:1px dotted #CCCCCC;" valign="top"> 72 <!-- if EDIT_MODE is true then Textbox will be displayed else the value will be displayed--> 73 <form name="{$formname}" method="POST" action="index.php"> 74 <input type="hidden" name="module" value="Settings"> 75 <input type="hidden" name="action" value=""> 76 <input type="hidden" name="parenttab" value="Settings"> 77 <input type="hidden" name="save_tax" value=""> 78 <input type="hidden" name="edit_tax" value=""> 79 <input type="hidden" name="add_tax_type" value=""> 80 81 <!-- Table to display the Product Tax Add and Edit Buttons - Starts --> 82 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 83 <tr> 84 <td class="big" colspan="3"><strong>{$MOD.LBL_PRODUCT_TAX_SETTINGS} </strong></td> 85 </tr> 86 <tr> 87 <td> </td> 88 <td id="td_add_tax" class="small" colspan="2" align="right" nowrap> 89 {if $EDIT_MODE neq 'true'} 90 <input title="Add Tax" accessKey="Add Tax" onclick="fnAddTaxConfigRow('');" type="button" name="button" value="{$MOD.LBL_ADD_TAX_BUTTON}" class="crmButton small edit"> 91 {/if} 92 </td> 93 <td class="small" align=right nowrap> 94 {if $EDIT_MODE eq 'true'} 95 <input class="crmButton small save" title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.save_tax.value='true'; this.form.parenttab.value='Settings'; return validateTaxes('tax_count');" type="submit" name="button2" value=" {$APP.LBL_SAVE_BUTTON_LABEL} "> 96 <input class="crmButton small cancel" title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.module.value='Settings'; this.form.save_tax.value='false'; this.form.parenttab.value='Settings';" type="submit" name="button22" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} "> 97 {elseif $TAX_COUNT > 0} 98 <input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.edit_tax.value='true'; this.form.parenttab.value='Settings';" type="submit" name="button" value=" {$APP.LBL_EDIT_BUTTON_LABEL} " class="crmButton small edit"> 99 {/if} 100 </td> 101 </tr> 102 </table> 103 <!-- Table to display the Product Tax Add and Edit Buttons - Ends --> 104 105 <!-- Table to display the List of Product Tax values - Starts --> 106 <table id="add_tax" border=0 cellspacing=0 cellpadding=5 width=100% class="listRow"> 107 {if $TAX_COUNT eq 0} 108 <tr><td>No taxes available. Please Add Tax.</td></tr> 109 {else} 110 {foreach item=tax key=count from=$TAX_VALUES} 111 112 <!-- To set the color coding for the taxes which are active and inactive--> 113 {if $tax.deleted eq 0} 114 <tr><!-- set color to taxes which are active now--> 115 {else} 116 <tr><!-- set color to taxes which are disabled now--> 117 {/if} 118 119 <!--assinging tax label name for javascript validation--> 120 {assign var=tax_label value="taxlabel_"|cat:$tax.taxname} 121 122 <td width=35% class="cellLabel small" > 123 {if $EDIT_MODE eq 'true'} 124 <input name="{$tax.taxlabel}" id={$tax_label} type="text" value="{$tax.taxlabel}" class="detailedViewTextBox small"> 125 {else} 126 {$tax.taxlabel} 127 {/if} 128 </td> 129 <td width=55% class="cellText small"> 130 {if $EDIT_MODE eq 'true'} 131 <input name="{$tax.taxname}" id="{$tax.taxname}" type="text" value="{$tax.percentage}" class="detailedViewTextBox small"> % 132 {else} 133 {$tax.percentage} % 134 {/if} 135 </td> 136 <td width=10% class="cellText small"> 137 {if $tax.deleted eq 0} 138 <a href="index.php?module=Settings&action=TaxConfig&parenttab=Settings&disable=true&taxname={$tax.taxname}"><img src="{$IMAGE_PATH}enabled.gif" border="0" align="absmiddle" alt="Enable me" title="Disable me"></a> 139 {else} 140 <a href="index.php?module=Settings&action=TaxConfig&parenttab=Settings&enable=true&taxname={$tax.taxname}"><img src="{$IMAGE_PATH}disabled.gif" border="0" align="absmiddle" alt="Enable me" title="Enable me"></a> 141 {/if} 142 </td> 143 </tr> 144 {/foreach} 145 {if $EDIT_MODE eq 'true'} 146 <input type="hidden" id="tax_count" value="{$count}"> 147 {/if} 148 {/if} 149 </table> 150 <!-- Table to display the List of Product Tax values - Ends --> 151 </form> 152 </td> 153 154 <!-- Shipping Tax Config Table Starts Here --> 155 <td width="50%" valign="top"> 156 <form name="{$shformname}" method="POST" action="index.php"> 157 <input type="hidden" name="module" value="Settings"> 158 <input type="hidden" name="action" value=""> 159 <input type="hidden" name="parenttab" value="Settings"> 160 <input type="hidden" name="sh_save_tax" value=""> 161 <input type="hidden" name="sh_edit_tax" value=""> 162 <input type="hidden" name="sh_add_tax_type" value=""> 163 164 <!-- Table to display the S&H Tax Add and Edit Buttons - Starts --> 165 <table border=0 cellspacing=0 cellpadding=5 width=100% class="tableHeading"> 166 <tr> 167 <td class="big" colspan="3"><strong>{$MOD.LBL_SHIPPING_HANDLING_TAX_SETTINGS}</strong></td> 168 </tr> 169 <tr> 170 <td> </td> 171 <td id="td_sh_add_tax" class="small" colspan="2" align="right" nowrap> 172 {if $SH_EDIT_MODE neq 'true'} 173 <input title="Add Tax" accessKey="Add Tax" onclick="fnAddTaxConfigRow('sh');" type="button" name="button" value=" Add Tax " class="crmButton small edit"> 174 {/if} 175 </td> 176 <td class="small" align=right nowrap> 177 {if $SH_EDIT_MODE eq 'true'} 178 <input class="crmButton small save" title="{$APP.LBL_SAVE_BUTTON_TITLE}" accessKey="{$APP.LBL_SAVE_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.sh_save_tax.value='true'; this.form.parenttab.value='Settings'; return validateTaxes('sh_tax_count');" type="submit" name="button2" value=" {$APP.LBL_SAVE_BUTTON_LABEL} "> 179 180 <input class="crmButton small cancel" title="{$APP.LBL_CANCEL_BUTTON_TITLE}" accessKey="{$APP.LBL_CANCEL_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.module.value='Settings'; this.form.sh_save_tax.value='false'; this.form.parenttab.value='Settings';" type="submit" name="button22" value=" {$APP.LBL_CANCEL_BUTTON_LABEL} "> 181 {elseif $SH_TAX_COUNT > 0} 182 <input title="{$APP.LBL_EDIT_BUTTON_TITLE}" accessKey="{$APP.LBL_EDIT_BUTTON_KEY}" onclick="this.form.action.value='TaxConfig'; this.form.sh_edit_tax.value='true'; this.form.parenttab.value='Settings';" type="submit" name="button" value=" {$APP.LBL_EDIT_BUTTON_LABEL} " class="crmButton small edit"> 183 {/if} 184 </td> 185 </tr> 186 </table> 187 <!-- Table to display the S&H Tax Add and Edit Buttons - Ends --> 188 189 <!-- Table to display the List of S&H Tax Values - Starts --> 190 <table id="sh_add_tax" border=0 cellspacing=0 cellpadding=5 width=100% class="listRow"> 191 {if $SH_TAX_COUNT eq 0} 192 <tr><td>No taxes available. Please Add Tax.</td></tr> 193 {else} 194 {foreach item=tax key=count from=$SH_TAX_VALUES} 195 196 <!-- To set the color coding for the taxes which are active and inactive--> 197 {if $tax.deleted eq 0} 198 <tr><!-- set color to taxes which are active now--> 199 {else} 200 <tr><!-- set color to taxes which are disabled now--> 201 {/if} 202 203 {assign var=tax_label value="taxlabel_"|cat:$tax.taxname} 204 <td width=35% class="cellLabel small"> 205 {if $SH_EDIT_MODE eq 'true'} 206 207 <input name="{$tax.taxlabel}" id="{$tax_label}" type="text" value="{$tax.taxlabel}" class="detailedViewTextBox small"> 208 {else} 209 {$tax.taxlabel} 210 {/if} 211 </td> 212 <td width=55% class="cellText small"> 213 {if $SH_EDIT_MODE eq 'true'} 214 <input name="{$tax.taxname}" id="{$tax.taxname}" type="text" value="{$tax.percentage}" class="detailedViewTextBox small"> 215 % 216 {else} 217 {$tax.percentage} % 218 {/if} 219 </td> 220 <td width=10% class="cellText small"> 221 {if $tax.deleted eq 0} 222 <a href="index.php?module=Settings&action=TaxConfig&parenttab=Settings&sh_disable=true&sh_taxname={$tax.taxname}"><img src="{$IMAGE_PATH}enabled.gif" border="0" align="absmiddle" alt="Enable me" title="Disable me"></a> 223 {else} 224 <a href="index.php?module=Settings&action=TaxConfig&parenttab=Settings&sh_enable=true&sh_taxname={$tax.taxname}"><img src="{$IMAGE_PATH}disabled.gif" border="0" align="absmiddle" alt="Enable me" title="Enable me"></a> 225 {/if} 226 </td> 227 </tr> 228 {/foreach} 229 {if $SH_EDIT_MODE eq 'true'} 230 <input type="hidden" id="sh_tax_count" value="{$count}"> 231 {/if} 232 {/if} 233 </table> 234 <!-- Table to display the List of S&H Tax Values - Ends --> 235 </form> 236 </td> 237 <!-- Shipping Tax Ends Here --> 238 </tr> 239 </table> 240 241 <table border=0 cellspacing=0 cellpadding=5 width=100% > 242 <tr> 243 <td class="small" nowrap align=right><a href="#top">{$MOD.LBL_SCROLL}</a></td> 244 </tr> 245 </table> 246 247 248 249 250 </td> 251 </tr> 252 </table> 253 </td> 254 </tr> 255 </table> 256 </div> 257 258 </td> 259 <td valign="top"><img src="{$IMAGE_PATH}showPanelTopRight.gif"></td> 260 </tr> 261 </tbody> 262 </table>
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 |