{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 !empty($_reminder.rights)} {else} {/if}
    {if !empty($_reminder.rights)}
    {if !empty($_reminder.content)}
    {/if} {if !empty($_reminder.report)}
    [`Execution report`]
    {/if} {if !empty($_reminder.due_datetime)} {$_time = waDateTime::format('H:i', $_reminder.due_datetime)} {/if} {if !empty($_reminder.deal_id)} {/if}
    {else} {$_reminder.content|escape|nl2br} {if !empty($_reminder.report)}
    [`Execution report`]
    {$_reminder.report|escape|nl2br}
    {/if} {/if}
    {if !empty($_reminder.rights)} {/if}
  • {/foreach} {if $completed_reminders_count > $completed_limit}
  • {/if} {/if}