Ejemplo n.º 1
0
        // should be only once
        echo '<li style="list-style-type: none;">' . _Ti('fu_input_involving_clients') . $row['name'] . "</li>\n";
    }
}
if ($attach_client || $attach_org) {
    show_context_end();
}
// Start edit case form
echo '<form action="upd_case.php" method="post">' . "\n";
if (!$id_case) {
    if ($attach_org) {
        show_page_subtitle(_Th('title_org_view'), 'clients_intro');
        $org = new LcmOrgInfoUI($attach_org);
        $org->printGeneral(false);
        $org->printCases();
        $org->printAttach();
    }
    if ($attach_client) {
        show_page_subtitle(_Th('title_client_view'), 'clients_intro');
        $client = new LcmClientInfoUI($attach_client);
        $client->printGeneral(false);
        $client->printCases();
        $client->printAttach();
    }
    if (!$attach_client && !$attach_org) {
        //
        // Find or create an organisation for case
        //
        if (read_meta('case_new_showorg') == 'yes') {
            show_page_subtitle(_Th('title_org_view'), 'clients_intro');
            echo '<p class="normal_text">';