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

As a super-admin, I can hide invoices for an instance #3859

Closed
RachL opened this issue May 21, 2019 · 2 comments

Comments

@RachL
Copy link
Contributor

commented May 21, 2019

Description

- As a: super admin
- On page: /admin/general_settings/edit
- I want to be able to do: Be able to switch on and off my user access to invoices. As the invoice management is currently not compliant with France accountability law, this will help instance like France to turn off the use of this feature.

By default, the config must be at ON.

Acceptance Criteria

Scenario 1

  1. Logged in as a super admin, I can turn OFF the invoices
  2. Logged in as a super admin or an enterprise manager - On /admin/orders?q[s]=completed_at+desc I cannot see the bulk invoice printing button anymore
  3. Logged in as a super admin or an enterprise manager - On /admin/orders/ORDERNUMBER/edit I cannot see the send invoice and print invoice button in the action dropdown

Scenario 2
1.Logged in as a super admin, I can see that by default invoices are turned ON
2. Logged in as a super admin or an enterprise manager, the bulk invoice button is working as usual on /admin/orders?q[s]=completed_at+desc
3. Logged in as a super admin or an enterprise manager - On /admin/orders/ORDERNUMBER/edit I can see the send invoice and print invoice button in the action dropdown, and they are working as usual

@RachL RachL changed the title As a super-admin, I can hide invoices buttons As a super-admin, I can hide invoices from an instance May 21, 2019

@RachL RachL changed the title As a super-admin, I can hide invoices from an instance As a super-admin, I can hide invoices for an instance Jun 13, 2019

@luisramos0 luisramos0 self-assigned this Jun 18, 2019

@luisramos0

This comment has been minimized.

Copy link
Contributor

commented Jun 18, 2019

I assume this setting will be in Configuration > Invoice Settings (admin/invoice_settings/edit)?

this is currently the page:
Screenshot 2019-06-18 at 15 51 13

I'll label this new checkbox as "Enable Invoices?", ok?

@RachL

This comment has been minimized.

Copy link
Contributor Author

commented Jun 18, 2019

@luisramos0 fine by me :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.