@@ -51,7 +51,7 @@ |
||
51 | 51 | 'min_range' => $dtR['minimum']->format('Ymd'), |
52 | 52 | ] |
53 | 53 | ]; |
54 | - $validYM = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt); |
|
54 | + $validYM = filter_var($tCSG->get('ym'), FILTER_VALIDATE_INT, $validOpt); |
|
55 | 55 | if (!array_key_exists($validYM, $ymValues)) { |
56 | 56 | $validYM = $validOpt['options']['default']; |
57 | 57 | } |
@@ -65,6 +65,9 @@ discard block |
||
65 | 65 | ]; |
66 | 66 | } |
67 | 67 | |
68 | + /** |
|
69 | + * @param double $lngBase |
|
70 | + */ |
|
68 | 71 | private function getValues($lngBase, $aStngs, $shLabels, $dtR) { |
69 | 72 | $inDate = $this->tCmnSuperGlobals->request->get('ym'); |
70 | 73 | $aReturn = $this->getValuesPrimary($inDate, $lngBase, $aStngs, $shLabels, $dtR); |
@@ -203,11 +206,19 @@ discard block |
||
203 | 206 | return implode($sReturn, ''); |
204 | 207 | } |
205 | 208 | |
209 | + /** |
|
210 | + * @param string $frm |
|
211 | + */ |
|
206 | 212 | private function setFormInputIntoFieldSet($frm) { |
207 | 213 | return '<div class="tabbertab" id="Input" title="' . $this->tApp->gettext('i18n_FieldsetLabel_Inputs') . '">' |
208 | 214 | . $frm . '</div>'; |
209 | 215 | } |
210 | 216 | |
217 | + /** |
|
218 | + * @param string $inName |
|
219 | + * @param integer $inSize |
|
220 | + * @param string $inAfterLabel |
|
221 | + */ |
|
211 | 222 | private function setFormInputText($inName, $inSize, $inAfterLabel, $crtMinWage = 0) { |
212 | 223 | $inputParameters = [ |
213 | 224 | 'type' => 'text', |
@@ -286,6 +297,9 @@ discard block |
||
286 | 297 | . $this->setStringIntoTag(implode('', $sReturn), 'table') . '</tbody>' . '</div>'; |
287 | 298 | } |
288 | 299 | |
300 | + /** |
|
301 | + * @param double $amntLAA |
|
302 | + */ |
|
289 | 303 | private function setFormOutputBonuses($snValue, $wkDays, $amntLAA, $ovTimeVal) { |
290 | 304 | $sRt = []; |
291 | 305 | $sMin = $this->tCmnSuperGlobals->request->get('sm') * pow(10, 4); |
@@ -327,6 +341,9 @@ discard block |
||
327 | 341 | return implode('', $sReturn) . '</tr></thead></tbody>'; |
328 | 342 | } |
329 | 343 | |
344 | + /** |
|
345 | + * @param double $brut |
|
346 | + */ |
|
330 | 347 | private function setFormOutputTaxations($brut, $amnt) { |
331 | 348 | $sRn = []; |
332 | 349 | $limitDisplayBase = false; |
@@ -378,6 +395,10 @@ discard block |
||
378 | 395 | return implode('', $cellValue); |
379 | 396 | } |
380 | 397 | |
398 | + /** |
|
399 | + * @param string $text1 |
|
400 | + * @param string $text2 |
|
401 | + */ |
|
381 | 402 | private function setFrmRowTwoLbls($text1, $text2, $value) { |
382 | 403 | return str_replace(':</td>', ':</td><td class="labelS" style="text-align:right;">' |
383 | 404 | . $text2 . '</td>', $this->setFormRow($text1, $value, 'amount')); |
@@ -315,7 +315,7 @@ discard block |
||
315 | 315 | $sReturn[] = '<th><i class="fa fa-map-signs floatRight" style="font-size:2em;"> </i></th>'; |
316 | 316 | $this->appFlags['CTD'] = $this->manageCurrencyToDisplay($this->tCmnSuperGlobals); |
317 | 317 | foreach ($this->appFlags['CTD'] as $key => $value) { |
318 | - $crtPcs = [ |
|
318 | + $crtPcs = [ |
|
319 | 319 | $this->tApp->gettext('i18n_Form_Label_XofficialCurrencyUsedFrom'), |
320 | 320 | $this->tApp->gettext('i18n_Form_Label_CurrencyName_' . $key), |
321 | 321 | $this->tApp->gettext('i18n_CountryName_' . strtoupper($value['country'])), |
@@ -367,7 +367,7 @@ discard block |
||
367 | 367 | } |
368 | 368 | |
369 | 369 | private function setFormRowAmount($value, $defaultCellStyle) { |
370 | - $cellValue = []; |
|
370 | + $cellValue = []; |
|
371 | 371 | $defaultCellStyle['style'] .= 'text-align:right;'; |
372 | 372 | foreach ($this->appFlags['CTD'] as $key2 => $value2) { |
373 | 373 | $fmt = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY); |
@@ -46,7 +46,7 @@ discard block |
||
46 | 46 | $crtUpperLimitDate = (int) $dtR['maximum']->format('Ymd'); |
47 | 47 | while (($valueMealTicket === 0)) { |
48 | 48 | $crtVal = $aryStngMealTickets[$indexArrayValues]; |
49 | - $crtLLDate = \DateTime::createFromFormat('Y-n-j', $crtVal['Year'].'-'.$crtVal['Month'].'-1'); |
|
49 | + $crtLLDate = \DateTime::createFromFormat('Y-n-j', $crtVal['Year'] . '-' . $crtVal['Month'] . '-1'); |
|
50 | 50 | $crtLowerLimitDate = (int) $crtLLDate->format('Ymd'); |
51 | 51 | $valueMealTicket = $this->setDynamicValues($lngDate, $crtVal, $crtLowerLimitDate, $crtUpperLimitDate); |
52 | 52 | $crtUpperLimitDate = $crtLowerLimitDate; |
@@ -80,7 +80,7 @@ discard block |
||
80 | 80 | 2003 => 1800000, |
81 | 81 | 2004 => 2000000, |
82 | 82 | ]; |
83 | - $nReturn = $valuesYearly[$yrDate]; |
|
83 | + $nReturn = $valuesYearly[$yrDate]; |
|
84 | 84 | } |
85 | 85 | return (($lngDate >= 20060701) ? round($nReturn, -4) : $nReturn); |
86 | 86 | } |