Completed
Push — master ( 4b0341...0b55a4 )
by Alexey
05:02
created
system/modules/Ui/objects/Tree.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
           }
32 32
           $count += count($items);
33 33
           foreach ($items as $objectChild) {
34
-              $count+=static::showLi($objectChild, 1, $maxDeep, $hrefFunc);
34
+              $count += static::showLi($objectChild, 1, $maxDeep, $hrefFunc);
35 35
           }
36 36
           ?>
37 37
         </ul>
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
                       <ul>
57 57
                         <?php
58 58
                     }
59
-                    $count+=static::showLi($objectChild, $deep + 1, $maxDeep, $hrefFunc);
59
+                    $count += static::showLi($objectChild, $deep + 1, $maxDeep, $hrefFunc);
60 60
                 }
61 61
             }
62 62
             if ($isset) {
Please login to merge, or discard this patch.
system/modules/Ecommerce/appControllers/content/Cart/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -101,7 +101,7 @@
 block discarded – undo
101 101
                     <h3 class="panel-title">Способ доставки</h3>
102 102
                   </div>
103 103
                   <div class="panel-body">
104
-                    <?php $this->widget('Ecommerce\cart/delivery', compact('form','cart','deliverys', 'cartDelivery')); ?>
104
+                    <?php $this->widget('Ecommerce\cart/delivery', compact('form', 'cart', 'deliverys', 'cartDelivery')); ?>
105 105
                   </div>
106 106
                 </div>
107 107
               </div>
Please login to merge, or discard this patch.
system/modules/Ecommerce/models/Delivery/Field.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
             'map' => [
45 45
                 ['name', 'type'],
46 46
                 ['required', 'save'],
47
-                [ 'userfield']
47
+                ['userfield']
48 48
             ]
49 49
         ]
50 50
     ];
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/cart/delivery.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
     <?php
28 28
     $delivery = $cartDelivery;
29 29
     if ($delivery->price_text || $delivery->price) {
30
-        echo "<div>Стоимость доставки: <b>" . ($delivery->price_text ? $delivery->price_text : ( $delivery->price . ' ' . ($delivery->currency ? $delivery->currency->acronym() : 'руб.') )) . '</b></div>';
30
+        echo "<div>Стоимость доставки: <b>" . ($delivery->price_text ? $delivery->price_text : ($delivery->price . ' ' . ($delivery->currency ? $delivery->currency->acronym() : 'руб.'))) . '</b></div>';
31 31
     }
32 32
     if ((float) $delivery->max_cart_price) {
33 33
         echo '<div>При заказе товаров на сумму от ' . $delivery->max_cart_price . ' руб - бесплатно</div>';
34 34
     }
35 35
     echo $delivery->info;
36
-    if($delivery->fields) {
36
+    if ($delivery->fields) {
37 37
         echo '<hr \>';
38 38
         foreach ($delivery->fields as $field) {
39 39
             $form->input($field->type, "deliveryFields[{$field->id}]", $field->name, ['required' => $field->required]);
Please login to merge, or discard this patch.