{/strip} {/if}

{$_title}

{if $dropped_ids_count > 0} {_w('%d deal will not be affected by the action due to insufficient access rights', '%d deals will not be affected by the action due to insufficient access rights', $dropped_ids_count)} {/if}

[`Choose a master deal that will be retained after merging.`] [`Other deals will be deleted during this merging operation.`]

    {foreach $deals as $_deal} {$_contact = ifset($contacts[$_deal.contact_id], false)}
  • {$_deal.name|escape} — [`Selected as the main deal`]
    {$_deal.funnel.name|escape} {if $_deal.status_id == "WON"} [`WON`] {if !empty($_deal.closed_datetime)}{$_deal.closed_datetime|wa_datetime}{/if} {elseif $_deal.status_id == "LOST"} [`LOST`] {if !empty($_deal.closed_datetime)}{$_deal.closed_datetime|wa_datetime}{/if} {else} {$_deal.stage.name|escape} {/if}
    {if !empty($_contact)}
    • {* name *} {$wa->crm->contactName($_contact.name)} {if $_contact.id == $wa->userId()}([`me`]){/if} {* role *} {if !empty($_contact.label)}{$_contact.label|escape}{/if} {* jobtitle *} {if !empty($_contact.jobtitle)}
      {$_contact.jobtitle|escape}
      {/if} {$_event = $_contact->getEvent()} {if !empty($_event)} {$_styles = []} {if !empty($_event.bg_color)} {$_styles[] = "background: `$_event.bg_color`;"} {/if} {if !empty($_event.font_color)} {$_styles[] = "color: `$_event.font_color`;"} {/if}
      {$_event.summary}
      {/if}
    {/if}
  • {/foreach}
{if $iframe == 1} {/if}
{if $iframe}