-
-
Notifications
You must be signed in to change notification settings - Fork 346
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
better PDF invoice name #743
Comments
hi @digitall-it , you are right, we will improve the naming so the resulting natural order is better. |
we have decided that the last part will be: YYYY-MM-DD-InvoiceNumber where the date is the one written on the invoice and invoice number is a padded number (up to X characters). Thus the files will be ordered by invoice number. Additionally, we will remove the uuid, which does not help |
thank you, so if the name of the invoice is "proforma-fattura", the event is called "charity-dinner" and the number is 37, what file name will I get? Because I think the "invoice-" part at the start should be also be dropped in favour of the invoice name. The suggested invoice would be called |
@digitall-it , yep, removing the "invoice-" is a good idea. As you can only download invoices in the archive. |
@digitall-it the "invoice number/name" (in you case "proforma-fattura-%d") is actually the part of the invoice number. It's not something that we can change. The resulting name will be:
|
To ensure a little bit more the chronological order, I've added to the date also the time (hour, minutes, seconds). The resulting name will be something like:
where:
I think it's a good compromise :) |
Is your feature request related to a problem? Please describe.
When downloading all the invoices for further processing, it is natural to order them by chronological order. Unfortunately, the invoice number is at the end of the file, after ID, which prevents it from sorting the PDFs in the file manager.
Describe the solution you'd like
I suggest to move the invoice internal ID after the invoice number.
Describe alternatives you've considered
No alternatives considered, apart from further renaming.
Additional context
Attached a screenshot of the downloaded files. I suggest moving the ID after the invoice number in the generated filename.
The text was updated successfully, but these errors were encountered: