diff --git a/include/fields/CurrencyField.php b/include/fields/CurrencyField.php index b698280fd0a43097250722bf76912c8599bdd84f..46114dc612142677eee91cb3c034f757778b3caf 100644 --- a/include/fields/CurrencyField.php +++ b/include/fields/CurrencyField.php @@ -363,7 +363,7 @@ class CurrencyField { } //$value = round($value, $this->maxNumberOfDecimals); - return $value; + return (float)$value; } /** diff --git a/layouts/v7/modules/Products/ProductsPopupContents.tpl b/layouts/v7/modules/Products/ProductsPopupContents.tpl index c51b25ccdc51f3b2a3a34ed7f5dfe52af512cb5b..5f533cb9fdee80d6df466899a427601dd46e549c 100644 --- a/layouts/v7/modules/Products/ProductsPopupContents.tpl +++ b/layouts/v7/modules/Products/ProductsPopupContents.tpl @@ -80,7 +80,7 @@ {assign var="ROW_NUMBER" value={$smarty.foreach.listViewEntry.index}} {assign var=LISTVIEW_HEADERNAME value=$LISTVIEW_HEADER->get('name')} {assign var=LISTVIEW_ENTRY_VALUE value=$LISTVIEW_ENTRY->get($LISTVIEW_HEADERNAME)} - <td class="listViewEntryValue textOverflowEllipsis" title="{$RECORD_DATA[$LISTVIEW_HEADERNAME]}"> + <td class="listViewEntryValue textOverflowEllipsis"> {if $LISTVIEW_HEADER->isNameField() eq true or $LISTVIEW_HEADER->get('uitype') eq '4'} <a>{$LISTVIEW_ENTRY->get($LISTVIEW_HEADERNAME)}</a> {else if $LISTVIEW_HEADER->get('uitype') eq '72'}