You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

52 lines
1.2 KiB

<?php
use yii\helpers\Html;
use yii\widgets\DetailView;
/* @var $this yii\web\View */
/* @var $model common\models\ars\Order */
$this->title = $model->id;
$this->params['breadcrumbs'][] = ['label' => 'Orders', 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
\yii\web\YiiAsset::register($this);
?>
<div class="order-view">
<p>
<?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
</p>
<?= DetailView::widget([
'model' => $model,
'attributes' => [
'id',
'user_id',
'order_sn',
'invoice_id',
'status',
'type',
'goods_count',
'goods_amount',
'shipping_amount',
'shipping_type',
'consignee',
'phone',
'province',
'city',
'area',
'taking_site',
'pay_type',
'pay_at',
'payment_sn',
'payment_amount',
'receivables',
'remarks',
'discount_amount',
'discount_decription:ntext',
'updated_at',
'created_at',
],
]) ?>
</div>