Navigation Menu

Skip to content

Commit

Permalink
Replace 'xbrli:monetaryItem' with XBRL_Constants equivalent
Browse files Browse the repository at this point in the history
  • Loading branch information
bseddon committed Jun 11, 2019
1 parent 58d2abe commit e148b1c
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion XBRL-ESMA-ESEF.php
Expand Up @@ -182,7 +182,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t

switch ( $type )
{
case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
case 'xbrli:sharesItemType':
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance, $includeCurrency );
Expand Down
2 changes: 1 addition & 1 deletion XBRL-IFRS.php
Expand Up @@ -290,7 +290,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t

switch ( $type )
{
case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
case 'xbrli:sharesItemType':
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance, $includeCurrency );
Expand Down
2 changes: 1 addition & 1 deletion XBRL-UK-AE.php
Expand Up @@ -253,7 +253,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t
case 'uk-gaap-ae:CompaniesHouseRegisteredNumberType':
return $value;

case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance );

Expand Down
2 changes: 1 addition & 1 deletion XBRL-UK-FRC.php
Expand Up @@ -271,7 +271,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t

switch ( $type )
{
case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
case 'xbrli:sharesItemType':
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance, $includeCurrency );
Expand Down
2 changes: 1 addition & 1 deletion XBRL-UK-GAAP.php
Expand Up @@ -520,7 +520,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t

switch ( $type )
{
case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
case 'xbrli:sharesItemType':
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance, $includeCurrency );
Expand Down
2 changes: 1 addition & 1 deletion XBRL-US-GAAP-2015.php
Expand Up @@ -927,7 +927,7 @@ public function formattedValue( $element, $instance = null, $includeCurrency = t

switch ( $type )
{
case 'xbrli:monetaryItemType':
case XBRL_Constants::$xbrliMonetaryItemType:
$element['value'] = str_replace( ',', '', $element['value'] );
return parent::formattedValue( $element, $instance, $includeCurrency );

Expand Down

0 comments on commit e148b1c

Please sign in to comment.