@@ -173,6 +173,9 @@ |
||
| 173 | 173 | . '<h1>' . $this->tApp->gettext('i18n_ApplicationName') . '</h1>'; |
| 174 | 174 | } |
| 175 | 175 | |
| 176 | + /** |
|
| 177 | + * @param string $labelId |
|
| 178 | + */ |
|
| 176 | 179 | private function setLabel($labelId) |
| 177 | 180 | { |
| 178 | 181 | $labelInfo = $this->appFlags['FI'][$labelId]['Label']; |
@@ -57,6 +57,9 @@ discard block |
||
| 57 | 57 | echo $this->setFooterHtml($interfaceElements['Application']); |
| 58 | 58 | } |
| 59 | 59 | |
| 60 | + /** |
|
| 61 | + * @param double $lngBase |
|
| 62 | + */ |
|
| 60 | 63 | private function getIncomeTaxValue($inDate, $lngBase, $vBA, $aryDeductions, $arySettings) |
| 61 | 64 | { |
| 62 | 65 | $rest = $lngBase - array_sum($aryDeductions); |
@@ -83,6 +86,9 @@ discard block |
||
| 83 | 86 | ]; |
| 84 | 87 | } |
| 85 | 88 | |
| 89 | + /** |
|
| 90 | + * @param double $lngBase |
|
| 91 | + */ |
|
| 86 | 92 | private function getValues($lngBase, $aStngs, $shLabels) |
| 87 | 93 | { |
| 88 | 94 | $inDate = $this->tCmnSuperGlobals->request->get('ym'); |
@@ -173,6 +179,11 @@ discard block |
||
| 173 | 179 | return $sReturn; |
| 174 | 180 | } |
| 175 | 181 | |
| 182 | + /** |
|
| 183 | + * @param string $inName |
|
| 184 | + * @param integer $inSize |
|
| 185 | + * @param string $inAfterLabel |
|
| 186 | + */ |
|
| 176 | 187 | private function setFormInputText($inName, $inSize, $inAfterLabel) |
| 177 | 188 | { |
| 178 | 189 | $inputParameters = [ |
@@ -185,6 +196,9 @@ discard block |
||
| 185 | 196 | return $this->setStringIntoShortTag('input', $inputParameters) . ' ' . $inAfterLabel; |
| 186 | 197 | } |
| 187 | 198 | |
| 199 | + /** |
|
| 200 | + * @param string $configPath |
|
| 201 | + */ |
|
| 188 | 202 | private function setFormOutput($configPath, $shLabels) |
| 189 | 203 | { |
| 190 | 204 | $aryStngs = $this->readTypeFromJsonFileUniversal($configPath, 'valuesToCompute'); |
@@ -303,6 +317,10 @@ discard block |
||
| 303 | 317 | return implode('', $cellValue); |
| 304 | 318 | } |
| 305 | 319 | |
| 320 | + /** |
|
| 321 | + * @param string $text1 |
|
| 322 | + * @param string $text2 |
|
| 323 | + */ |
|
| 306 | 324 | private function setFormRowTwoLabels($text1, $text2, $value) |
| 307 | 325 | { |
| 308 | 326 | return str_replace(':</td>', ':</td><td class="labelS" style="text-align:right;">' |