{************************************* * SPDX-FileCopyrightText: 2009-2020 Vtenext S.r.l. * SPDX-License-Identifier: AGPL-3.0-only ************************************} {* crmv@64542 crmv@69398 *} {if count($RELATIONS_N1) == 0 && count($STEPVARS.mmaker_relations) == 0}

{$MOD.LBL_NO_RELATIONS_FOUND}

{else}

{$APP.LBL_RELATIONS}

{* relations N-1, with the field in this module *} {if count($RELATIONS_N1) > 0} {foreach item=rel from=$RELATIONS_N1} {/foreach} {/if} {* other relations *} {if count($STEPVARS.mmaker_relations) > 0} {foreach key=relno item=rel from=$STEPVARS.mmaker_relations} {* fields *} {* table cells *} {* crmv@183071 *} {/foreach} {/if}
{$APP.LBL_MODULE} {$MOD.LBL_RELATION_TYPE} {$APP.LBL_MODULES} {$MOD.FieldName} {$APP.LBL_ACTIONS}
{$NEWMODULENAME} {$MOD.LBL_RELATION_TYPE_NTO1} {", "|implode:$rel.mods} {$rel.label} delete  
{$NEWMODULENAME} {if $rel.type eq '1ton'} {$MOD.LBL_RELATION_TYPE_1TON} {elseif $rel.type eq 'nton'} {$MOD.LBL_RELATION_TYPE_NTON} {else} {$rel.type} {/if} {$rel.module|getTranslatedString:$rel.module}{if $rel.fieldlabel neq ""}{$rel.fieldlabel}{else}{$rel.field}{/if} delete  
{/if}