Skip to content
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

Merged
merged 6 commits into from
Dec 12, 2023
Merged

Conversation

GytisZum
Copy link

image
image
image

@GytisZum GytisZum self-assigned this Sep 14, 2023
@@ -114,6 +114,21 @@ protected function initOptions()
'title' => $this->l('Save'),
],
],
'orders_page_configuration' => [
'title' => $this->l('Orders listing page configuration'),

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)) {

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?

Copy link
Author

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

@GytisZum GytisZum changed the base branch from 3.2.16 to 3.2.18 November 30, 2023 08:31
@@ -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,

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

@GytisZum GytisZum merged commit 897170f into 3.2.18 Dec 12, 2023
2 checks passed
@GytisZum GytisZum deleted the hide-label-print-feature branch December 12, 2023 07:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants