@@ -58,6 +58,9 @@ discard block |
||
58 | 58 | echo $this->setFooterHtml($inElmnts['Application']); |
59 | 59 | } |
60 | 60 | |
61 | + /** |
|
62 | + * @param double $lngBase |
|
63 | + */ |
|
61 | 64 | private function getIncomeTaxValue($inDate, $lngBase, $vBA, $aryDeductions, $arySettings) |
62 | 65 | { |
63 | 66 | $rest = $lngBase - array_sum($aryDeductions); |
@@ -84,6 +87,9 @@ discard block |
||
84 | 87 | ]; |
85 | 88 | } |
86 | 89 | |
90 | + /** |
|
91 | + * @param double $lngBase |
|
92 | + */ |
|
87 | 93 | private function getValues($dtR, $lngBase, $aStngs, $shLabels) |
88 | 94 | { |
89 | 95 | $inDate = $this->tCmnSuperGlobals->request->get('ym'); |
@@ -186,6 +192,9 @@ discard block |
||
186 | 192 | return $sReturn; |
187 | 193 | } |
188 | 194 | |
195 | + /** |
|
196 | + * @param string $frm |
|
197 | + */ |
|
189 | 198 | private function setFormInputIntoFieldSet($frm) |
190 | 199 | { |
191 | 200 | $aryFieldSet = [ |
@@ -195,6 +204,11 @@ discard block |
||
195 | 204 | return $this->setStringIntoTag(implode('', $aryFieldSet), 'fieldset', ['style' => 'float: left;']); |
196 | 205 | } |
197 | 206 | |
207 | + /** |
|
208 | + * @param string $inName |
|
209 | + * @param integer $inSize |
|
210 | + * @param string $inAfterLabel |
|
211 | + */ |
|
198 | 212 | private function setFormInputText($inName, $inSize, $inAfterLabel, $crtMinWage = 0) |
199 | 213 | { |
200 | 214 | $inputParameters = [ |
@@ -265,6 +279,9 @@ discard block |
||
265 | 279 | ]); |
266 | 280 | } |
267 | 281 | |
282 | + /** |
|
283 | + * @param double $amntLAA |
|
284 | + */ |
|
268 | 285 | private function setFormOutputBonuses($snValue, $wkDays, $amntLAA, $ovTimeVal) |
269 | 286 | { |
270 | 287 | $sRt = []; |
@@ -302,6 +319,9 @@ discard block |
||
302 | 319 | return implode('', $sReturn) . '</tr></thead></tbody>'; |
303 | 320 | } |
304 | 321 | |
322 | + /** |
|
323 | + * @param double $brut |
|
324 | + */ |
|
305 | 325 | private function setFormOutputTaxations($brut, $amnt) |
306 | 326 | { |
307 | 327 | $sRn = []; |
@@ -353,6 +373,10 @@ discard block |
||
353 | 373 | return implode('', $cellValue); |
354 | 374 | } |
355 | 375 | |
376 | + /** |
|
377 | + * @param string $text1 |
|
378 | + * @param string $text2 |
|
379 | + */ |
|
356 | 380 | private function setFrmRowTwoLbls($text1, $text2, $value) |
357 | 381 | { |
358 | 382 | return str_replace(':</td>', ':</td><td class="labelS" style="text-align:right;">' |
@@ -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); |
@@ -40,7 +40,7 @@ discard block |
||
40 | 40 | 'min_range' => $dtR['minimum']->format('Ymd'), |
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 = $validOpt['options']['default']; |
46 | 46 | } |
@@ -85,7 +85,7 @@ discard block |
||
85 | 85 | $intValue = 0; |
86 | 86 | $maxCounter = count($inMny['EMW']); |
87 | 87 | for ($counter = 0; $counter < $maxCounter; $counter++) { |
88 | - $crtVal = $inMny['EMW'][$counter]; |
|
88 | + $crtVal = $inMny['EMW'][$counter]; |
|
89 | 89 | echo '<hr/>'; |
90 | 90 | print_r($inMny['EMW'][$counter]); |
91 | 91 | echo '<hr/>'; |