<?php
$this->PageTitle = 'Observações Padrão &raquo; Visualizar &raquo; ' . GxHtml::encode(GxHtml::valueEx($model));
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'OBS_IDOBSERVACAO',
        'OBS_ASSUNTO',
        'OBS_DESCRICAO',
        array(
            'name' => 'OBS_STATUS',
            'value' => $model->OBS_STATUS == "A" ? "Ativo" : "Inativo",
        ),
    ),
));
?>

<table width="100%" border="0" cellspacing="0" cellpadding="0" class="solicitacoes-view">
    <tr class="odd">
        <td><strong>Código</strong></td>
        <td><?php echo $model->OBS_IDOBSERVACAO; ?></td>
        <td><strong>Assunto</strong></td>
        <td><?php echo $model->OBS_ASSUNTO; ?></td>
        <td><strong>Situação</strong></td>
        <td><?php echo $model->OBS_STATUS == "A" ? "Ativo" : "Inativo"; ?></td>
    </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0" class="solicitacoes-view">
    <tr class="even">
        <td><strong>Desrição</strong></td>
        <td><font size="2"><?php echo nl2br($model->OBS_DESCRICAO); ?></font></td>
    </tr>
</table>