<?php
$this->PageTitle = 'brindes-atendimentos &raquo; Visualizar &raquo; Visualizar ' . GxHtml::encode(GxHtml::valueEx($model));
$this->widget('zii.widgets.CDetailView', array(
    'data' => $model,
    'attributes' => array(
        'BRIID',
        array(
            'name' => 'Atendimento',
            'type' => 'raw',
            'value' => $model->Atendimento !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->Atendimento)), array('atendimentos/view', 'id' => GxActiveRecord::extractPkValue($model->Atendimento, true))) : null,
        ),
        array(
            'name' => 'Brinde',
            'type' => 'raw',
            'value' => $model->Brinde !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->Brinde)), array('brindes/view', 'id' => GxActiveRecord::extractPkValue($model->Brinde, true))) : null,
        ),
        'BRIQTD',
    ),
));