-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hide print button in orders listing page #108
Conversation
GytisZum
commented
Sep 14, 2023
@@ -114,6 +114,21 @@ protected function initOptions() | |||
'title' => $this->l('Save'), | |||
], | |||
], | |||
'orders_page_configuration' => [ | |||
'title' => $this->l('Orders listing page configuration'), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
missing FILE_NAME and use module.
$this->module->l('Save', self::FILE_NAME),
@@ -1267,6 +1273,7 @@ public function hookActionOrderGridDefinitionModifier(array $params) | |||
|
|||
$definition = $params['definition']; | |||
|
|||
if (!(bool) Configuration::get(Config::HIDE_ORDERS_LABEL_PRINT_BUTTON)) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Allowing bulk actions, but removed singular?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We got approvement that we hide button only and keeping bulk actions
…abel-print-feature
@@ -220,6 +220,7 @@ public function getDefaultConfiguration() | |||
Config::IMPORT_LINES_SKIP => 1, | |||
Config::IMPORT_FIELD_SEPARATOR => ';', | |||
Config::IMPORT_DELETE_OLD_DATA => 0, | |||
Config::HIDE_ORDERS_LABEL_PRINT_BUTTON => 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't see it in upgrade script