File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
app/code/Magento/Backend/Block/Widget/Grid/Column/Renderer Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -80,7 +80,7 @@ public function __construct(
80
80
*/
81
81
public function render (\Magento \Framework \Object $ row )
82
82
{
83
- if ($ data = (string )$ row -> getData ( $ this ->getColumn ()-> getIndex () )) {
83
+ if ($ data = (string )$ this ->_getValue ( $ row )) {
84
84
$ currency_code = $ this ->_getCurrencyCode ($ row );
85
85
$ data = floatval ($ data ) * $ this ->_getRate ($ row );
86
86
$ sign = (bool )(int )$ this ->getColumn ()->getShowNumberSign () && $ data > 0 ? '+ ' : '' ;
Original file line number Diff line number Diff line change @@ -48,7 +48,7 @@ public function __construct(
48
48
*/
49
49
public function render (\Magento \Framework \Object $ row )
50
50
{
51
- if ($ data = $ row -> getData ( $ this ->getColumn ()-> getIndex () )) {
51
+ if ($ data = $ this ->_getValue ( $ row )) {
52
52
$ currencyCode = $ this ->_getCurrencyCode ($ row );
53
53
54
54
if (!$ currencyCode ) {
You can’t perform that action at this time.
0 commit comments