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

Unable to view some pdfs #32

Closed
pszucs opened this issue Dec 8, 2019 · 2 comments
Closed

Unable to view some pdfs #32

pszucs opened this issue Dec 8, 2019 · 2 comments

Comments

@pszucs
Copy link

pszucs commented Dec 8, 2019

Might be something to do with #14, but I think it's a slightly different issue.

I have 12 invoices and from the "Invoices" / ... / "View" menu I can view all of them except the first two I created - the rest (10 other invoices) are fine.

If I click the "... / Edit" action button and then the "View PDF" then all the pdfs are fine.

Steps to reproduce:

  • have at least 11 invoices
  • go to "Invoices"
  • (optional) go to the "All" tab if the invoices have been paid
  • at the bottom of the page go to the second page
  • click one of the "... (actions) / View" links

Results:
an empty page (see screenshot)

Expected result:
the list of invoices and the pdf invoice shown next to the list (as for the other 10 invoices).

I'm just guessing here without looking at the code, but could it be something to do with the /invoices endpoint returning only the first 10 invoices (ordered by the created date) and the first two that I'm unable to access aren't in that list?
Screenshot from 2019-12-08 10-57-53

@mohitpanjwani
Copy link
Contributor

mohitpanjwani commented Dec 9, 2019

@pszucs Thanks for reporting the issue and the detailed explanation!

This issue has been fixed on 1cd654b

Please auto-update from the settings page and let me know if the issue still occurs :)

@pszucs
Copy link
Author

pszucs commented Dec 9, 2019

No worries, it works now.

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

No branches or pull requests

2 participants