// AdminSupplierOrdersController : updated (fixed with modifications of HelperList & AdminController + update_receipt)

This commit is contained in:
bMancone
2011-11-07 13:05:07 +00:00
parent 8747306424
commit f79a6facbf
5 changed files with 245 additions and 129 deletions
@@ -82,8 +82,9 @@
{$tr.$key}
{elseif isset($params.type) && $params.type == 'datetime'}
{$tr.$key}
{elseif isset($params.type) && $params.type == 'editable'}
<input type="text" name="{$key}" value="{$tr.$key}">
{* If type is 'editable', an input is created *}
{elseif isset($params.type) && $params.type == 'editable' && isset($tr.id)}
<input type="text" class="{$key}" name="{$key}_{$tr.id}" value="{$tr.$key}">
{elseif isset($params.callback)}
{$tr.$key}
{elseif isset($tr.$key) && $key == 'color'}