|
|
<?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_description:ntext', 'updated_at', 'created_at', ], ]) ?>
</div>
|