diff --git a/views/order/index.php b/views/order/index.php index d34b63e..82f37b7 100755 --- a/views/order/index.php +++ b/views/order/index.php @@ -37,7 +37,7 @@ JS; ?>
- = Html::a('Add order', [ 'create' ], [ 'class' => 'btn btn-success' ]) ?> + = Html::a(\Yii::t('app', 'Добавить заказ'), [ 'create' ], [ 'class' => 'btn btn-success' ]) ?>
'btn btn-primary', ] @@ -261,7 +261,12 @@ JS; } }, ], - 'phone', + [ + 'attribute' => 'phone', + 'content' => function($model) { + return $model->phone . '