title = $model->id; $this->params['breadcrumbs'][] = ['label' => 'Deliveries', 'url' => ['index']]; $this->params['breadcrumbs'][] = $this->title; \yii\web\YiiAsset::register($this); ?>
= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
= DetailView::widget([ 'model' => $model, 'attributes' => [ 'id', 'order_id', 'shipping_name', 'shipping_id', [ 'attribute' => 'type', 'value' => function ($model) { return \backend\modules\shop\models\ars\Delivery::dropDown('type', $model->type); } ], 'status', 'decription:ntext', [ 'attribute' => 'created_at', 'value' => function ($model) { return date('Y-m-d H:i:s', $model->created_at); } ], [ 'attribute' => 'updated_at', 'value' => function ($model) { return date('Y-m-d H:i:s', $model->updated_at); } ], ], ]) ?>