grow food, not lawn.

Skip to content

user purchase page upgraded with invoice links

Russell Ballestrini requested to merge user-purchases-page into master

modified: make_post_sell/models/user.py modified: make_post_sell/routes.py modified: make_post_sell/templates/invoice.j2 deleted: make_post_sell/templates/products.j2 modified: make_post_sell/templates/sales.j2 deleted: make_post_sell/templates/sales_details.j2 new file: make_post_sell/templates/user_purchases.j2 modified: make_post_sell/views/invoice.py modified: make_post_sell/views/sales.py modified: make_post_sell/views/user.py

Summary by CodeRabbit

  • New Features

    • Introduced a new relationship for managing invoices within user profiles.
    • Added a new template for displaying user purchase information, including invoices and products.
    • Implemented a new route for viewing invoices with a simplified URL format.
  • Bug Fixes

    • Improved error handling and clarity in user permission checks for invoice retrieval.
  • Documentation

    • Updated labels and organization in the invoice template for better usability.
  • Style

    • Enhanced table styles and responsiveness across various sections of the application.
  • Chores

    • Removed outdated routes and templates to streamline the application.
Edited by CodeRabbit

Merge request reports