{$_is_admin = $wa->user()->isAdmin($wa->app())}
{* SEARCH *}
[`Advanced contact search`]
{if !empty($recent)}
[`Recent`]
{function _renderRecent} {strip} {$_is_deal = ( $_recent.contact_id < 0 )} {$_contact = $_recent.contact} {$_deal = $_recent.deal} {$_photo = $_contact.photo_url_16}
  • {if !empty($_is_deal) && !empty($_recent.deal.amount) && $_recent.deal.amount != 0} {waCurrency::format('%k{h}', $_recent.deal.amount, $_recent.deal.currency_id)} {/if} {if !empty($_photo)} {/if} {$wa->crm->contactName($_recent.name)}
  • {/strip} {/function}
    {/if}