{$_title = "[`Deals merge`]"}

{$_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`]
    {if $_deal.status_id == "WON"} {$_deal.status_id} {if !empty($_deal.closed_datetime)}{$_deal.closed_datetime|wa_datetime}{/if} {elseif $_deal.status_id == "LOST"} {$_deal.status_id} {if !empty($_deal.closed_datetime)}{$_deal.closed_datetime|wa_datetime}{/if} {else} {$_deal.stage.name|escape} {/if}
    {if !empty($_contact)}
    {/if}
  • {/foreach}