@@ -107,13 +107,13 @@ discard block |
||
| 107 | 107 | if ($this->tCmnSuperGlobals->get('ym') < mktime(0, 0, 0, 1, 1, 2008)) { |
| 108 | 108 | $unemploymentBase = $this->tCmnSuperGlobals->get('sn'); |
| 109 | 109 | } |
| 110 | - $aReturn = [ |
|
| 110 | + $aReturn = [ |
|
| 111 | 111 | 'ba' => $this->setFoodTicketsValue($inDate, $aStngs[$shLbl['MTV']]) * $nMealDays, |
| 112 | 112 | 'cas' => $this->setHealthFundTax($inDate, $lngBase, $aStngs[$shLbl['HFP']], $aStngs[$shLbl['HFUL']]), |
| 113 | 113 | 'sanatate' => $this->setHealthTax($inDate, $lngBase, $aStngs[$shLbl['HTP']]), |
| 114 | 114 | 'somaj' => $this->setUnemploymentTax($inDate, $unemploymentBase), |
| 115 | 115 | ]; |
| 116 | - $pdVal = [ |
|
| 116 | + $pdVal = [ |
|
| 117 | 117 | $inDate, |
| 118 | 118 | ($lngBase + $aReturn['ba']), |
| 119 | 119 | $this->tCmnSuperGlobals->get('pi'), |
@@ -126,15 +126,15 @@ discard block |
||
| 126 | 126 | $aReturn['somaj'], |
| 127 | 127 | $aReturn['pd'], |
| 128 | 128 | ]; |
| 129 | - $rest = $lngBase - array_sum($restArrayToDeduct); |
|
| 129 | + $rest = $lngBase - array_sum($restArrayToDeduct); |
|
| 130 | 130 | if ($inDate >= mktime(0, 0, 0, 7, 1, 2010)) { |
| 131 | 131 | $rest += round($aReturn['ba'], -4); |
| 132 | 132 | if ($inDate >= mktime(0, 0, 0, 10, 1, 2010)) { |
| 133 | 133 | $aReturn['gbns'] = $this->tCmnSuperGlobals->get('gbns') * pow(10, 4); |
| 134 | - $rest += round($aReturn['gbns'], -4); |
|
| 134 | + $rest += round($aReturn['gbns'], -4); |
|
| 135 | 135 | } |
| 136 | 136 | } |
| 137 | - $rest += $this->tCmnSuperGlobals->get('afet') * pow(10, 4); |
|
| 137 | + $rest += $this->tCmnSuperGlobals->get('afet') * pow(10, 4); |
|
| 138 | 138 | $aReturn['impozit'] = $this->setIncomeTax($inDate, $rest, $aStngs[$shLbl['IT']]); |
| 139 | 139 | $aReturn['zile'] = $wkDay; |
| 140 | 140 | return $aReturn; |
@@ -305,7 +305,7 @@ discard block |
||
| 305 | 305 | $sReturn[] = $this->setFormRow(sprintf($ovTime['m'], $ovTime[1], '175%'), ($ovTimeVal['os175'] * pow(10, 4))); |
| 306 | 306 | $sReturn[] = $this->setFormRow(sprintf($ovTime['m'], $ovTime[2], '200%'), ($ovTimeVal['os200'] * pow(10, 4))); |
| 307 | 307 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_BruttoSalary'), $brut); |
| 308 | - $brut += $this->tCmnSuperGlobals->get('afet') * pow(10, 4); |
|
| 308 | + $brut += $this->tCmnSuperGlobals->get('afet') * pow(10, 4); |
|
| 309 | 309 | $amount = $this->getValues($brut, $aryStngs); |
| 310 | 310 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_PensionFund'), $amount['cas']); |
| 311 | 311 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_UnemploymentTax'), $amount['somaj']); |
@@ -364,7 +364,7 @@ discard block |
||
| 364 | 364 | |
| 365 | 365 | private function setFormRowAmount($value, $defaultCellStyle) |
| 366 | 366 | { |
| 367 | - $cellValue = []; |
|
| 367 | + $cellValue = []; |
|
| 368 | 368 | $defaultCellStyle['style'] .= 'text-align:right;'; |
| 369 | 369 | foreach ($this->currencyDetails['CX'] as $key2 => $value2) { |
| 370 | 370 | $fmt = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY); |
@@ -381,7 +381,7 @@ discard block |
||
| 381 | 381 | 'class' => 'labelS', |
| 382 | 382 | 'style' => 'color:#000;', |
| 383 | 383 | ]; |
| 384 | - $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
| 384 | + $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
| 385 | 385 | if (array_key_exists($text, $fieldsStyled)) { |
| 386 | 386 | $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]); |
| 387 | 387 | } |
@@ -411,7 +411,7 @@ discard block |
||
| 411 | 411 | $sReturn = ''; |
| 412 | 412 | if (is_array($labelInfo)) { |
| 413 | 413 | if (count($labelInfo) == 3) { |
| 414 | - $pieces = [ |
|
| 414 | + $pieces = [ |
|
| 415 | 415 | $this->tApp->gettext($labelInfo[0]), |
| 416 | 416 | $this->tApp->gettext($labelInfo[1]), |
| 417 | 417 | ]; |