Commit 31df2ba6027b97554b2053c5d5808acf3802a6e9

Authored by Alexey Boroda
1 parent 0b43e0d3

-Log updated_at, refactor immediately

Showing 1 changed file with 4 additions and 0 deletions   Show diff stats
views/order/_log_item.php
@@ -27,6 +27,10 @@ @@ -27,6 +27,10 @@
27 </tr> 27 </tr>
28 <?php 28 <?php
29 foreach (Json::decode($model->data) as $key => $item) { 29 foreach (Json::decode($model->data) as $key => $item) {
  30 + /**
  31 + * @todo refactor this continue
  32 + */
  33 + if ($key == 'updated_at') continue;
30 ?> 34 ?>
31 <tr> 35 <tr>
32 <td><?=$order->attributeLabels()[$key]?></td> 36 <td><?=$order->attributeLabels()[$key]?></td>