Commit 5baec053ee8a80441b2e048bd96fe11963031ab0
1 parent
7def290f
stock
Showing
4 changed files
with
11 additions
and
0 deletions
Show diff stats
messages/ru/stock.php
migrations/m170721_135629_create_table_shops.php
models/Shop.php
| ... | ... | @@ -60,6 +60,10 @@ |
| 60 | 60 | 'boolean', |
| 61 | 61 | ], |
| 62 | 62 | [ |
| 63 | + [ 'shop' ], | |
| 64 | + 'boolean', | |
| 65 | + ], | |
| 66 | + [ | |
| 63 | 67 | [ |
| 64 | 68 | 'mode', |
| 65 | 69 | 'modeStr', |
| ... | ... | @@ -94,6 +98,8 @@ |
| 94 | 98 | 'city_id' => 'City ID', |
| 95 | 99 | 'sort' => \Yii::t('stock', 'Sort'), |
| 96 | 100 | 'status' => \Yii::t('stock', 'Status'), |
| 101 | + 'shop' => \Yii::t('stock', 'Shop'), | |
| 102 | + | |
| 97 | 103 | ]; |
| 98 | 104 | } |
| 99 | 105 | ... | ... |
views/shop/_form.php