{css} {js}
{tab_container id="customergroups"} {tab_header content_id="groupspanel"} {tab_header_cell icon="lms-ui-icon-cg"} {trans("Customer Groups:")} {/tab_header_cell} {/tab_header} {tab_contents id="groupspanel"} {tab_table} {if $customergroups}
{trans("Name:")}
{trans("Description:")}
{trans("ID:")}
 
{/if} {foreach $customergroups as $customergroup}
{$customergroup.description|default:"-"}
({$customergroup.id|string_format:"%04d"})
{textformat assign="onclick" wrap=5000} confirmDialog($t('Are you sure, you want to remove customer from group?'), this).done(function() { location.href = '?m=customergroup&customergroupid={$customergroup.id}&action=delete&id={$customerinfo.id}'; }); {/textformat} {button type="link" icon="delete" onclick=$onclick tip="Remove customer from group"}
{foreachelse}
{trans("That customer is not a member of any group.")}
{/foreach} {/tab_table} {tab_button_panel} {tab_buttons} {if !empty($othercustomergroups)} {/if} {/tab_buttons} {tab_buttons} {/tab_buttons} {/tab_button_panel} {/tab_contents} {/tab_container}