Payment currency restriction incorret type of input for radio
When payment module has currencies restrictions set to radio it still displays as checkbox because in TPL file type of input is not being changed
This commit is contained in:
1 parent
9af2d3946f
commit
68d135b4cf
1 file changed
+1
-1
@@ -64,7 +64,7 @@
|
|||||||
{$type = 'checkbox'}
|
{$type = 'checkbox'}
|
||||||
{/if}
|
{/if}
|
||||||
{if $type != 'null'}
|
{if $type != 'null'}
|
||||||
<input type="checkbox" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}" {if $item['check_list'][$key_module] == 'checked'}checked="checked"{/if}/>
|
<input type="{$type}" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}" {if $item['check_list'][$key_module] == 'checked'}checked="checked"{/if}/>
|
||||||
{else}
|
{else}
|
||||||
<input type="hidden" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}"/>--
|
<input type="hidden" name="{$module->name}_{$list['name_id']}[]" value="{$item[$list['identifier']]}"/>--
|
||||||
{/if}
|
{/if}
|
||||||
|
|||||||
Reference in new issue
Block a user