view.php 777 B

123456789101112131415161718192021222324252627282930313233
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\VipUser */
  6. $this->title = $model->id;
  7. $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Vip Users'), 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. ?>
  10. <div class="box box-success">
  11. <div class="box-body">
  12. <?= DetailView::widget([
  13. 'model' => $model,
  14. 'attributes' => [
  15. 'id',
  16. 'user_id',
  17. 'price_id',
  18. 'price',
  19. 'month',
  20. 'start_time:datetime',
  21. 'end_time:datetime',
  22. 'type',
  23. 'pay_user_id',
  24. 'created_at',
  25. 'updated_at',
  26. 'status',
  27. ],
  28. ]) ?>
  29. </div>
  30. </div>