コード例 #1
0
function showClientStatusInfo($clsRpt, $lCID, $clsClient, &$clientStatus, $lNumClientStatus)
{
    //---------------------------------------------------------------------
    //
    //---------------------------------------------------------------------
    global $genumDateFormat;
    $attributes = new stdClass();
    $attributes->lTableWidth = 900;
    $attributes->divID = 'clientStat';
    $attributes->divImageID = 'clientStatDivImg';
    openBlock($clsClient->clients[0]->cv_strVocClientS . ' Status History', strLinkView_ClientStatusHistory($lCID, 'View status history', true), $attributes);
    if ($lNumClientStatus == 0) {
        echoT('<i>There are no status records for this ' . $clsClient->clients[0]->cv_strVocClientS . '</i><br>');
        closeBlock();
        return;
    }
    showStatusHistory(false, false, $clientStatus, $lNumClientStatus, $lCID, "80%");
    $attributes = new stdClass();
    $attributes->bCloseDiv = true;
    closeBlock($attributes);
}
コード例 #2
0
<?php

global $genumDateFormat;
echoT(strLinkAdd_ClientStat($lClientID, 'Add new status for this client', true) . ' ' . strLinkAdd_ClientStat($lClientID, 'Add new status for this client', false) . '<br><br>');
if ($lNumClientStatus == 0) {
    echoT('<i>There are no status records for this ' . $client->cv_strVocClientS . '</i><br>');
} else {
    showStatusHistory(true, true, $clientStatus, $lNumClientStatus, $lClientID, '95%');
}