@@ -77,6 +77,9 @@ discard block |
||
| 77 | 77 | return implode(';', $sReturn) . ';'; |
| 78 | 78 | } |
| 79 | 79 | |
| 80 | + /** |
|
| 81 | + * @param double $lngBase |
|
| 82 | + */ |
|
| 80 | 83 | private function getIncomeTaxValue($inDate, $lngBase, $vBA, $aryDeductions, $arySettings) |
| 81 | 84 | { |
| 82 | 85 | $rest = $lngBase - array_sum($aryDeductions); |
@@ -103,6 +106,9 @@ discard block |
||
| 103 | 106 | ]; |
| 104 | 107 | } |
| 105 | 108 | |
| 109 | + /** |
|
| 110 | + * @param double $lngBase |
|
| 111 | + */ |
|
| 106 | 112 | private function getValues($lngBase, $aStngs, $shLabels) |
| 107 | 113 | { |
| 108 | 114 | $inDate = $this->tCmnSuperGlobals->get('ym'); |
@@ -124,6 +130,9 @@ discard block |
||
| 124 | 130 | return $aReturn; |
| 125 | 131 | } |
| 126 | 132 | |
| 133 | + /** |
|
| 134 | + * @param integer $wkDay |
|
| 135 | + */ |
|
| 127 | 136 | private function getValuesPrimary($inDate, $wkDay, $lngBase, $aStngs, $shLbl) |
| 128 | 137 | { |
| 129 | 138 | $nMealDays = ($wkDay - $this->tCmnSuperGlobals->get('zfb')); |
@@ -266,6 +275,11 @@ discard block |
||
| 266 | 275 | return $this->setArrayToSelect($temp, $this->tCmnSuperGlobals->get('ym'), 'ym', ['size' => 1]); |
| 267 | 276 | } |
| 268 | 277 | |
| 278 | + /** |
|
| 279 | + * @param string $inName |
|
| 280 | + * @param integer $inSize |
|
| 281 | + * @param string $inAfterLabel |
|
| 282 | + */ |
|
| 269 | 283 | private function setFormInputText($inName, $inSize, $inAfterLabel) |
| 270 | 284 | { |
| 271 | 285 | $inputParameters = [ |
@@ -278,6 +292,9 @@ discard block |
||
| 278 | 292 | return $this->setStringIntoShortTag('input', $inputParameters) . ' ' . $inAfterLabel; |
| 279 | 293 | } |
| 280 | 294 | |
| 295 | + /** |
|
| 296 | + * @param string $configPath |
|
| 297 | + */ |
|
| 281 | 298 | private function setFormOutput($configPath, $shLabels) |
| 282 | 299 | { |
| 283 | 300 | $aryStngs = $this->readTypeFromJsonFileUniversal($configPath, 'valuesToCompute'); |
@@ -344,6 +361,9 @@ discard block |
||
| 344 | 361 | ]), 'fieldset', ['style' => 'float: left;']); |
| 345 | 362 | } |
| 346 | 363 | |
| 364 | + /** |
|
| 365 | + * @param string $text |
|
| 366 | + */ |
|
| 347 | 367 | private function setFormRow($text, $value, $type = 'amount') |
| 348 | 368 | { |
| 349 | 369 | $defaultCellStyle = $this->setFormatRow($text, $value); |
@@ -406,6 +426,9 @@ discard block |
||
| 406 | 426 | . '<h1>' . $this->tApp->gettext('i18n_ApplicationName') . '</h1>'; |
| 407 | 427 | } |
| 408 | 428 | |
| 429 | + /** |
|
| 430 | + * @param string $labelId |
|
| 431 | + */ |
|
| 409 | 432 | private function setLabel($labelId) |
| 410 | 433 | { |
| 411 | 434 | $labelInfo = $this->appFlags['FI'][$labelId]['Label']; |
@@ -424,6 +447,9 @@ discard block |
||
| 424 | 447 | return $this->setLabelSuffix($sReturn); |
| 425 | 448 | } |
| 426 | 449 | |
| 450 | + /** |
|
| 451 | + * @param string $text |
|
| 452 | + */ |
|
| 427 | 453 | private function setLabelSuffix($text) |
| 428 | 454 | { |
| 429 | 455 | $suffix = ''; |