Commit f8f0b4052c126b103c21af3960bafb698e152cc0

Authored by Alexey Boroda
1 parent b4423d52

-Orders second name added

Showing 2 changed files with 5 additions and 0 deletions   Show diff stats
@@ -80,6 +80,7 @@ @@ -80,6 +80,7 @@
80 'city', 80 'city',
81 'address', 81 'address',
82 'comment', 82 'comment',
  83 + 'secondname',
83 ], 84 ],
84 'string', 85 'string',
85 'max' => 255, 86 'max' => 255,
@@ -135,6 +136,7 @@ @@ -135,6 +136,7 @@
135 'created_at' => Yii::t('order', 'Created At'), 136 'created_at' => Yii::t('order', 'Created At'),
136 'updated_at' => Yii::t('order', 'Updated At'), 137 'updated_at' => Yii::t('order', 'Updated At'),
137 'deleted_at' => Yii::t('order', 'Deleted At'), 138 'deleted_at' => Yii::t('order', 'Deleted At'),
  139 + 'secondname' => \Yii::t('order', 'Фамилия'),
138 ]; 140 ];
139 } 141 }
140 142
views/order/_form.php
@@ -30,6 +30,9 @@ @@ -30,6 +30,9 @@
30 <?= $form->field($model, 'name') 30 <?= $form->field($model, 'name')
31 ->textInput([ 'maxlength' => true ]) ?> 31 ->textInput([ 'maxlength' => true ]) ?>
32 32
  33 + <?= $form->field($model, 'secondname')
  34 + ->textInput([ 'maxlength' => true ]) ?>
  35 +
33 <?= $form->field($model, 'phone') 36 <?= $form->field($model, 'phone')
34 ->textInput([ 'maxlength' => true ]) ?> 37 ->textInput([ 'maxlength' => true ]) ?>
35 38