[-] BO : fix #PSTEST-134

This commit is contained in:
lLefevre
2012-01-04 09:43:09 +00:00
parent 27e3d01f81
commit 010f96175b
6 changed files with 25 additions and 14 deletions
@@ -89,8 +89,10 @@
{$tr.$key}
{elseif isset($params.type) && $params.type == 'datetime'}
{$tr.$key}
{elseif isset($params.type) && $params.type == 'decimal'}
{$tr.$key|string_format:"%.2f"}
{elseif isset($params.type) && $params.type == 'decimal'}
{$tr.$key|string_format:"%.2f"}
{elseif isset($params.type) && $params.type == 'percent'}
{$tr.$key} {l s='%'}
{* If type is 'editable', an input is created *}
{elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)}
<input type="text" name="{$key}_{$tr.id}" value="{$tr.$key}" class="{$key}" />