Completed
Push — master ( f3c8ce...dcb10a )
by Daniel
02:27
created
Salariu/Bonuses.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -103,7 +103,7 @@
 block discarded – undo
103 103
                 2003 => 1800000,
104 104
                 2004 => 2000000,
105 105
             ];
106
-            $nReturn      = $valuesYearly[$yrDate];
106
+            $nReturn = $valuesYearly[$yrDate];
107 107
         } elseif ($yr == 2001) {
108 108
             $nReturn = $this->setPersonalDeductionSimple2001($lngDate);
109 109
         }
Please login to merge, or discard this patch.
Salariu/Salariu.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
 
61 61
     private function getExchangeRates()
62 62
     {
63
-        $this->appFlags['currency_exchanges']          = [
63
+        $this->appFlags['currency_exchanges'] = [
64 64
             'RON' => [
65 65
                 'decimals' => 2,
66 66
                 'locale'   => 'ro_RO',
@@ -155,13 +155,13 @@  discard block
 block discarded – undo
155 155
         if ($_REQUEST['ym'] < mktime(0, 0, 0, 1, 1, 2008)) {
156 156
             $unemploymentBase = $_REQUEST['sn'];
157 157
         }
158
-        $aReturn           = [
158
+        $aReturn = [
159 159
             'ba'       => $this->setFoodTicketsValue($_REQUEST['ym'], $aryStngs['Meal Ticket Value']) * $nMealDays,
160 160
             'cas'      => $this->setHealthFundTax($_REQUEST['ym'], $lngBase),
161 161
             'sanatate' => $this->setHealthTax($_REQUEST['ym'], $lngBase),
162 162
             'somaj'    => $this->setUnemploymentTax($_REQUEST['ym'], $unemploymentBase),
163 163
         ];
164
-        $pdVal             = [
164
+        $pdVal = [
165 165
             $_REQUEST['ym'],
166 166
             ($lngBase + $aReturn['ba']),
167 167
             $_REQUEST['pi'],
@@ -174,13 +174,13 @@  discard block
 block discarded – undo
174 174
             $aReturn['somaj'],
175 175
             $aReturn['pd'],
176 176
         ];
177
-        $rest              = $lngBase - array_sum($restArrayToDeduct);
177
+        $rest = $lngBase - array_sum($restArrayToDeduct);
178 178
         if ($_REQUEST['ym'] >= mktime(0, 0, 0, 7, 1, 2010)) {
179 179
             $rest += round($aReturn['ba'], -4);
180 180
         }
181 181
         if ($_REQUEST['ym'] >= mktime(0, 0, 0, 10, 1, 2010)) {
182 182
             $aReturn['gbns'] = $_REQUEST['gbns'] * pow(10, 4);
183
-            $rest            += round($aReturn['gbns'], -4);
183
+            $rest += round($aReturn['gbns'], -4);
184 184
         }
185 185
         $rest               += $_REQUEST['afet'] * pow(10, 4);
186 186
         $aReturn['impozit'] = $this->setIncomeTax($_REQUEST['ym'], $rest);
@@ -250,7 +250,7 @@  discard block
 block discarded – undo
250 250
                     'value' => $_REQUEST['pn'],
251 251
                     'size'  => 10
252 252
                 ]) . ' RON', 1);
253
-        $pieces    = [
253
+        $pieces = [
254 254
             $this->tApp->gettext('i18n_Form_Label_OvertimeHours'),
255 255
             $this->tApp->gettext('i18n_Form_Label_OvertimeChoice1'),
256 256
         ];
@@ -261,7 +261,7 @@  discard block
 block discarded – undo
261 261
                     'value' => $_REQUEST['os175'],
262 262
                     'size'  => 2
263 263
                 ]), 1);
264
-        $pieces    = [
264
+        $pieces = [
265 265
             $this->tApp->gettext('i18n_Form_Label_OvertimeHours'),
266 266
             $this->tApp->gettext('i18n_Form_Label_OvertimeChoice2'),
267 267
         ];
@@ -333,7 +333,7 @@  discard block
 block discarded – undo
333 333
                     'id'    => 'submit',
334 334
                     'value' => $submitBtnTxt
335 335
                 ]), 1);
336
-        $frm       = $this->setStringIntoTag($this->setStringIntoTag(implode('', $sReturn), 'table'), 'form', [
336
+        $frm = $this->setStringIntoTag($this->setStringIntoTag(implode('', $sReturn), 'table'), 'form', [
337 337
             'method' => 'get',
338 338
             'action' => $_SERVER['SCRIPT_NAME']
339 339
         ]);
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
         $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[1], '175%'), ($overtime['os175'] * pow(10, 4)));
381 381
         $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[2], '200%'), ($overtime['os200'] * pow(10, 4)));
382 382
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_BruttoSalary'), $brut);
383
-        $brut      += $_REQUEST['afet'] * pow(10, 4);
383
+        $brut += $_REQUEST['afet'] * pow(10, 4);
384 384
         $amount    = $this->getValues($brut);
385 385
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_PensionFund'), $amount['cas']);
386 386
         $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_UnemploymentTax'), $amount['somaj']);
Please login to merge, or discard this patch.