@@ -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 | } |
@@ -90,7 +90,7 @@ |
||
90 | 90 | 'class' => 'labelS', |
91 | 91 | 'style' => 'color:#000;', |
92 | 92 | ]; |
93 | - $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
93 | + $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
94 | 94 | if (array_key_exists($text, $fieldsStyled)) { |
95 | 95 | $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]); |
96 | 96 | } |
@@ -112,7 +112,7 @@ |
||
112 | 112 | $sReturn = ''; |
113 | 113 | if (is_array($labelInfo)) { |
114 | 114 | if (count($labelInfo) == 3) { |
115 | - $pieces = [ |
|
115 | + $pieces = [ |
|
116 | 116 | $this->tApp->gettext($labelInfo[0]), |
117 | 117 | $this->tApp->gettext($labelInfo[1]), |
118 | 118 | ]; |
@@ -40,7 +40,7 @@ |
||
40 | 40 | 'min_range' => mktime(0, 0, 0, 1, 1, 2001), |
41 | 41 | ] |
42 | 42 | ]; |
43 | - $validYM = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt); |
|
43 | + $validYM = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt); |
|
44 | 44 | if (!array_key_exists($validYM, $ymValues)) { |
45 | 45 | $validYM = mktime(0, 0, 0, date('m'), 1, date('Y')); |
46 | 46 | } |
@@ -127,14 +127,14 @@ discard block |
||
127 | 127 | $this->tCmnSuperGlobals->request->get('pc'), |
128 | 128 | ]; |
129 | 129 | $this->tCmnSuperGlobals->request->set('wkDays', $this->setWorkingDaysInMonth($components[0], $components[1])); |
130 | - $vDays = $this->tCmnSuperGlobals->request->get('wkDays') - $this->tCmnSuperGlobals->request->get('zfb'); |
|
130 | + $vDays = $this->tCmnSuperGlobals->request->get('wkDays') - $this->tCmnSuperGlobals->request->get('zfb'); |
|
131 | 131 | $this->tCmnSuperGlobals->request->set('nDays', max($vDays, 0)); |
132 | 132 | } |
133 | 133 | |
134 | 134 | private function setFormInput($dtR, $ymValues, $inMW, $inVFR) |
135 | 135 | { |
136 | 136 | $this->applyYMvalidations($this->tCmnSuperGlobals, $ymValues, $dtR); |
137 | - $minWage = $this->determineCrtMinWage($this->tCmnSuperGlobals, [ |
|
137 | + $minWage = $this->determineCrtMinWage($this->tCmnSuperGlobals, [ |
|
138 | 138 | 'EMW' => $inMW, |
139 | 139 | 'YM range' => $dtR |
140 | 140 | ]); |
@@ -342,7 +342,7 @@ discard block |
||
342 | 342 | |
343 | 343 | private function setFormRowAmount($value, $defaultCellStyle) |
344 | 344 | { |
345 | - $cellValue = []; |
|
345 | + $cellValue = []; |
|
346 | 346 | $defaultCellStyle['style'] .= 'text-align:right;'; |
347 | 347 | foreach ($this->currencyDetails['CX'] as $key2 => $value2) { |
348 | 348 | $fmt = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY); |
@@ -42,7 +42,7 @@ discard block |
||
42 | 42 | { |
43 | 43 | $rest = $inMny['lngBase'] - array_sum($inMny['Deductions']); |
44 | 44 | if ($inMny['inDate'] >= 20100701) { |
45 | - $rest += round($inMny['Food Tickets Value'], -4); |
|
45 | + $rest += round($inMny['Food Tickets Value'], -4); |
|
46 | 46 | $val = $tCSG->get('gbns'); |
47 | 47 | $taxMinAmount = 0; |
48 | 48 | if ($inMny['inDate'] >= 20160101) { |
@@ -145,7 +145,7 @@ discard block |
||
145 | 145 | $howMany = count($nValues); |
146 | 146 | for ($counter = 0; $counter <= $howMany; $counter++) { |
147 | 147 | if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) { |
148 | - $sLbl = [ |
|
148 | + $sLbl = [ |
|
149 | 149 | 'BDP' => $nValues[$counter]['Base Deducted Percentage'], |
150 | 150 | 'BDV' => $nValues[$counter]['Base Deduction Value'], |
151 | 151 | 'TFV' => $nValues[$counter]['Tax Free Value'], |