示例#1
0
    if ($fu_data['case_stage']) {
        $stage_info = get_kw_from_name('stage', $fu_data['case_stage']);
    }
    $id_stage = $stage_info['id_keyword'];
    show_context_stage($fu_data['id_case'], $id_stage);
}
show_context_end();
if ($fu_data['hidden'] == 'Y') {
    echo '<p class="normal_text"><strong>' . _T('fu_info_is_deleted') . "</strong>";
    if ($admin) {
        echo " " . _T('fu_info_is_deleted2');
    }
    echo "</p>\n";
}
$obj_fu = new LcmFollowupInfoUI($fu_data['id_followup']);
$obj_fu->printGeneral();
echo "<br />";
// Edit button
if ($case_allow_modif == 'yes' && $edit) {
    echo '<a href="edit_fu.php?followup=' . $fu_data['id_followup'] . '" class="edit_lnk">' . _T('fu_button_edit') . '</a>';
}
// [ML] Not useful
//if ($GLOBALS['author_session']['status'] == 'admin')
//	echo '<a href="export.php?item=followup&amp;id=' . $fu_data['id_followup'] . '" class="exp_lnk">' . _T('export_button_followup') . "</a>\n";
echo "<br /><br /></fieldset>";
if (!$app) {
    // Show create appointment from followup
    echo '<p><a href="edit_app.php?case=' . $fu_data['id_case'] . '&amp;followup=' . $followup . '" class="create_new_lnk">Create new appointment related to this followup' . "</a></p>\n";
    // TRAD
}
lcm_page_end();