';
$hidden .= '';
$hidden .= '';
$hidden .= '';
$hidden .= '';
$hidden .= '';
$hidden .= '';
$hidden .= '';
$hidden .= '';
return $hidden;
}
function renderRelatedActivities($query,$id)
{
global $mod_strings;
global $app_strings;
$hidden = getHiddenValues($id);
$hidden .= '';
echo $hidden;
$focus = new Activity();
$button = '';
if(isPermitted("Activities",1,"") == 'yes')
{
$button .= ' ';
}
$returnset = '&return_module=Invoice&return_action=DetailView&return_id='.$id;
$list = GetRelatedList('Invoice','Activities',$focus,$query,$button,$returnset);
echo '';
}
function renderRelatedAttachments($query,$id)
{
$hidden = getHiddenValues($id);
echo $hidden;
getAttachmentsAndNotes('Invoice',$query,$id);
echo '';
}
function renderRelatedHistory($query,$id)
{
getHistory('Invoice',$query,$id);
}
echo get_form_footer();
?>