42 lines
2.3 KiB
Smarty
42 lines
2.3 KiB
Smarty
{*+**********************************************************************************
|
|
* The contents of this file are subject to the vtiger CRM Public License Version 1.1
|
|
* ("License"); You may not use this file except in compliance with the License
|
|
* The Original Code is: vtiger CRM Open Source
|
|
* The Initial Developer of the Original Code is vtiger.
|
|
* Portions created by vtiger are Copyright (C) vtiger.
|
|
* All Rights Reserved.
|
|
*
|
|
********************************************************************************/
|
|
-->*}
|
|
{strip}
|
|
{assign var=CURRENCY_ID value=$RECORD_MODEL->getId()}
|
|
<div class="currencyTransformModalContainer modal-dialog modelContainer">
|
|
{assign var=HEADER_TITLE value={vtranslate('LBL_TRANSFER_CURRENCY', $QUALIFIED_MODULE)}}
|
|
{include file="ModalHeader.tpl"|vtemplate_path:$MODULE TITLE=$HEADER_TITLE}
|
|
<div class="modal-content">
|
|
<form id="transformCurrency" class="form-horizontal" method="POST">
|
|
<input type="hidden" name="record" value="{$CURRENCY_ID}" />
|
|
<div class="modal-body">
|
|
<div class="form-group">
|
|
<label class="control-label fieldLabel col-sm-5">{vtranslate('LBL_CURRENT_CURRENCY', $QUALIFIED_MODULE)}</label>
|
|
<div class="controls fieldValue col-xs-6">
|
|
<span>{vtranslate($RECORD_MODEL->get('currency_name'), $QUALIFIED_MODULE)}</span>
|
|
</div>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label fieldLabel col-sm-5">{vtranslate('LBL_TRANSFER_CURRENCY', $QUALIFIED_MODULE)} {vtranslate('LBL_TO', $QUALIFIED_MODULE)}</label>
|
|
<div class="controls fieldValue col-xs-6">
|
|
<select class="select2 " name="transform_to_id">
|
|
{foreach key=CURRENCY_ID item=CURRENCY_MODEL from=$CURRENCY_LIST}
|
|
<option value="{$CURRENCY_ID}">{vtranslate($CURRENCY_MODEL->get('currency_name'), $QUALIFIED_MODULE)}</option>
|
|
{/foreach}
|
|
</select>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{include file='ModalFooter.tpl'|@vtemplate_path:'Vtiger'}
|
|
</form>
|
|
</div>
|
|
</div>
|
|
{/strip}
|