view.php 840 B

1234567891011121314151617181920212223242526272829303132333435
  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model common\models\GroupOrder */
  6. $this->title = $model->id;
  7. $this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Group Orders'), '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. 'group_id',
  18. 'out_trade_no',
  19. 'total_amount',
  20. 'pay_amount',
  21. 'integral_amount',
  22. 'pay_type',
  23. 'pay_time:datetime',
  24. 'is_pay',
  25. 'detail',
  26. 'created_at',
  27. 'updated_at',
  28. 'status',
  29. ],
  30. ]) ?>
  31. </div>
  32. </div>