Completed
Push — master ( b3f37b...f500d6 )
by Nikita
03:36
created
app/code/local/Mygento/Yandexdelivery/Helper/Data.php 2 patches
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -55,6 +55,11 @@  discard block
 block discarded – undo
55 55
         return $result;
56 56
     }
57 57
 
58
+    /**
59
+     * @param string $path
60
+     *
61
+     * @return double
62
+     */
58 63
     public function getConfigData($path)
59 64
     {
60 65
         return Mage::getStoreConfig('carriers/' . $this->_name . '/' . $path);
@@ -222,6 +227,9 @@  discard block
 block discarded – undo
222 227
         ];
223 228
     }
224 229
 
230
+    /**
231
+     * @param string $param
232
+     */
225 233
     private function getAttributeValue($param, $product)
226 234
     {
227 235
         $attribute = $this->getConfigData('item' . $param);
Please login to merge, or discard this patch.
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@  discard block
 block discarded – undo
16 16
     public function addLog($text)
17 17
     {
18 18
         if ($this->getConfigData('debug')) {
19
-            Mage::log($text, null, $this->_name . '.log', true);
19
+            Mage::log($text, null, $this->_name.'.log', true);
20 20
         }
21 21
     }
22 22
 
23 23
     public function requestApiPost($url, $data, $sign = false, $method = false)
24 24
     {
25
-        $this->addLog('Request to: ' . $url);
25
+        $this->addLog('Request to: '.$url);
26 26
 
27 27
         if ($sign) {
28 28
             $data = $this->sign($data, $method);
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
 
58 58
     public function getConfigData($path)
59 59
     {
60
-        return Mage::getStoreConfig('carriers/' . $this->_name . '/' . $path);
60
+        return Mage::getStoreConfig('carriers/'.$this->_name.'/'.$path);
61 61
     }
62 62
 
63 63
     /**
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
             }
97 97
         }
98 98
 
99
-        $preparedData = $secretKey . $this->getConfigData('' . $method);
99
+        $preparedData = $secretKey.$this->getConfigData(''.$method);
100 100
         $data['secret_key'] = md5($preparedData);
101 101
 
102 102
         $this->addLog($data);
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 
106 106
     public function setConfigData($key, $value)
107 107
     {
108
-        Mage::getModel('core/config')->saveConfig('carriers/' . $this->_name . '/' . $key, $value);
108
+        Mage::getModel('core/config')->saveConfig('carriers/'.$this->_name.'/'.$key, $value);
109 109
     }
110 110
 
111 111
     public function refreshAllCaches()
@@ -159,7 +159,7 @@  discard block
 block discarded – undo
159 159
     {
160 160
         if (is_array($arr) and 3 == sizeof($arr)) {
161 161
             foreach ($arr as $a) {
162
-                if ((!is_int($a) and ! is_float($a)) or $a < 0.1) {
162
+                if ((!is_int($a) and !is_float($a)) or $a < 0.1) {
163 163
                     return false;
164 164
                 }
165 165
             }
@@ -224,17 +224,17 @@  discard block
 block discarded – undo
224 224
 
225 225
     private function getAttributeValue($param, $product)
226 226
     {
227
-        $attribute = $this->getConfigData('item' . $param);
227
+        $attribute = $this->getConfigData('item'.$param);
228 228
         if ('0' != $attribute) {
229 229
             $attribute_mode = Mage::getModel('catalog/product')->getResource()->getAttribute($attribute)->getFrontendInput();
230 230
             if ('select' == $attribute_mode) {
231 231
                 $value = $product->getAttributeText($attribute);
232
-                Mage::helper($this->_name)->addLog('attribute ' . $attribute . ' is select with value -> ' . $value);
232
+                Mage::helper($this->_name)->addLog('attribute '.$attribute.' is select with value -> '.$value);
233 233
             } else {
234 234
                 $value = $product->getData($attribute);
235 235
             }
236 236
         } else {
237
-            $value = $this->getConfigData('fone' . $param);
237
+            $value = $this->getConfigData('fone'.$param);
238 238
         }
239 239
         return round($value, 0);
240 240
     }
@@ -256,7 +256,7 @@  discard block
 block discarded – undo
256 256
     public function toOptionArray($model)
257 257
     {
258 258
         $data_array = [];
259
-        $model = Mage::getModel('yandexdelivery/' . $model);
259
+        $model = Mage::getModel('yandexdelivery/'.$model);
260 260
         $data = $model->getCollection()->getData();
261 261
         foreach ($data as $track) {
262 262
             array_push($data_array, [
@@ -270,7 +270,7 @@  discard block
 block discarded – undo
270 270
     public function toOptionsArray($model)
271 271
     {
272 272
         $data_array = [];
273
-        $model = Mage::getModel('yandexdelivery/' . $model);
273
+        $model = Mage::getModel('yandexdelivery/'.$model);
274 274
         $data = $model->getCollection()->getData();
275 275
         foreach ($data as $track) {
276 276
             $data_array[$track['id']] = (isset($track['name']) ? $track['name'] : $track['legal_name']);
@@ -291,9 +291,9 @@  discard block
 block discarded – undo
291 291
         }
292 292
         $num = $filter->filter($phone);
293 293
         if (strlen($num) == 11) {
294
-            $phone = '7' . substr($num, 1);
294
+            $phone = '7'.substr($num, 1);
295 295
         } elseif (strlen($num) == 10) {
296
-            $phone = '7' . $num;
296
+            $phone = '7'.$num;
297 297
         } else {
298 298
             $phone = $num;
299 299
         }
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Model/Carrier.php 2 patches
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -304,6 +304,10 @@
 block discarded – undo
304 304
         return $this->sendRequest('getOrderInfo', ['order_id' => $order_id], true);
305 305
     }
306 306
 
307
+    /**
308
+     * @param string $method
309
+     * @param boolean $sign
310
+     */
307 311
     protected function sendRequest($method, $data, $sign, $sender = null)
308 312
     {
309 313
         if ($sender) {
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -131,7 +131,7 @@  discard block
 block discarded – undo
131 131
     private function getRequisiteInfo()
132 132
     {
133 133
         $data = [
134
-            'requisite_id' => Mage::getStoreConfig('carriers/' . $this->_name . '/requisite')
134
+            'requisite_id' => Mage::getStoreConfig('carriers/'.$this->_name.'/requisite')
135 135
         ];
136 136
 
137 137
         $result = $this->sendRequest('getRequisiteInfo', $data, true);
@@ -141,7 +141,7 @@  discard block
 block discarded – undo
141 141
         }
142 142
         foreach ($result->data->requisites as $requsite) {
143 143
             $requsiteId = $requsite->id;
144
-            Mage::helper($this->_name)->addLog('FFF ' . $requsiteId);
144
+            Mage::helper($this->_name)->addLog('FFF '.$requsiteId);
145 145
             if (!$requsiteId) {
146 146
                 continue;
147 147
             }
@@ -179,9 +179,9 @@  discard block
 block discarded – undo
179 179
         $types = ['todoor', 'post', 'pickup'];
180 180
         $enabled = [];
181 181
         foreach ($types as $type) {
182
-            if (Mage::getStoreConfig('carriers/yandexdelivery_' . $type . '/active')) {
182
+            if (Mage::getStoreConfig('carriers/yandexdelivery_'.$type.'/active')) {
183 183
                 if ($addHypes) {
184
-                    $enabled[] = "'" . $type . "'";
184
+                    $enabled[] = "'".$type."'";
185 185
                 } else {
186 186
                     $enabled[] = $type;
187 187
                 }
@@ -311,14 +311,14 @@  discard block
 block discarded – undo
311 311
         } else {
312 312
             $data['sender_id'] = $this->getSender();
313 313
         }
314
-        return json_decode(Mage::helper($this->_name)->requestApiPost($this->_url . $method, $data, $sign, $method));
314
+        return json_decode(Mage::helper($this->_name)->requestApiPost($this->_url.$method, $data, $sign, $method));
315 315
     }
316 316
 
317 317
     protected function getOrderData($order)
318 318
     {
319 319
 
320
-        if (Mage::getStoreConfig('carriers/' . $this->_name . '/onlyone')) {
321
-            $weight = round(Mage::getStoreConfig('carriers/' . $this->_name . '/oneweight') * 1000 / Mage::getStoreConfig('carriers/' . $this->_name . '/weightunit'), 3);
320
+        if (Mage::getStoreConfig('carriers/'.$this->_name.'/onlyone')) {
321
+            $weight = round(Mage::getStoreConfig('carriers/'.$this->_name.'/oneweight') * 1000 / Mage::getStoreConfig('carriers/'.$this->_name.'/weightunit'), 3);
322 322
             $dimensions = Mage::helper($this->_name)->getStandardSizes();
323 323
         } else {
324 324
             $processed_dimensions = Mage::helper($this->_name)->getSizes($order->getAllVisibleItems(), false);
@@ -349,7 +349,7 @@  discard block
 block discarded – undo
349 349
                 'last_name' => $order->getShippingAddress()->getLastname(),
350 350
             ],
351 351
             'delivery' => [
352
-                'to_yd_warehouse' => Mage::getStoreConfig('carriers/' . $this->_name . '/yd_warehouse'),
352
+                'to_yd_warehouse' => Mage::getStoreConfig('carriers/'.$this->_name.'/yd_warehouse'),
353 353
                 'delivery' => $info_array[3],
354 354
                 'direction' => $info_array[2],
355 355
                 'tariff' => $info_array[1],
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/controllers/IndexController.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -27,6 +27,6 @@
 block discarded – undo
27 27
         );
28 28
 
29 29
         $result = ['jsonresult' => $results];
30
-        $this->getResponse()->setBody($callback . '(' . json_encode($result) . ')');
30
+        $this->getResponse()->setBody($callback.'('.json_encode($result).')');
31 31
     }
32 32
 }
Please login to merge, or discard this patch.
Yandexdelivery/controllers/Adminhtml/Yandexdelivery/ApiController.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@  discard block
 block discarded – undo
24 24
         foreach ($keys as $key) {
25 25
             $tmp = Mage::app()->getRequest()->getParam($key);
26 26
             if (!$tmp) {
27
-                $return = 'No ' . $key . ' in POST';
27
+                $return = 'No '.$key.' in POST';
28 28
                 return $this->getResponse()->setBody($return);
29 29
             }
30 30
         }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
         }
64 64
         $msg = '';
65 65
         foreach ($result->data->errors as $error) {
66
-            $msg .= $error . '. ';
66
+            $msg .= $error.'. ';
67 67
         }
68 68
         Mage::getSingleton('adminhtml/session')->addError($msg);
69 69
         $this->_redirectReferer();
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
             $errors = (array) $result->data->errors;
88 88
             $error_text = '';
89 89
             foreach ($errors as $key => $value) {
90
-                $error_text .= $key . " - " . $value . "\n";
90
+                $error_text .= $key." - ".$value."\n";
91 91
             }
92 92
             $message = ['error' => true, 'message' => $error_text];
93 93
         }
@@ -122,7 +122,7 @@  discard block
 block discarded – undo
122 122
             if (isset($result->data->errors)) {
123 123
                 $msg .= ':';
124 124
                 foreach ((array) $result->data->errors as $error) {
125
-                    $msg .= ' ' . $error;
125
+                    $msg .= ' '.$error;
126 126
                 }
127 127
             }
128 128
             if ($showAdmin) {
@@ -162,7 +162,7 @@  discard block
 block discarded – undo
162 162
             $data = base64_decode($result->data);
163 163
             // @codingStandardsIgnoreEnd
164 164
 
165
-            return $this->_prepareDownloadResponse('yandexdelivery_' . $ydId . '.pdf', $data, 'application/pdf');
165
+            return $this->_prepareDownloadResponse('yandexdelivery_'.$ydId.'.pdf', $data, 'application/pdf');
166 166
         }
167 167
         $this->getResponse()->setBody(Mage::helper('yandexdelivery')->__('Error getting order PDF'));
168 168
     }
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Model/Shipping.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -16,11 +16,11 @@  discard block
 block discarded – undo
16 16
 
17 17
     public function collectRates(Mage_Shipping_Model_Rate_Request $request)
18 18
     {
19
-        Varien_Profiler::start($this->_name . '_collect_rate');
19
+        Varien_Profiler::start($this->_name.'_collect_rate');
20 20
 
21 21
         if (!$this->getType()) {
22 22
             Mage::helper($this->_name)->addLog('Calc -> no code');
23
-            Varien_Profiler::stop($this->_name . '_collect_rate');
23
+            Varien_Profiler::stop($this->_name.'_collect_rate');
24 24
             return false;
25 25
         }
26 26
         $type = $this->getType();
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
             $quote = $this->getQuote();
41 41
             $cartItems = $quote->getAllVisibleItems();
42 42
 
43
-            Mage::helper($this->_name)->addLog('Found ' . count($cartItems) . ' items in quote');
43
+            Mage::helper($this->_name)->addLog('Found '.count($cartItems).' items in quote');
44 44
             Mage::helper($this->_name)->addLog('Calc -> every item in cart');
45 45
 
46 46
             $processed_dimensions = Mage::helper($this->_name)->getSizes($cartItems, true);
@@ -69,17 +69,17 @@  discard block
 block discarded – undo
69 69
 
70 70
         $result = Mage::getModel('shipping/rate_result');
71 71
 
72
-        Mage::helper('yandexdelivery')->__('Will calc type -> ' . $type);
72
+        Mage::helper('yandexdelivery')->__('Will calc type -> '.$type);
73 73
 
74
-        Varien_Profiler::start($this->_name . '_request');
75
-        $response = Mage::getModel($this->_name . '/carrier')->searchDeliveryList($data);
76
-        Varien_Profiler::stop($this->_name . '_request');
74
+        Varien_Profiler::start($this->_name.'_request');
75
+        $response = Mage::getModel($this->_name.'/carrier')->searchDeliveryList($data);
76
+        Varien_Profiler::stop($this->_name.'_request');
77 77
 
78 78
         if ($response->status != "ok") {
79 79
             $errors = (array) $response->data->errors;
80
-            $error_text = Mage::helper('yandexdelivery')->__('Error:') . '&nbsp;';
80
+            $error_text = Mage::helper('yandexdelivery')->__('Error:').'&nbsp;';
81 81
             foreach ($errors as $key => $value) {
82
-                $error_text .= $key . "&nbsp;&mdash;&nbsp;" . $value . "\n";
82
+                $error_text .= $key."&nbsp;&mdash;&nbsp;".$value."\n";
83 83
             }
84 84
             return $this->returnError($error_text);
85 85
         }
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
 
89 89
         Mage::helper($this->_name)->addLog('Calculating ended');
90 90
 
91
-        Varien_Profiler::stop($this->_name . '_collect_rate');
91
+        Varien_Profiler::stop($this->_name.'_collect_rate');
92 92
         return $result;
93 93
     }
94 94
 
@@ -159,9 +159,9 @@  discard block
 block discarded – undo
159 159
             switch ($carrier_offer->type) {
160 160
                 case "TODOOR":
161 161
                     $method = Mage::getModel('shipping/rate_result_method');
162
-                    $method->setCarrier($this->_name . '_' . $type);
162
+                    $method->setCarrier($this->_name.'_'.$type);
163 163
                     $method->setCarrierTitle($this->getTypeTitle($type));
164
-                    $method->setMethod($carrier_offer->tariffId . '_' . $carrier_offer->direction . '_' . $carrier_offer->delivery->id);
164
+                    $method->setMethod($carrier_offer->tariffId.'_'.$carrier_offer->direction.'_'.$carrier_offer->delivery->id);
165 165
                     $method->setMethodTitle($carrier_offer->delivery->name);
166 166
                     $method->setPrice($price);
167 167
                     $method->setCost($price);
@@ -171,10 +171,10 @@  discard block
 block discarded – undo
171 171
                 case 'PICKUP':
172 172
                     foreach ($carrier_offer->pickupPoints as $point) {
173 173
                         $method = Mage::getModel('shipping/rate_result_method');
174
-                        $method->setCarrier($this->_name . '_' . $type);
174
+                        $method->setCarrier($this->_name.'_'.$type);
175 175
                         $method->setCarrierTitle($this->getTypeTitle($type));
176
-                        $method->setMethod($carrier_offer->tariffId . '_' . $carrier_offer->direction . '_' . $carrier_offer->delivery->id . '_' . $point->id);
177
-                        $method->setMethodTitle($carrier_offer->delivery->name . ', ' . $point->name);
176
+                        $method->setMethod($carrier_offer->tariffId.'_'.$carrier_offer->direction.'_'.$carrier_offer->delivery->id.'_'.$point->id);
177
+                        $method->setMethodTitle($carrier_offer->delivery->name.', '.$point->name);
178 178
                         $method->setPrice($price);
179 179
                         $method->setCost($price);
180 180
                         Mage::dispatchEvent('yandexdelivery_rate_result', ['method' => $method, 'request' => $request]);
@@ -183,10 +183,10 @@  discard block
 block discarded – undo
183 183
                     break;
184 184
                 case 'POST':
185 185
                     $method = Mage::getModel('shipping/rate_result_method');
186
-                    $method->setCarrier($this->_name . '_' . $type);
186
+                    $method->setCarrier($this->_name.'_'.$type);
187 187
                     $method->setCarrierTitle($this->getTypeTitle($type));
188
-                    $method->setMethod($carrier_offer->tariffId . '_' . $carrier_offer->direction . '_' . $carrier_offer->delivery->id);
189
-                    $method->setMethodTitle($carrier_offer->delivery->name . ', ' . $carrier_offer->tariffName);
188
+                    $method->setMethod($carrier_offer->tariffId.'_'.$carrier_offer->direction.'_'.$carrier_offer->delivery->id);
189
+                    $method->setMethodTitle($carrier_offer->delivery->name.', '.$carrier_offer->tariffName);
190 190
                     $method->setPrice($price);
191 191
                     $method->setCost($price);
192 192
                     Mage::dispatchEvent('yandexdelivery_rate_result', ['method' => $method, 'request' => $request]);
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
     protected function getTypeTitle($type)
202 202
     {
203
-        return Mage::getStoreConfig('carriers/' . $this->_name . '_' . $type . '/name');
203
+        return Mage::getStoreConfig('carriers/'.$this->_name.'_'.$type.'/name');
204 204
     }
205 205
 
206 206
     public function getConfig($path)
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Block/Adminhtml/Order/View/Tab.php 1 patch
Spacing   +12 added lines, -12 removed lines patch added patch discarded remove patch
@@ -70,13 +70,13 @@  discard block
 block discarded – undo
70 70
         $html = $this->getLayout()->createBlock('adminhtml/widget_button')
71 71
                         ->setData([
72 72
                             'label' => Mage::helper('yandexdelivery')->__($title),
73
-                            'onclick' => '' . $name . '.click(\'' . $url . '\');',
73
+                            'onclick' => ''.$name.'.click(\''.$url.'\');',
74 74
                             'class' => 'task'
75 75
                         ])->toHtml();
76 76
         $html .= '<script type = "text/javascript">
77 77
         //<![CDATA[
78
-            var ' . $name . ';
79
-            ' . $name . ' = {
78
+            var ' . $name.';
79
+            ' . $name.' = {
80 80
                 click: function (url) {
81 81
                     var request = new Ajax.Request(
82 82
                             url,
@@ -142,7 +142,7 @@  discard block
 block discarded – undo
142 142
 
143 143
     protected function getFullUrl($path)
144 144
     {
145
-        return Mage::helper('adminhtml')->getUrl('adminhtml/yandexdelivery_api/' . $path, ['_secure' => true, 'orderid' => $this->getOrder()->getId()]);
145
+        return Mage::helper('adminhtml')->getUrl('adminhtml/yandexdelivery_api/'.$path, ['_secure' => true, 'orderid' => $this->getOrder()->getId()]);
146 146
     }
147 147
 
148 148
     public function getTable()
@@ -168,19 +168,19 @@  discard block
 block discarded – undo
168 168
         </colgroup>';
169 169
         $html .= '<thead>
170 170
             <tr class="headings">
171
-                <th>' . $this->__('Status Date') . '</th>
172
-                <th>' . $this->__('Description') . '</th>
173
-                <th>' . $this->__('Uniform status') . '</th>
174
-                <th>' . $this->__('Status') . '</th>
171
+                <th>' . $this->__('Status Date').'</th>
172
+                <th>' . $this->__('Description').'</th>
173
+                <th>' . $this->__('Uniform status').'</th>
174
+                <th>' . $this->__('Status').'</th>
175 175
             </tr>
176 176
         </thead>';
177 177
         foreach ($result->data->data as $item) {
178 178
             $html .= '<tbody class="even">
179 179
                     <tr class="border">
180
-                        <td>' . $item->time . '</td>
181
-                        <td>' . $item->description . '</td>
182
-                        <td>' . $item->uniform_status . '</td>
183
-                        <td>' . $item->status . '</td>
180
+                        <td>' . $item->time.'</td>
181
+                        <td>' . $item->description.'</td>
182
+                        <td>' . $item->uniform_status.'</td>
183
+                        <td>' . $item->status.'</td>
184 184
                     </tr>
185 185
                     </tbody>';
186 186
         }
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Block/Adminhtml/Shipment/Grid.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
     {
25 25
         $collection = Mage::getModel('yandexdelivery/shipment')->getCollection();
26 26
         $collection->getSelect()->join(
27
-            array('table_alias' => Mage::getConfig()->getTablePrefix() . 'sales_flat_order'),
27
+            array('table_alias' => Mage::getConfig()->getTablePrefix().'sales_flat_order'),
28 28
             'main_table.order_id = table_alias.entity_id',
29 29
             array('increment_id' => 'table_alias.increment_id')
30 30
         );
Please login to merge, or discard this patch.
app/code/local/Mygento/Yandexdelivery/Block/Version.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -20,9 +20,9 @@
 block discarded – undo
20 20
      */
21 21
     public function render(Varien_Data_Form_Element_Abstract $element)
22 22
     {
23
-        $info = '<fieldset class="config success-msg" style="padding-left:30px;"><a target="_blank" href="https://www.mygento.ru/"><img style="margin-right:5px;" src="//www.mygento.ru/media/favicon/default/favicon.png" width="16" height="16" />' . $this->__('Magento Development') . '</a>';
24
-        $info .= '<a style="float:right;margin-left: 20px;" target="_blank" href="https://github.com/mygento/yandexdelivery">' . $this->__('Module on Github') . '</a>';
25
-        $info .= '<a style="float:right;" target="_blank" href="https://mygento.atlassian.net/wiki/pages/viewpage.action?pageId=3708567">' . $this->__('Extension instructions') . '</a></fieldset>';
23
+        $info = '<fieldset class="config success-msg" style="padding-left:30px;"><a target="_blank" href="https://www.mygento.ru/"><img style="margin-right:5px;" src="//www.mygento.ru/media/favicon/default/favicon.png" width="16" height="16" />'.$this->__('Magento Development').'</a>';
24
+        $info .= '<a style="float:right;margin-left: 20px;" target="_blank" href="https://github.com/mygento/yandexdelivery">'.$this->__('Module on Github').'</a>';
25
+        $info .= '<a style="float:right;" target="_blank" href="https://mygento.atlassian.net/wiki/pages/viewpage.action?pageId=3708567">'.$this->__('Extension instructions').'</a></fieldset>';
26 26
         return $info;
27 27
     }
28 28
 }
Please login to merge, or discard this patch.