Completed
Push — master ( 60b053...61ce86 )
by Marcus
02:08
created
src/Controller/Admin/Shop/Itemadmin.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,6 @@
 block discarded – undo
21 21
 namespace HaaseIT\HCSF\Controller\Admin\Shop;
22 22
 
23 23
 
24
-use HaaseIT\HCSF\HelperConfig;
25 24
 use HaaseIT\Toolbox\Tools;
26 25
 use Zend\ServiceManager\ServiceManager;
27 26
 
Please login to merge, or discard this patch.
src/Customer/Helper.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -158,7 +158,7 @@
 block discarded – undo
158 158
     /**
159 159
      * @param string $sKeyConfig
160 160
      * @param string $sKeyForm
161
-     * @param array|bool $aUserData
161
+     * @param boolean $aUserData
162 162
      * @return bool
163 163
      */
164 164
     public function getCustomerFormDefaultValue($sKeyConfig, $sKeyForm, $aUserData) {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -118,7 +118,7 @@
 block discarded – undo
118 118
             $aErr['fax'] = true;
119 119
         }
120 120
         $postcountry = filter_input(INPUT_POST, 'country', FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
121
-        if ($this->customer['validate_country'] && (empty($postcountry) || !isset($this->countries['countries_' .$sLang][$postcountry]))) {
121
+        if ($this->customer['validate_country'] && (empty($postcountry) || !isset($this->countries['countries_'.$sLang][$postcountry]))) {
122 122
             $aErr['country'] = true;
123 123
         }
124 124
         $posttos = filter_input(INPUT_POST, 'tos');
Please login to merge, or discard this patch.
src/HCSF.php 1 patch
Spacing   +13 added lines, -13 removed lines patch added patch discarded remove patch
@@ -65,25 +65,25 @@  discard block
 block discarded – undo
65 65
             $this->setupRequest();
66 66
         }
67 67
 
68
-        $this->serviceManager->setFactory('config', function () {
68
+        $this->serviceManager->setFactory('config', function() {
69 69
             return new HelperConfig();
70 70
         });
71 71
         $this->config = $this->serviceManager->get('config');
72 72
 
73
-        $this->serviceManager->setFactory('helper', function (ServiceManager $serviceManager) {
73
+        $this->serviceManager->setFactory('helper', function(ServiceManager $serviceManager) {
74 74
             return new \HaaseIT\HCSF\Helper($serviceManager);
75 75
         });
76 76
         $this->helper = $this->serviceManager->get('helper');
77 77
 
78 78
         if ($this->config->getCore('enable_module_customer')) {
79
-            $this->serviceManager->setFactory('helpercustomer', function (ServiceManager $serviceManager) {
79
+            $this->serviceManager->setFactory('helpercustomer', function(ServiceManager $serviceManager) {
80 80
                 return new \HaaseIT\HCSF\Customer\Helper($serviceManager);
81 81
             });
82 82
             $this->helperCustomer = $this->serviceManager->get('helpercustomer');
83 83
         }
84 84
 
85 85
         if ($this->config->getCore('enable_module_shop')) {
86
-            $this->serviceManager->setFactory('helpershop', function (ServiceManager $serviceManager) {
86
+            $this->serviceManager->setFactory('helpershop', function(ServiceManager $serviceManager) {
87 87
                 return new \HaaseIT\HCSF\Shop\Helper($serviceManager);
88 88
             });
89 89
             $this->helperShop = $this->serviceManager->get('helpershop');
@@ -100,11 +100,11 @@  discard block
 block discarded – undo
100 100
 
101 101
         date_default_timezone_set($this->config->getCore('defaulttimezone'));
102 102
 
103
-        $this->serviceManager->setFactory('hardcodedtextcats', function () {
103
+        $this->serviceManager->setFactory('hardcodedtextcats', function() {
104 104
             return $this->setupHardcodedTextcats();
105 105
         });
106 106
 
107
-        $this->serviceManager->setFactory('db', function () {
107
+        $this->serviceManager->setFactory('db', function() {
108 108
             return null;
109 109
         });
110 110
 
@@ -119,7 +119,7 @@  discard block
 block discarded – undo
119 119
         }
120 120
 
121 121
         if ($this->config->getCore('enable_module_shop')) {
122
-            $this->serviceManager->setFactory('oItem', function (ServiceManager $serviceManager) {
122
+            $this->serviceManager->setFactory('oItem', function(ServiceManager $serviceManager) {
123 123
                 return new \HaaseIT\HCSF\Shop\Items($serviceManager);
124 124
             });
125 125
         }
@@ -136,7 +136,7 @@  discard block
 block discarded – undo
136 136
     {
137 137
         // PSR-7 Stuff
138 138
         // Init request object
139
-        $this->serviceManager->setFactory('request', function () {
139
+        $this->serviceManager->setFactory('request', function() {
140 140
             $request = \Zend\Diactoros\ServerRequestFactory::fromGlobals();
141 141
 
142 142
             // cleanup request
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
     protected function setupDB()
202 202
     {
203
-        $this->serviceManager->setFactory('dbal', function () {
203
+        $this->serviceManager->setFactory('dbal', function() {
204 204
             $config = new \Doctrine\DBAL\Configuration();
205 205
 
206 206
             $connectionParams = [
@@ -221,14 +221,14 @@  discard block
 block discarded – undo
221 221
             return \Doctrine\DBAL\DriverManager::getConnection($connectionParams, $config);
222 222
         });
223 223
 
224
-        $this->serviceManager->setFactory('db', function (ServiceManager $serviceManager) {
224
+        $this->serviceManager->setFactory('db', function(ServiceManager $serviceManager) {
225 225
             return $serviceManager->get('dbal')->getWrappedConnection();
226 226
         });
227 227
     }
228 228
 
229 229
     protected function setupTextcats()
230 230
     {
231
-        $this->serviceManager->setFactory('textcats', function (ServiceManager $serviceManager) {
231
+        $this->serviceManager->setFactory('textcats', function(ServiceManager $serviceManager) {
232 232
             $langavailable = $this->config->getCore('lang_available');
233 233
             $textcats = new \HaaseIT\Toolbox\Textcat(
234 234
                 $this->config->getLang(),
@@ -245,7 +245,7 @@  discard block
 block discarded – undo
245 245
 
246 246
     protected function setupTwig()
247 247
     {
248
-        $this->serviceManager->setFactory('twig', function (ServiceManager $serviceManager) {
248
+        $this->serviceManager->setFactory('twig', function(ServiceManager $serviceManager) {
249 249
             $loader = new \Twig_Loader_Filesystem([PATH_BASEDIR.'customviews', HCSF_BASEDIR.'src/views/']);
250 250
 
251 251
             $twig_options = [
@@ -368,7 +368,7 @@  discard block
 block discarded – undo
368 368
         }
369 369
 
370 370
         $aP['countrylist'][] = ' | ';
371
-        $configcountries = $this->config->getCountries('countries_' .$this->config->getLang());
371
+        $configcountries = $this->config->getCountries('countries_'.$this->config->getLang());
372 372
         foreach ($configcountries as $sKey => $sValue) {
373 373
             $aP['countrylist'][] = $sKey.'|'.$sValue;
374 374
         }
Please login to merge, or discard this patch.
src/Controller/Shop/Paypalnotify.php 1 patch
Spacing   +19 added lines, -19 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
             $postdata = '';
75 75
 
76 76
             foreach ($_POST as $i => $v) {
77
-                $postdata .= $i . '=' . urlencode($v) . '&';
77
+                $postdata .= $i.'='.urlencode($v).'&';
78 78
             }
79 79
             $postdata .= 'cmd=_notify-validate';
80 80
             $web = parse_url($this->config->getShop('paypal')['url']);
@@ -86,15 +86,15 @@  discard block
 block discarded – undo
86 86
                 $web['port'] = 80;
87 87
                 $ssl = '';
88 88
             }
89
-            $fp = @fsockopen($ssl . $web['host'], $web['port'], $errnum, $errstr, 30);
89
+            $fp = @fsockopen($ssl.$web['host'], $web['port'], $errnum, $errstr, 30);
90 90
 
91 91
             if ($fp) {
92
-                fwrite($fp, 'POST ' . $web['path'] . " HTTP/1.1\r\n");
93
-                fwrite($fp, 'Host: ' . $web['host'] . "\r\n");
92
+                fwrite($fp, 'POST '.$web['path']." HTTP/1.1\r\n");
93
+                fwrite($fp, 'Host: '.$web['host']."\r\n");
94 94
                 fwrite($fp, "Content-type: application/x-www-form-urlencoded\r\n");
95
-                fwrite($fp, 'Content-length: ' . strlen($postdata) . "\r\n");
95
+                fwrite($fp, 'Content-length: '.strlen($postdata)."\r\n");
96 96
                 fwrite($fp, "Connection: close\r\n\r\n");
97
-                fwrite($fp, $postdata . "\r\n\r\n");
97
+                fwrite($fp, $postdata."\r\n\r\n");
98 98
 
99 99
                 $info = [];
100 100
                 while (!feof($fp)) {
@@ -104,9 +104,9 @@  discard block
 block discarded – undo
104 104
                 $info = implode(',', $info);
105 105
                 if (!(strpos($info, 'VERIFIED') === false)) {
106 106
 
107
-                    $sLogData .= '-- new entry - '.date($this->config->getCore('locale_format_date_time')) . " --\n\n";
107
+                    $sLogData .= '-- new entry - '.date($this->config->getCore('locale_format_date_time'))." --\n\n";
108 108
                     $sLogData .= "W00T!\n\n";
109
-                    $sLogData .= \HaaseIT\Toolbox\Tools::debug($_REQUEST, '', true, true) . "\n\n";
109
+                    $sLogData .= \HaaseIT\Toolbox\Tools::debug($_REQUEST, '', true, true)."\n\n";
110 110
 
111 111
                     // Check if the transaction id has been used before
112 112
                     $queryBuilder = $this->dbal->createQueryBuilder();
@@ -135,27 +135,27 @@  discard block
 block discarded – undo
135 135
                                 ->setParameter(1, $iId);
136 136
                             $queryBuilder->execute();
137 137
 
138
-                            $sLogData .= '-- Alles ok. Zahlung erfolgreich. TXNID: ' . $_REQUEST['txn_id'] . " --\n\n";
138
+                            $sLogData .= '-- Alles ok. Zahlung erfolgreich. TXNID: '.$_REQUEST['txn_id']." --\n\n";
139 139
                         } else {
140 140
                             $sLogData .= "-- In my country we have problem; Problem is evaluation. Throw the data down the log!\n";
141
-                            $sLogData .= 'mc_gross: ' . $_REQUEST['mc_gross'] . ' - number_format($fGesamtbrutto, 2, \'.\', \'\'): ' . number_format($fGesamtbrutto,
142
-                                    2, '.', '') . "\n";
143
-                            $sLogData .= 'custom: ' . $_REQUEST['custom'] . ' - $aOrder[\'o_id\']: ' . $aOrder['o_id'] . "\n";
144
-                            $sLogData .= 'payment_status: ' . $_REQUEST['payment_status'] . "\n";
145
-                            $sLogData .= 'mc_currency: ' . $_REQUEST['mc_currency'] . ' - HelperConfig::$shop["paypal"]["currency_id"]: ' . $this->config->getShop('paypal')['currency_id'] . "\n";
146
-                            $sLogData .= 'business: ' . $_REQUEST['receiver_email'] . ' - HelperConfig::$shop["paypal"]["business"]: ' . $this->config->getShop('paypal')['business'] . "\n\n";
141
+                            $sLogData .= 'mc_gross: '.$_REQUEST['mc_gross'].' - number_format($fGesamtbrutto, 2, \'.\', \'\'): '.number_format($fGesamtbrutto,
142
+                                    2, '.', '')."\n";
143
+                            $sLogData .= 'custom: '.$_REQUEST['custom'].' - $aOrder[\'o_id\']: '.$aOrder['o_id']."\n";
144
+                            $sLogData .= 'payment_status: '.$_REQUEST['payment_status']."\n";
145
+                            $sLogData .= 'mc_currency: '.$_REQUEST['mc_currency'].' - HelperConfig::$shop["paypal"]["currency_id"]: '.$this->config->getShop('paypal')['currency_id']."\n";
146
+                            $sLogData .= 'business: '.$_REQUEST['receiver_email'].' - HelperConfig::$shop["paypal"]["business"]: '.$this->config->getShop('paypal')['business']."\n\n";
147 147
                         }
148 148
                     } else {
149 149
                         // INVALID LOGGING ERROR
150
-                        $sLogData .= '-- new entry - ' . date($this->config->getCore('locale_format_date_time')) . " --\n\nPHAIL\n\n";
151
-                        $sLogData .= '!!! JEMAND HAT EINE ALTE TXN_ID BENUTZT: ' . $_REQUEST['txn_id'] . " !!!\n\n";
150
+                        $sLogData .= '-- new entry - '.date($this->config->getCore('locale_format_date_time'))." --\n\nPHAIL\n\n";
151
+                        $sLogData .= '!!! JEMAND HAT EINE ALTE TXN_ID BENUTZT: '.$_REQUEST['txn_id']." !!!\n\n";
152 152
                         $sLogData .= "!!! INVALID !!!\n\n";
153 153
                     }
154 154
                 } else {
155
-                    $sLogData .= '-- new entry - ' . date($this->config->getCore('locale_format_date_time')) . " --\n\nPHAIL - Transaktion fehlgeschlagen. TXNID: " . $_REQUEST['txn_id'] . "\n" . $info . "\n\n";
155
+                    $sLogData .= '-- new entry - '.date($this->config->getCore('locale_format_date_time'))." --\n\nPHAIL - Transaktion fehlgeschlagen. TXNID: ".$_REQUEST['txn_id']."\n".$info."\n\n";
156 156
                 }
157 157
 
158
-                file_put_contents(PATH_LOGS . FILE_PAYPALLOG, $sLogData, FILE_APPEND);
158
+                file_put_contents(PATH_LOGS.FILE_PAYPALLOG, $sLogData, FILE_APPEND);
159 159
             }
160 160
         }
161 161
 
Please login to merge, or discard this patch.
src/Controller/Shop/Shoppingcart.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -396,7 +396,7 @@  discard block
 block discarded – undo
396 396
             'paymentmethod' => $this->getPostValue('paymentmethod'),
397 397
             'shippingcost' => empty($_SESSION['shippingcost']) ? false : $_SESSION['shippingcost'],
398 398
             'paypallink' => $postpaymentmethod === 'paypal' ? $serverservername.'/_misc/paypal.html?id='.$iId : '',
399
-            'sofortueberweisunglink' => $postpaymentmethod === 'sofortueberweisung' ?  $serverservername.'/_misc/sofortueberweisung.html?id='.$iId : '',
399
+            'sofortueberweisunglink' => $postpaymentmethod === 'sofortueberweisung' ? $serverservername.'/_misc/sofortueberweisung.html?id='.$iId : '',
400 400
             'SESSION' => !$bCust ? Tools::debug($_SESSION, '$_SESSION', true, true) : '',
401 401
             'POST' => !$bCust ? Tools::debug($_POST, '$_POST', true, true) : '',
402 402
             'orderid' => $iId,
@@ -437,7 +437,7 @@  discard block
 block discarded – undo
437 437
                 } else {
438 438
                     $return .= $getcartkey;
439 439
                 }
440
-                $return.= ' '.$this->textcats->T('shoppingcart_msg_'.$getmsg.'_2');
440
+                $return .= ' '.$this->textcats->T('shoppingcart_msg_'.$getmsg.'_2');
441 441
                 if ($getmsg === 'updated') {
442 442
                     $return .= ' '.$getamount;
443 443
                 }
Please login to merge, or discard this patch.
src/Controller/Shop/Myorders.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             if (filter_input(INPUT_GET, 'id') !== null && filter_input(INPUT_GET, 'action') === 'show') {
61 61
                 $iId = \filter_input(INPUT_GET, 'id', FILTER_SANITIZE_NUMBER_INT);
62 62
 
63
-                $sql = 'SELECT * FROM ' . 'orders WHERE o_id = :id AND o_custno = \'' . $_SESSION['user']['cust_no'] . '\' AND o_ordercompleted != \'d\'';
63
+                $sql = 'SELECT * FROM '.'orders WHERE o_id = :id AND o_custno = \''.$_SESSION['user']['cust_no'].'\' AND o_ordercompleted != \'d\'';
64 64
                 $hResult = $this->db->prepare($sql);
65 65
                 $hResult->bindValue(':id', $iId);
66 66
                 $hResult->execute();
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
                         $aOrder['o_ordertimestamp']
74 74
                     );
75 75
                     $this->P->cb_customdata['orderdata']['orderremarks'] = $aOrder['o_remarks'];
76
-                    $this->P->cb_customdata['orderdata']['paymentmethod'] = $this->textcats->T('order_paymentmethod_' . $aOrder['o_paymentmethod']);
76
+                    $this->P->cb_customdata['orderdata']['paymentmethod'] = $this->textcats->T('order_paymentmethod_'.$aOrder['o_paymentmethod']);
77 77
                     $this->P->cb_customdata['orderdata']['paymentcompleted'] = (($aOrder['o_paymentcompleted'] === 'y') ? $this->textcats->T('myorders_paymentstatus_completed') : $this->textcats->T('myorders_paymentstatus_open'));
78 78
                     $this->P->cb_customdata['orderdata']['orderstatus'] = $this->helperShop->showOrderStatusText($this->textcats, $aOrder['o_ordercompleted']);
79 79
                     $this->P->cb_customdata['orderdata']['shippingservice'] = $aOrder['o_shipping_service'];
@@ -115,12 +115,12 @@  discard block
 block discarded – undo
115 115
                 }
116 116
             } else {
117 117
                 $COList = [
118
-                    ['title' => $this->textcats->T('order_head_orderdate'), 'key' => 'o_ordertime', 'width' => 110, 'linked' => false,],
119
-                    ['title' => $this->textcats->T('order_head_paymenthethod'), 'key' => 'o_paymentmethod', 'width' => 125, 'linked' => false,],
120
-                    ['title' => $this->textcats->T('order_head_paid'), 'key' => 'o_paymentcompleted', 'width' => 60, 'linked' => false,],
121
-                    ['title' => $this->textcats->T('order_head_status'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false,],
122
-                    ['title' => $this->textcats->T('order_head_shipping_service'), 'key' => 'o_shipping_service', 'width' => 90, 'linked' => false,],
123
-                    ['title' => $this->textcats->T('order_head_shipping_trackingno'), 'key' => 'o_shipping_trackingno', 'width' => 130, 'linked' => false,],
118
+                    ['title' => $this->textcats->T('order_head_orderdate'), 'key' => 'o_ordertime', 'width' => 110, 'linked' => false, ],
119
+                    ['title' => $this->textcats->T('order_head_paymenthethod'), 'key' => 'o_paymentmethod', 'width' => 125, 'linked' => false, ],
120
+                    ['title' => $this->textcats->T('order_head_paid'), 'key' => 'o_paymentcompleted', 'width' => 60, 'linked' => false, ],
121
+                    ['title' => $this->textcats->T('order_head_status'), 'key' => 'o_order_status', 'width' => 80, 'linked' => false, ],
122
+                    ['title' => $this->textcats->T('order_head_shipping_service'), 'key' => 'o_shipping_service', 'width' => 90, 'linked' => false, ],
123
+                    ['title' => $this->textcats->T('order_head_shipping_trackingno'), 'key' => 'o_shipping_trackingno', 'width' => 130, 'linked' => false, ],
124 124
                     [
125 125
                         'title' => $this->textcats->T('order_show'),
126 126
                         'key' => 'o_id',
@@ -128,7 +128,7 @@  discard block
 block discarded – undo
128 128
                         'linked' => true,
129 129
                         'ltarget' => '/_misc/myorders.html',
130 130
                         'lkeyname' => 'id',
131
-                        'lgetvars' => ['action' => 'show',],
131
+                        'lgetvars' => ['action' => 'show', ],
132 132
                     ],
133 133
                 ];
134 134
 
Please login to merge, or discard this patch.
src/Shop/Items.php 2 patches
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -207,9 +207,9 @@
 block discarded – undo
207 207
     public function getGroupdata($sGroup)
208 208
     {
209 209
         $sql = 'SELECT '.DB_ITEMGROUPFIELDS.' FROM itemgroups_base'
210
-           .' LEFT OUTER JOIN itemgroups_text ON itemgroups_base.itmg_id = itemgroups_text.itmgt_pid'
211
-           .' AND itmgt_lang = :lang'
212
-           .' WHERE itmg_id = :group';
210
+            .' LEFT OUTER JOIN itemgroups_text ON itemgroups_base.itmg_id = itemgroups_text.itmgt_pid'
211
+            .' AND itmgt_lang = :lang'
212
+            .' WHERE itmg_id = :group';
213 213
 
214 214
         $hResult = $this->db->prepare($sql);
215 215
         $hResult->bindValue(':lang', $this->config->getLang(), \PDO::PARAM_STR);
Please login to merge, or discard this patch.
Spacing   +8 added lines, -8 removed lines patch added patch discarded remove patch
@@ -182,12 +182,12 @@  discard block
 block discarded – undo
182 182
             if (!$bEnableItemGroups || \trim($aRow['itm_group']) == 0) {
183 183
                 $aAssembly['item'][$aRow['itm_no']] = $aRow;
184 184
             } else {
185
-                if (isset($aAssembly['groups']['ITEMGROUP-' .$aRow['itm_group']])) {
186
-                    $aAssembly['groups']['ITEMGROUP-' .$aRow['itm_group']][$aRow['itm_no']] = $aRow;
185
+                if (isset($aAssembly['groups']['ITEMGROUP-'.$aRow['itm_group']])) {
186
+                    $aAssembly['groups']['ITEMGROUP-'.$aRow['itm_group']][$aRow['itm_no']] = $aRow;
187 187
                 } else {
188
-                    $aAssembly['item']['ITEMGROUP-' .$aRow['itm_group']]['group'] = 'ITEMGROUP-' .$aRow['itm_group'];
189
-                    $aAssembly['groups']['ITEMGROUP-' .$aRow['itm_group']]['ITEMGROUP-DATA'] = $this->getGroupdata($aRow['itm_group']);
190
-                    $aAssembly['groups']['ITEMGROUP-' .$aRow['itm_group']][$aRow['itm_no']] = $aRow;
188
+                    $aAssembly['item']['ITEMGROUP-'.$aRow['itm_group']]['group'] = 'ITEMGROUP-'.$aRow['itm_group'];
189
+                    $aAssembly['groups']['ITEMGROUP-'.$aRow['itm_group']]['ITEMGROUP-DATA'] = $this->getGroupdata($aRow['itm_group']);
190
+                    $aAssembly['groups']['ITEMGROUP-'.$aRow['itm_group']][$aRow['itm_no']] = $aRow;
191 191
                 }
192 192
             }
193 193
         }
@@ -228,7 +228,7 @@  discard block
 block discarded – undo
228 228
             $aData['itm_vatid'] = 'full';
229 229
         }
230 230
 
231
-        if(is_numeric($aData['itm_price']) && (float) $aData['itm_price'] > 0) {
231
+        if (is_numeric($aData['itm_price']) && (float) $aData['itm_price'] > 0) {
232 232
             $aPrice['netto_list'] = $aData['itm_price'];
233 233
             $aPrice['brutto_list'] = $this->addVat($aPrice['netto_list'], $this->config->getShop('vat')[$aData['itm_vatid']]);
234 234
             if (
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
                         bcdiv(
251 251
                             bcsub(
252 252
                                 '100',
253
-                                (string)$this->config->getShop('rebate_groups')[$aData['itm_rg']][$this->helperCustomer->getUserData('cust_group')]
253
+                                (string) $this->config->getShop('rebate_groups')[$aData['itm_rg']][$this->helperCustomer->getUserData('cust_group')]
254 254
                             ),
255 255
                             '100'
256 256
                         )
@@ -282,7 +282,7 @@  discard block
 block discarded – undo
282 282
                 bcdiv(
283 283
                     bcmul(
284 284
                         $price,
285
-                        (string)$vat
285
+                        (string) $vat
286 286
                     ),
287 287
                     '100'
288 288
                 ),
Please login to merge, or discard this patch.