@@ -103,7 +103,7 @@ |
||
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 | } |
@@ -120,7 +120,7 @@ |
||
120 | 120 | $howMany = count($nValues); |
121 | 121 | for ($counter = 0; $counter <= $howMany; $counter++) { |
122 | 122 | if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) { |
123 | - $sLbl = [ |
|
123 | + $sLbl = [ |
|
124 | 124 | 'BDP' => $nValues[$counter]['Base Deducted Percentage'], |
125 | 125 | 'BDV' => $nValues[$counter]['Base Deduction Value'], |
126 | 126 | 'TFV' => $nValues[$counter]['Tax Free Value'], |
@@ -110,13 +110,13 @@ discard block |
||
110 | 110 | if ($_REQUEST['ym'] < mktime(0, 0, 0, 1, 1, 2008)) { |
111 | 111 | $unemploymentBase = $_REQUEST['sn']; |
112 | 112 | } |
113 | - $aReturn = [ |
|
113 | + $aReturn = [ |
|
114 | 114 | 'ba' => $this->setFoodTicketsValue($inDate, $aStngs[$shLbl['MTV']]) * $nMealDays, |
115 | 115 | 'cas' => $this->setHealthFundTax($inDate, $lngBase, $aStngs[$shLbl['HFP']], $aStngs[$shLbl['HFUL']]), |
116 | 116 | 'sanatate' => $this->setHealthTax($inDate, $lngBase, $aStngs[$shLbl['HTP']]), |
117 | 117 | 'somaj' => $this->setUnemploymentTax($inDate, $unemploymentBase), |
118 | 118 | ]; |
119 | - $pdVal = [ |
|
119 | + $pdVal = [ |
|
120 | 120 | $inDate, |
121 | 121 | ($lngBase + $aReturn['ba']), |
122 | 122 | $_REQUEST['pi'], |
@@ -129,15 +129,15 @@ discard block |
||
129 | 129 | $aReturn['somaj'], |
130 | 130 | $aReturn['pd'], |
131 | 131 | ]; |
132 | - $rest = $lngBase - array_sum($restArrayToDeduct); |
|
132 | + $rest = $lngBase - array_sum($restArrayToDeduct); |
|
133 | 133 | if ($inDate >= mktime(0, 0, 0, 7, 1, 2010)) { |
134 | 134 | $rest += round($aReturn['ba'], -4); |
135 | 135 | if ($inDate >= mktime(0, 0, 0, 10, 1, 2010)) { |
136 | 136 | $aReturn['gbns'] = $_REQUEST['gbns'] * pow(10, 4); |
137 | - $rest += round($aReturn['gbns'], -4); |
|
137 | + $rest += round($aReturn['gbns'], -4); |
|
138 | 138 | } |
139 | 139 | } |
140 | - $rest += $_REQUEST['afet'] * pow(10, 4); |
|
140 | + $rest += $_REQUEST['afet'] * pow(10, 4); |
|
141 | 141 | $aReturn['impozit'] = $this->setIncomeTax($inDate, $rest, $aStngs[$shLbl['IT']]); |
142 | 142 | $aReturn['zile'] = $this->setWorkingDaysInMonth($inDate, $_REQUEST['pc']); |
143 | 143 | return $aReturn; |
@@ -215,11 +215,11 @@ discard block |
||
215 | 215 | 'name' => 'action', |
216 | 216 | 'value' => $_SERVER['SERVER_NAME'] |
217 | 217 | ]); |
218 | - $sReturn[] = $this->setStringIntoTag($this->setStringIntoTag($label . $hiddenField, 'td', [ |
|
218 | + $sReturn[] = $this->setStringIntoTag($this->setStringIntoTag($label . $hiddenField, 'td', [ |
|
219 | 219 | 'colspan' => 2, |
220 | 220 | 'style' => 'color: red;' |
221 | 221 | ]), 'tr'); |
222 | - $resetBtn = $this->setStringIntoShortTag('input', [ |
|
222 | + $resetBtn = $this->setStringIntoShortTag('input', [ |
|
223 | 223 | 'type' => 'reset', |
224 | 224 | 'id' => 'reset', |
225 | 225 | 'value' => $this->tApp->gettext('i18n_Form_Button_Reset'), |
@@ -235,7 +235,7 @@ discard block |
||
235 | 235 | 'id' => 'submit', |
236 | 236 | 'value' => $submitBtnTxt |
237 | 237 | ]), 1); |
238 | - $frm = $this->setStringIntoTag($this->setStringIntoTag(implode('', $sReturn), 'table'), 'form', [ |
|
238 | + $frm = $this->setStringIntoTag($this->setStringIntoTag(implode('', $sReturn), 'table'), 'form', [ |
|
239 | 239 | 'method' => 'get', |
240 | 240 | 'action' => $_SERVER['SCRIPT_NAME'] |
241 | 241 | ]); |
@@ -311,7 +311,7 @@ discard block |
||
311 | 311 | $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[1], '175%'), ($overtime['os175'] * pow(10, 4))); |
312 | 312 | $sReturn[] = $this->setFormRow(sprintf($ovTime['main'], $ovTime[2], '200%'), ($overtime['os200'] * pow(10, 4))); |
313 | 313 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_BruttoSalary'), $brut); |
314 | - $brut += $_REQUEST['afet'] * pow(10, 4); |
|
314 | + $brut += $_REQUEST['afet'] * pow(10, 4); |
|
315 | 315 | $amount = $this->getValues($brut, $aryStngs); |
316 | 316 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_PensionFund'), $amount['cas']); |
317 | 317 | $sReturn[] = $this->setFormRow($this->tApp->gettext('i18n_Form_Label_UnemploymentTax'), $amount['somaj']); |
@@ -433,7 +433,7 @@ discard block |
||
433 | 433 | $labelInfo = $this->appFlags['FI'][$labelId]['Label']; |
434 | 434 | if (is_array($labelInfo)) { |
435 | 435 | if (count($labelInfo) == 3) { |
436 | - $pieces = [ |
|
436 | + $pieces = [ |
|
437 | 437 | $this->tApp->gettext($labelInfo[0]), |
438 | 438 | $this->tApp->gettext($labelInfo[1]), |
439 | 439 | ]; |