File tree Expand file tree Collapse file tree 4 files changed +4
-4
lines changed
Backend/Block/Widget/Grid/Column/Renderer
Cms/Ui/DataProvider/Page/Row Expand file tree Collapse file tree 4 files changed +4
-4
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 ) {
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ class Actions implements RowInterface
16
16
/**
17
17
* Url path
18
18
*/
19
- const URL_PATH = 'adminhtml/cms_page /edit ' ;
19
+ const URL_PATH = 'cms/page /edit ' ;
20
20
21
21
/**
22
22
* @var UrlBuilder
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ public function checkCodeUsage(\Magento\Email\Model\Template $template)
99
99
protected function _beforeSave (AbstractModel $ object )
100
100
{
101
101
if ($ object ->isObjectNew ()) {
102
- $ object ->setCreatedAt ($ this ->dateTime ->formatDate (true ));
102
+ $ object ->setAddedAt ($ this ->dateTime ->formatDate (true ));
103
103
}
104
104
$ object ->setModifiedAt ($ this ->dateTime ->formatDate (true ));
105
105
$ object ->setTemplateType ((int )$ object ->getTemplateType ());
You can’t perform that action at this time.
0 commit comments