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

Add Invoice Download Feature #40

Open
ajaybor0 opened this issue Jan 22, 2024 · 0 comments
Open

Add Invoice Download Feature #40

ajaybor0 opened this issue Jan 22, 2024 · 0 comments
Labels
download feature enhancement New feature or request

Comments

@ajaybor0
Copy link
Owner

As a user, I want to be able to download my invoices so that I can keep records offline.

Backend Tasks:

  1. Create a new API endpoint that handles the request for downloading invoices.
  2. Generate the invoice data in the appropriate format (e.g., PDF) on the server.
  3. Implement proper authentication and authorization to ensure that only authorized users can download invoices.
    #Three popular HTML to PDF libraries: Puppeteer, jsPDF, and PDFKit.

Frontend Tasks:

  1. Implement a "Download Invoice" button/link on the frontend, preferably on the order details page.
  2. Connect the frontend to the new backend API endpoint for downloading invoices.
  3. Provide user feedback, such as loading indicators or success messages, to inform users about the download status.
@ajaybor0 ajaybor0 added enhancement New feature or request download feature labels Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
download feature enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant