<?php
$this->PageTitle = 'contratos-itens &raquo; Visualizar &raquo; Visualizar '.GxHtml::encode(GxHtml::valueEx($model));
$this->widget('zii.widgets.CDetailView', array(
	'data' => $model,
	'attributes' => array(
		'CTI_ID',
		array(
			'name' => 'Contrato',
			'type' => 'raw',
			'value' => $model->Contrato !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->Contrato)), array('contatos/view', 'id' => GxActiveRecord::extractPkValue($model->Contrato, true))) : null,
		),
		array(
			'name' => 'Modulo',
			'type' => 'raw',
			'value' => $model->Modulo !== null ? GxHtml::link(GxHtml::encode(GxHtml::valueEx($model->Modulo)), array('modulos/view', 'id' => GxActiveRecord::extractPkValue($model->Modulo, true))) : null,
		),
		'CTI_QUANTIDADE',
		'CTI_VLRMENSAL',
		'CTI_VLRIMPLANTACAO',
		'CTI_TEFBANDEIRA1',
		'CTI_TEFBANDEIRA2',
		'CTI_TEFBANDEIRA3',
		'CTI_DESCRICAO',
	),
));