title = 'Заказ #' . $model->id; $this->params[ 'breadcrumbs' ][] = [ 'label' => \Yii::t('app', 'Заказы'), 'url' => [ 'index' ], ]; $this->params[ 'breadcrumbs' ][] = $this->title; ?>

title) ?>

$model->id, ], [ 'class' => 'btn btn-primary' ] ) ?> $model->id, ], [ 'class' => 'btn bg-orange' ] ) ?>

Данные заказа

$model, 'attributes' => [ 'id', 'deadline', 'pay', [ 'label' => 'Причина', 'value' => empty($model->reason) ? '' : Order::REASONS[$model->reason], ], [ 'label' => 'Статус', 'value' => empty($model->label) ? '' : $model->orderLabel->lang->title, ], 'name', 'phone', 'email', 'comment', [ 'label' => 'Способ доставки', 'value' => empty($model->delivery) ? '' : $model->orderDelivery->lang->title, ], 'declaration', 'stock', [ 'label' => 'Способ оплаты', 'value' => empty($model->payment) ? '' : $model->orderPayment->lang->title, ], 'insurance', 'city', 'adress', 'body', 'check', 'sms', ], ] ) ?>

Товары

$products, 'columns' => [ [ 'class' => SerialColumn::className(), ], 'product_name', 'name', 'sku', 'price', 'count', 'sum_cost', ], ] ); ?>

История

$historyData, 'layout' => '{items}', 'itemView' => '_timeline_item', 'itemOptions' => [ 'tag' => false, ], 'options' => [ 'tag' => 'ul', 'class' => 'list-view timeline', ], ] ); ?>