Commit da269f86c696cbd61d35336c9f9645955a331276
1 parent
e2af367e
-Order product log clock added
Showing
1 changed file
with
8 additions
and
5 deletions
Show diff stats
views/order/_log_product_item.php
... | ... | @@ -14,7 +14,7 @@ |
14 | 14 | ?> |
15 | 15 | <div class="box box-success"> |
16 | 16 | <div class="box-header with-border"> |
17 | - <h3 class="box-title">История товара <a href="<?=Url::to( | |
17 | + <h3 class="box-title">История товара <a href="<?= Url::to( | |
18 | 18 | [ |
19 | 19 | '/ecommerce/variant/view', |
20 | 20 | 'product_id' => $model->productVariant->product->id, |
... | ... | @@ -171,9 +171,11 @@ |
171 | 171 | 'span', |
172 | 172 | \Yii::$app->formatter->asText($item[ 'old' ]), |
173 | 173 | [ 'class' => 'text-red' ] |
174 | - ) . ' > ' . Html::tag('span', | |
175 | - \Yii::$app->formatter->asText($item[ 'new' ]), | |
176 | - [ 'class' => 'text-green' ]), | |
174 | + ) . ' > ' . Html::tag( | |
175 | + 'span', | |
176 | + \Yii::$app->formatter->asText($item[ 'new' ]), | |
177 | + [ 'class' => 'text-green' ] | |
178 | + ), | |
177 | 179 | [ 'class' => 'item' ] |
178 | 180 | ); |
179 | 181 | } ?> |
... | ... | @@ -186,7 +188,8 @@ |
186 | 188 | </li> |
187 | 189 | <?php |
188 | 190 | } |
189 | - echo Html::endTag('ul'); | |
191 | + | |
192 | + echo Html::tag('li', Html::tag('i', '', [ 'class' => 'fa fa-clock-o bg-gray' ])) . Html::endTag('ul'); | |
190 | 193 | } |
191 | 194 | ?> |
192 | 195 | </div> | ... | ... |