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

USER STORY : Viewing past invoices #67

Closed
7 tasks done
Tracked by #65
tomik-z-cech opened this issue Mar 8, 2024 · 1 comment
Closed
7 tasks done
Tracked by #65

USER STORY : Viewing past invoices #67

tomik-z-cech opened this issue Mar 8, 2024 · 1 comment

Comments

@tomik-z-cech
Copy link
Owner

tomik-z-cech commented Mar 8, 2024

As a Site User, I can view detail of any of my own past orders in case of needing them in future.

Acceptance Criteria :

Loged In User :
When I navigate to "Order History" and select partucular invoice to view then then the the invoice opens in new browser tab .

Not Loged in User :

Doesn't have that option.

Tasks :

  • Create a logic in views.py to display selected invoice
  • Protect the view for only loged in users
  • Protect the invoice for only user the invoice belongs to
  • Test functionality as loged in user
  • Test functionality as not loged in user
  • Test functionality as user of order
  • Test functionality as not user of order

Epic :
EPIC 11

@tomik-z-cech tomik-z-cech mentioned this issue Mar 8, 2024
3 tasks
@tomik-z-cech tomik-z-cech self-assigned this Mar 8, 2024
@tomik-z-cech tomik-z-cech moved this from To Do to In Progress in PP5 - Ohm-Azing Components Mar 8, 2024
@tomik-z-cech tomik-z-cech changed the title USER SRORY : Viewing past invoices USER STORY : Viewing past invoices Mar 8, 2024
@tomik-z-cech
Copy link
Owner Author

This was done in commit 3b301fc.

@github-project-automation github-project-automation bot moved this from In Progress to Done in PP5 - Ohm-Azing Components Mar 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Development

No branches or pull requests

1 participant