@@ -33,6 +33,9 @@ |
||
| 33 | 33 | |
| 34 | 34 | protected $currencyDetails; |
| 35 | 35 | |
| 36 | + /** |
|
| 37 | + * @param \XMLReader $xml |
|
| 38 | + */ |
|
| 36 | 39 | private function getCurrencyExchangeRates($xml, $aryRelevantCurrencies) |
| 37 | 40 | { |
| 38 | 41 | switch ($xml->localName) { |
@@ -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) |
| 107 | 113 | { |
| 108 | 114 | $inDate = $this->tCmnSuperGlobals->get('ym'); |
@@ -273,6 +279,11 @@ discard block |
||
| 273 | 279 | return $this->setArrayToSelect($temp, $this->tCmnSuperGlobals->get('ym'), 'ym', ['size' => 1]); |
| 274 | 280 | } |
| 275 | 281 | |
| 282 | + /** |
|
| 283 | + * @param string $inName |
|
| 284 | + * @param integer $inSize |
|
| 285 | + * @param string $inAfterLabel |
|
| 286 | + */ |
|
| 276 | 287 | private function setFormInputText($inName, $inSize, $inAfterLabel) |
| 277 | 288 | { |
| 278 | 289 | $inputParameters = [ |
@@ -285,6 +296,9 @@ discard block |
||
| 285 | 296 | return $this->setStringIntoShortTag('input', $inputParameters) . ' ' . $inAfterLabel; |
| 286 | 297 | } |
| 287 | 298 | |
| 299 | + /** |
|
| 300 | + * @param string $configPath |
|
| 301 | + */ |
|
| 288 | 302 | private function setFormOutput($configPath) |
| 289 | 303 | { |
| 290 | 304 | $aryStngs = $this->readTypeFromJsonFileUniversal($configPath, 'valuesToCompute'); |
@@ -351,6 +365,9 @@ discard block |
||
| 351 | 365 | ]), 'fieldset', ['style' => 'float: left;']); |
| 352 | 366 | } |
| 353 | 367 | |
| 368 | + /** |
|
| 369 | + * @param string $text |
|
| 370 | + */ |
|
| 354 | 371 | private function setFormRow($text, $value, $type = 'amount') |
| 355 | 372 | { |
| 356 | 373 | $defaultCellStyle = $this->setFormatRow($text, $value); |
@@ -413,6 +430,9 @@ discard block |
||
| 413 | 430 | . '<h1>' . $this->tApp->gettext('i18n_ApplicationName') . '</h1>'; |
| 414 | 431 | } |
| 415 | 432 | |
| 433 | + /** |
|
| 434 | + * @param string $labelId |
|
| 435 | + */ |
|
| 416 | 436 | private function setLabel($labelId) |
| 417 | 437 | { |
| 418 | 438 | $labelInfo = $this->appFlags['FI'][$labelId]['Label']; |
@@ -431,6 +451,9 @@ discard block |
||
| 431 | 451 | return $this->setLabelSuffix($sReturn); |
| 432 | 452 | } |
| 433 | 453 | |
| 454 | + /** |
|
| 455 | + * @param string $text |
|
| 456 | + */ |
|
| 434 | 457 | private function setLabelSuffix($text) |
| 435 | 458 | { |
| 436 | 459 | $suffix = ''; |