<?php 
$this->PageTitle = false; 
$this->renderPartial('_menu', array('model' => $model));
?>
<br />
<div class="info-cliente atendimentos">
    <div class="col-xs-12 header">
        <a data-toggle='tooltip' data-placement='right' title='Filtros'>
            <i class="fa fa-filter"></i> Filtros de prospectos/clientes
        </a>
    </div>
    <table width="100%" cellspacing="0" cellpadding="0" class="solicitacoes-view">
        <?php $last = "even"; ?>
        <?php foreach ($model->filtros as $filtro) { ?>
            <tr class="<?php echo $last = $last == "odd" ? "even" : "odd"; ?>">
                <td width="140px"><strong><?php echo $model->getAttributeLabel($filtro); ?></strong></td>
                <td>
                    <ul>
                        <?php if (empty($model->{$filtro})) { ?>
                            <li>--</li>
                        <?php } else { ?>
                            <?php foreach ($model->{$filtro} as $valor) { ?>
                                <li><?php echo $valor->getValor(); ?></li>
                            <?php } ?>
                        <?php } ?>
                    </ul>
                </td>
            </tr>
        <?php } ?>
    </table>
</div>