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.

45 lines
1.0 KiB

  1. <?php
  2. use yii\helpers\Html;
  3. use yii\widgets\DetailView;
  4. /* @var $this yii\web\View */
  5. /* @var $model backend\modules\shop\models\ars\AfterSale */
  6. $this->title = $model->id;
  7. $this->params['breadcrumbs'][] = ['label' => 'After Sales', 'url' => ['index']];
  8. $this->params['breadcrumbs'][] = $this->title;
  9. \yii\web\YiiAsset::register($this);
  10. ?>
  11. <div class="after-sale-view">
  12. <p>
  13. <?= Html::a('返回列表', ['index'], ['class' => 'btn btn-success']) ?>
  14. </p>
  15. <?= DetailView::widget([
  16. 'model' => $model,
  17. 'attributes' => [
  18. 'id',
  19. 'wx_refund_id',
  20. 'after_sale_sn',
  21. 'user_id',
  22. 'order_goods_id',
  23. 'amount',
  24. 'count',
  25. 'apply_at',
  26. 'dealt_at',
  27. 'finish_at',
  28. 'operator_id',
  29. 'refund_type',
  30. 'description:ntext',
  31. 'image:ntext',
  32. 'status',
  33. 'reason',
  34. 'remarks:ntext',
  35. 'take_shipping_sn',
  36. 'refund_mode',
  37. ],
  38. ]) ?>
  39. </div>