{**
* Registration Fields
*
* NOTICE OF LICENSE
*
* You are not authorized to modify, copy or redistribute this file.
* Permissions are reserved by FME Modules.
*
* @author FME Modules
* @copyright 2018 fmemodules All right reserved
* @license FMM Modules
* @package Registration Fields
*}
|
{if isset($customfields_heading) AND $customfields_heading}
{$customfields_heading|escape:'htmlall':'UTF-8'}
{else}
{l s='Custom Fields' mod='customfields' pdf='true'}
{/if}
|
{foreach from=$checkout_steps key=key item=title}
{if isset($grouped_fields[$key]) AND $grouped_fields[$key]}
{foreach from=$grouped_fields.$key item=field name=custom_fields}
{if in_array($field.field_type, array('multiselect', 'radio', 'checkbox', 'select'))}
{assign var='field_value' value=$field.field_value}
{elseif $field.field_type == 'message'}
{assign var='field_value' value=$field.default_value}
{else}
{assign var='field_value' value=$obj_model->getFormatedValue($field)}
{/if}
{cycle values=["color_line_even", "color_line_odd"] assign=bgcolor_class}
{if $field.field_type == 'attachment'}
{continue}
{else}
|
{$field.field_name|escape:'htmlall':'UTF-8'}
|
{$field_value|escape:'htmlall':'UTF-8'}
|
{/if}
{/foreach}
{/if}
{/foreach}