66 lines
2.3 KiB
PHP
66 lines
2.3 KiB
PHP
<?php
|
|
|
|
use yii\helpers\Html;
|
|
|
|
|
|
/* @var $this yii\web\View */
|
|
/* @var $model common\models\Transfer */
|
|
|
|
?>
|
|
<?php
|
|
$formatter = Yii::$app->formatter;
|
|
?>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class='row row-transfer'>
|
|
<div class='col-md-4'>
|
|
<dl class="dl-horizontal dl-transfer">
|
|
|
|
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'id_transfer') ?></dt>
|
|
<dd><?php echo ( Html::getAttributeValue($model, 'id_transfer') ) ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'created_at') ?></dt>
|
|
<dd><?php echo $formatter->asDatetime( Html::getAttributeValue($model, 'created_at') ) ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'paid_at') ?></dt>
|
|
<dd><?php echo $formatter->asDatetime( Html::getAttributeValue($model, 'paid_at') ) ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'status') ?></dt>
|
|
<dd><?php echo Html::getAttributeValue($model, 'statusName') ?></dd>
|
|
</dl>
|
|
</div>
|
|
<div class='col-md-4'>
|
|
<dl class="dl-horizontal dl-transfer">
|
|
<dt><?php echo $model->getAttributeLabel( 'type') ?></dt>
|
|
<dd><?php echo Html::getAttributeValue($model, 'transferTypeName') ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'id_user') ?></dt>
|
|
<dd><?php echo Html::getAttributeValue($model, 'userName') ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'id_customer') ?></dt>
|
|
<dd><?php echo Html::getAttributeValue($model, 'customerName') ?></dd>
|
|
</dl>
|
|
</div>
|
|
<div class='col-md-3'>
|
|
<dl class="dl-horizontal dl-transfer">
|
|
<dt><?php echo $model->getAttributeLabel( 'item_price') ?></dt>
|
|
<dd class="text-right"><?php echo Html::getAttributeValue($model, 'item_price') ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'count') ?></dt>
|
|
<dd class="text-right"><?php echo Html::getAttributeValue($model, 'count') ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'id_discount') ?></dt>
|
|
<dd class="text-right"><?php echo Html::getAttributeValue($model, 'discountName') ?></dd>
|
|
|
|
<dt><?php echo $model->getAttributeLabel( 'money') ?></dt>
|
|
<dd class="text-right"><?php echo Html::getAttributeValue($model, 'signedMoney') ?></dd>
|
|
</dl>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
|