[ Index ] |
PHP Cross Reference of vtigercrm-6.1.0 |
[Summary view] [Print] [Text view]
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 {strip} 13 {assign var=TAX_MODEL_EXISTS value=true} 14 {assign var=TAX_ID value=$TAX_RECORD_MODEL->getId()} 15 {if empty($TAX_ID)} 16 {assign var=TAX_MODEL_EXISTS value=false} 17 {/if} 18 <div class="taxModalContainer"> 19 <div class="modal-header contentsBackground"> 20 <button class="close vtButton" data-dismiss="modal">×</button> 21 {if $TAX_MODEL_EXISTS} 22 <h3>{vtranslate('LBL_EDIT_TAX', $QUALIFIED_MODULE)}</h3> 23 {else} 24 <h3>{vtranslate('LBL_ADD_NEW_TAX', $QUALIFIED_MODULE)}</h3> 25 {/if} 26 </div> 27 <form id="editTax" class="form-horizontal" method="POST"> 28 <input type="hidden" name="taxid" value="{$TAX_ID}" /> 29 <input type="hidden" name="type" value="{$TAX_TYPE}" /> 30 <div class="modal-body"> 31 <div class="row-fluid"> 32 <div class="control-group"> 33 <label class="control-label">{vtranslate('LBL_TAX_NAME', $QUALIFIED_MODULE)}</label> 34 <div class="controls"> 35 <input class="span3" type="text" name="taxlabel" placeholder="{vtranslate('LBL_ENTER_TAX_NAME', $QUALIFIED_MODULE)}" value="{$TAX_RECORD_MODEL->getName()}" data-validation-engine='validate[required]' /> 36 </div> 37 </div> 38 <div class="control-group"> 39 <label class="control-label">{vtranslate('LBL_TAX_VALUE', $QUALIFIED_MODULE)}</label> 40 <div class="controls input-append"> 41 <input class="span2" type="text" name="percentage" class="input-medium" placeholder="{vtranslate('LBL_ENTER_TAX_VALUE', $QUALIFIED_MODULE)}" value="{$TAX_RECORD_MODEL->getTax()}" data-validation-engine='validate[required, funcCall[Vtiger_Percentage_Validator_Js.invokeValidation]]' /> 42 <span class="add-on">%</span> 43 </div> 44 </div> 45 {if $TAX_MODEL_EXISTS} 46 {assign var=TAX_DELETED value=$TAX_RECORD_MODEL->isDeleted()} 47 <div class="control-group"> 48 <label class="control-label">{vtranslate('LBL_STATUS', $QUALIFIED_MODULE)}</label> 49 <div class="controls"> 50 <input type="hidden" name="deleted" value="1" /> 51 <input type="checkbox" name="deleted" value="0" class="taxStatus alignBottom" {if !$TAX_DELETED} checked {/if} /> 52 <span> {vtranslate('LBL_TAX_STATUS_DESC', $QUALIFIED_MODULE)}</span> 53 </div> 54 </div> 55 {else} 56 <input type="hidden" class="addTaxView" value="true" /> 57 <input type="hidden" name="deleted" value="0" /> 58 {/if} 59 </div> 60 </div> 61 {include file='ModalFooter.tpl'|@vtemplate_path:'Vtiger'} 62 </form> 63 </div> 64 {/strip}
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
Generated: Fri Nov 28 20:08:37 2014 | Cross-referenced by PHPXref 0.7.1 |