@@ -90,7 +90,7 @@ |
||
| 90 | 90 | 'class' => 'labelS', |
| 91 | 91 | 'style' => 'color:#000;', |
| 92 | 92 | ]; |
| 93 | - $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
| 93 | + $fieldsStyled = $this->buildArrayOfFieldsStyled(); |
|
| 94 | 94 | if (array_key_exists($text, $fieldsStyled)) { |
| 95 | 95 | $defaultCellStyle['style'] = $this->buildStyleForCellFormat($fieldsStyled[$text]); |
| 96 | 96 | } |
@@ -112,7 +112,7 @@ |
||
| 112 | 112 | $sReturn = ''; |
| 113 | 113 | if (is_array($labelInfo)) { |
| 114 | 114 | if (count($labelInfo) == 3) { |
| 115 | - $pieces = [ |
|
| 115 | + $pieces = [ |
|
| 116 | 116 | $this->tApp->gettext($labelInfo[0]), |
| 117 | 117 | $this->tApp->gettext($labelInfo[1]), |
| 118 | 118 | ]; |
@@ -118,7 +118,7 @@ |
||
| 118 | 118 | $howMany = count($nValues); |
| 119 | 119 | for ($counter = 0; $counter <= $howMany; $counter++) { |
| 120 | 120 | if (($lngTaxBase <= $nValues[$counter]['Upper Limit Value'])) { |
| 121 | - $sLbl = [ |
|
| 121 | + $sLbl = [ |
|
| 122 | 122 | 'BDP' => $nValues[$counter]['Base Deducted Percentage'], |
| 123 | 123 | 'BDV' => $nValues[$counter]['Base Deduction Value'], |
| 124 | 124 | 'TFV' => $nValues[$counter]['Tax Free Value'], |
@@ -288,7 +288,7 @@ discard block |
||
| 288 | 288 | $sReturn[] = '<th><i class="fa fa-map-signs floatRight" style="font-size:2em;"> </i></th>'; |
| 289 | 289 | $this->appFlags['CTD'] = $this->manageCurrencyToDisplay($this->tCmnSuperGlobals); |
| 290 | 290 | foreach ($this->appFlags['CTD'] as $key => $value) { |
| 291 | - $crtPcs = [ |
|
| 291 | + $crtPcs = [ |
|
| 292 | 292 | $this->tApp->gettext('i18n_Form_Label_XofficialCurrencyUsedFrom'), |
| 293 | 293 | $this->tApp->gettext('i18n_Form_Label_CurrencyName_' . $key), |
| 294 | 294 | $this->tApp->gettext('i18n_CountryName_' . strtoupper($value['country'])), |
@@ -341,7 +341,7 @@ discard block |
||
| 341 | 341 | |
| 342 | 342 | private function setFormRowAmount($value, $defaultCellStyle) |
| 343 | 343 | { |
| 344 | - $cellValue = []; |
|
| 344 | + $cellValue = []; |
|
| 345 | 345 | $defaultCellStyle['style'] .= 'text-align:right;'; |
| 346 | 346 | foreach ($this->appFlags['CTD'] as $key2 => $value2) { |
| 347 | 347 | $fmt = new \NumberFormatter($value2['locale'], \NumberFormatter::CURRENCY); |
@@ -74,7 +74,7 @@ |
||
| 74 | 74 | 2003 => 1800000, |
| 75 | 75 | 2004 => 2000000, |
| 76 | 76 | ]; |
| 77 | - $nReturn = $valuesYearly[$yrDate]; |
|
| 77 | + $nReturn = $valuesYearly[$yrDate]; |
|
| 78 | 78 | } |
| 79 | 79 | return (($lngDate >= 20060701) ? round($nReturn, -4) : $nReturn); |
| 80 | 80 | } |
@@ -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 | } |