[-] BO : FixBug Undefined variable currency

This commit is contained in:
jeromenadaud
2013-08-01 17:26:07 +02:00
parent 174dfa9a6b
commit 24bf5e5bdf
@@ -174,13 +174,11 @@
<div class="col-lg-9">
<input type="color" size="{$field['size']}" data-hex="true" {if isset($input.class)}class="{$field['class']}" {else}class="color mColorPickerInput"{/if} name="{$field['name']}" class="{if isset($field['class'])}{$field['class']}{/if}" value="{$field['value']|escape:'htmlall':'UTF-8'}" />
</div>
{elseif $field['type'] == 'price'}
{elseif $field['type'] == 'price' && isset($currency)}
<div class="input-group col-lg-9">
<span class="input-group-addon">{$currency->prefix}{$currency->suffix} {l s='(tax excl.)'}</span>
<input type="text" size="{if isset($field['size'])}{$field['size']|intval}{else}5{/if}" name="{$key}" value="{$field['value']|escape:'htmlall':'UTF-8'}" />
</div>
{elseif $field['type'] == 'textLang' || $field['type'] == 'textareaLang' || $field['type'] == 'selectLang'}
{if $field['type'] == 'textLang'}