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.

38 lines
900 B

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\ars\ExpressTemplate */
  6. $this->title = $model->name;
  7. $this->params['breadcrumbs'][] = ['label' => 'Express Templates', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. \yii\web\YiiAsset::register($this);
  10. ?>
  11. <div class="express-template-view">
  12. <p>
  13. <?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
  14. </p>
  15. <?= DetailView::widget([
  16. 'model' => $model,
  17. 'attributes' => [
  18. 'id',
  19. 'name',
  20. 'province:ntext',
  21. 'city:ntext',
  22. 'area:ntext',
  23. 'calculation',
  24. 'basic_price',
  25. 'basic_amount',
  26. 'extra_price',
  27. 'extra_amount',
  28. 'updated_at',
  29. 'created_at',
  30. ],
  31. ]) ?>
  32. </div>