Пример #1
0
						<label class = "form-control input-inline input-large" readonly><?php 
    echo date('d.m.Y H:i:s', strtotime($model->closed_at));
    ?>
</label>
					</div>
				</div>
			<?php 
}
?>
			<div class="form-group" style="margin-top: 20px;">
				<?php 
echo $form->labelEx($model, 'is_payed', array('class' => 'col-md-2 control-label'));
?>
				<div class="col-md-9">
					<label class = "form-control input-inline input-large" readonly><?php 
echo Horders::gridIsPayedItem($model->is_payed);
?>
</label>
				</div>
			</div>
			<div class="form-group" style="margin-top: 20px;">
				<?php 
echo $form->labelEx($model, 'status', array('class' => 'col-md-2 control-label'));
?>
				<div class="col-md-9">
					<?php 
echo $form->dropDownList($model, 'status', Horders::gridStatusItems(), array('class' => 'form-control input-inline input-large'));
?>
				</div>
			</div>
			<div class="form-group" style="margin-top: 20px;">
Пример #2
0
		<th><?php 
echo CHtml::encode($horder->getAttributeLabel('closed_at'));
?>
</th>
		<td><?php 
echo date('d.m.Y H:i:s', strtotime($horder->closed_at));
?>
</td>
	</tr>
	<tr>
		<th><?php 
echo CHtml::encode($horder->getAttributeLabel('is_payed'));
?>
</th>
		<td><?php 
echo Horders::gridIsPayedItem($horder->is_payed);
?>
</td>
	</tr>
	<tr>
		<th><?php 
echo CHtml::encode($horder->getAttributeLabel('status'));
?>
</th>
		<td><?php 
echo Horders::gridStatusItem($horder->status);
?>
</td>
	</tr>
	<tr>
		<th><?php