{if !empty($reminders)} {$_reminder_types = crmConfig::getReminderTypeUI2()} {foreach $reminders as $_reminder} {$_is_deal = ( $_reminder.contact_id < 0 )} {if !empty($_reminder.type) && !empty($_reminder_types[$_reminder.type])} {$_active_reminder_type = $_reminder_types[$_reminder.type]} {/if} {capture assign="_header"}{strip} {if $_is_deal} {$_deal_id = abs($_reminder.contact_id)} {if !empty($deals[$_deal_id])} {$_deal = $deals[$_deal_id]} {if !empty($contacts[$_deal.contact_id])} {$_user = $contacts[$_deal.contact_id]} {$_userpic = $_user->getPhoto(16)} {/if} {*if !empty($_userpic)} {/if*} {$_deal.name|escape} {/if} {else} {$_user = false} {if !empty($contacts[$_reminder.contact_id])} {$_user = $contacts[$_reminder.contact_id]} {/if} {if $_user} {$_userpic = $_user->getPhoto(16)} {if !empty($_userpic)} {/if} {$_user.name|escape} {/if} {/if} {/strip}{/capture}
{/if} {/if}[`Execution report`]{$_reminder.report|escape|nl2br}