<?php

use yii\helpers\Html;
use yii\widgets\DetailView;

/* @var $this yii\web\View */
/* @var $model common\models\GoodsSku */

$this->title = $model->name;
$this->params['breadcrumbs'][] = ['label' => Yii::t('common', 'Goods Skus'), 'url' => ['index']];
$this->params['breadcrumbs'][] = $this->title;
?>
<?= $this->render('../site/view_menu', [ 'model' => $model]) ?><div class="box box-success">
    <div class="box-body">
    <?= DetailView::widget([
        'model' => $model,
        'attributes' => [
            'id',
            'goods_id',
            'name',
            'origin_price',
            'price',
            'stock',
            'actual_sales',
            'virtual_sales',
            'created_at:datetime',
            'updated_at:datetime',
            'status',
        ],
    ]) ?>
    </div>
</div>
