{t}Phone Calls{/t} ({$phone_entries|@count}) [ {t}Back to Top{/t} ] [ {get_display_label element_name="phone_calls" total=$phone_entries|@count} ]
{section name="i" loop=$phone_entries} {cycle values='odd,even' assign="row_class"} {include file="expandable_cell/body.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id colspan="9" class=$row_class} {sectionelse} {/section}
{include file="expandable_cell/buttons.tpl.html" ec_id="phone"} # {t}Recorded Date{/t} {t}Entered By{/t} {t}From{/t} {t}To{/t} {t}Call Type{/t} {t}Category{/t} {t}Phone Number{/t}
{include file="expandable_cell/buttons.tpl.html" ec_id="phone" list_id=$phone_entries[i].phs_id} {$smarty.section.i.iteration} {$phone_entries[i].phs_created_date|timeago} {$phone_entries[i].usr_full_name|escape:html} {if $core.user.usr_id == $phone_entries[i].phs_usr_id} [ {t}delete{/t} ] {/if} {$phone_entries[i].phs_call_from_lname}, {$phone_entries[i].phs_call_from_fname} {$phone_entries[i].phs_call_to_lname}, {$phone_entries[i].phs_call_to_fname} {$phone_entries[i].phs_type|capitalize} {$phone_entries[i].phc_title} {$phone_entries[i].phs_phone_number} ({$phone_entries[i].phs_phone_type})
{t}No phone calls recorded yet.{/t}
{if $core.current_role > $core.roles.customer}
{/if}