Test Failed
Push — master ( 23cc6e...476483 )
by Alexey
05:28
created
system/modules/Ecommerce/models/Cart.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -338,6 +338,9 @@
 block discarded – undo
338 338
         return false;
339 339
     }
340 340
 
341
+    /**
342
+     * @return \Money\Sums
343
+     */
341 344
     public function deliverySum() {
342 345
         $sum = new \Money\Sums([0 => 0]);
343 346
         if ($this->delivery && $this->needDelivery()) {
Please login to merge, or discard this patch.
system/modules/Ecommerce/widgets/formInputs/pickpointPointChooser.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@  discard block
 block discarded – undo
20 20
             }
21 21
         }
22 22
         if ($data) {
23
-            $address = $data['Name'] . ' ' . $data['Number'] . '<br />' . $data['PostCode'] . ', ' . $data['Region'] . ', ' . $data['CitiName'] . ', ' . $data['Address'];// . '<br /><small>' . $data['OutDescription'].'</small>';
23
+            $address = $data['Name'] . ' ' . $data['Number'] . '<br />' . $data['PostCode'] . ', ' . $data['Region'] . ', ' . $data['CitiName'] . ', ' . $data['Address']; // . '<br /><small>' . $data['OutDescription'].'</small>';
24 24
         }
25 25
     }
26 26
     ?>
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
       function my_function(result) {
33 33
         console.log(result);
34 34
 // устанавливаем в скрытое поле ID терминала
35
-        document.getElementById('<?=$id;?>').value = result.id;
35
+        document.getElementById('<?=$id; ?>').value = result.id;
36 36
 // показываем пользователю название точки и адрес доствки
37 37
         document.getElementById('address').innerHTML = result['name'] + '<br />' + result['address'];
38 38
       }
Please login to merge, or discard this patch.