@@ -71,6 +71,9 @@ discard block |
||
| 71 | 71 | ]; |
| 72 | 72 | } |
| 73 | 73 | |
| 74 | + /** |
|
| 75 | + * @param double $lngBase |
|
| 76 | + */ |
|
| 74 | 77 | private function getValues($dtR, $lngBase, $aStngs, $shLabels) |
| 75 | 78 | { |
| 76 | 79 | $inDate = $this->tCmnSuperGlobals->request->get('ym'); |
@@ -173,6 +176,9 @@ discard block |
||
| 173 | 176 | return $sReturn; |
| 174 | 177 | } |
| 175 | 178 | |
| 179 | + /** |
|
| 180 | + * @param string $frm |
|
| 181 | + */ |
|
| 176 | 182 | private function setFormInputIntoFieldSet($frm) |
| 177 | 183 | { |
| 178 | 184 | $aryFieldSet = [ |
@@ -182,6 +188,11 @@ discard block |
||
| 182 | 188 | return $this->setStringIntoTag(implode('', $aryFieldSet), 'fieldset', ['style' => 'float: left;']); |
| 183 | 189 | } |
| 184 | 190 | |
| 191 | + /** |
|
| 192 | + * @param string $inName |
|
| 193 | + * @param integer $inSize |
|
| 194 | + * @param string $inAfterLabel |
|
| 195 | + */ |
|
| 185 | 196 | private function setFormInputText($inName, $inSize, $inAfterLabel, $crtMinWage = 0) |
| 186 | 197 | { |
| 187 | 198 | $inputParameters = [ |
@@ -252,6 +263,9 @@ discard block |
||
| 252 | 263 | ]); |
| 253 | 264 | } |
| 254 | 265 | |
| 266 | + /** |
|
| 267 | + * @param double $amntLAA |
|
| 268 | + */ |
|
| 255 | 269 | private function setFormOutputBonuses($snValue, $wkDays, $amntLAA, $ovTimeVal) |
| 256 | 270 | { |
| 257 | 271 | $sRt = []; |
@@ -289,6 +303,9 @@ discard block |
||
| 289 | 303 | return implode('', $sReturn) . '</tr></thead></tbody>'; |
| 290 | 304 | } |
| 291 | 305 | |
| 306 | + /** |
|
| 307 | + * @param double $brut |
|
| 308 | + */ |
|
| 292 | 309 | private function setFormOutputTaxations($brut, $amnt) |
| 293 | 310 | { |
| 294 | 311 | $sRn = []; |
@@ -341,6 +358,10 @@ discard block |
||
| 341 | 358 | return implode('', $cellValue); |
| 342 | 359 | } |
| 343 | 360 | |
| 361 | + /** |
|
| 362 | + * @param string $text1 |
|
| 363 | + * @param string $text2 |
|
| 364 | + */ |
|
| 344 | 365 | private function setFrmRowTwoLbls($text1, $text2, $value) |
| 345 | 366 | { |
| 346 | 367 | return str_replace(':</td>', ':</td><td class="labelS" style="text-align:right;">' |
@@ -38,6 +38,9 @@ |
||
| 38 | 38 | |
| 39 | 39 | private $txLvl; |
| 40 | 40 | |
| 41 | + /** |
|
| 42 | + * @param double $lngBase |
|
| 43 | + */ |
|
| 41 | 44 | private function getIncomeTaxValue($inDate, $lngBase, $vBA, $aryDeductions, $arySettings) |
| 42 | 45 | { |
| 43 | 46 | $rest = $lngBase - array_sum($aryDeductions); |
@@ -42,7 +42,7 @@ discard block |
||
| 42 | 42 | { |
| 43 | 43 | $rest = $lngBase - array_sum($aryDeductions); |
| 44 | 44 | if ($inDate >= 20100701) { |
| 45 | - $rest += round($vBA, -4); // food tickets are taxable |
|
| 45 | + $rest += round($vBA, -4); // food tickets are taxable |
|
| 46 | 46 | $val = $this->tCmnSuperGlobals->request->get('gbns'); |
| 47 | 47 | $taxMinAmount = 0; |
| 48 | 48 | if ($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'], |