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
Improve handling of refunded
invoice in invoices, invoice details and invoice export.
#3597
Comments
Hi @Kukks , was advised that updating the export was the only thing remaining on this ticket. Found a couple items for clarification if you have time:
Another separate-but-related issue:
|
Need a little clarification for desired result -- invoice export actually can have multiple payments per invoice. Refunds have multiple pull payments per refund and could be added separately like payments. However, as @Kukks pointed out this is not really an invoice export now. Some options:
Also a separate issue to consider is that exporting invoices does not respect the checkbox selections -- it exports all invoices that have been listed on the page (via filter terms). Will try to join the call! |
Update from dev call 7/19: We will go with option 2 -- listing all payments and pull payments |
Hey @rustywave are you still up for tackling this one? |
@pavlenex, sorry for being MIA! i won't be able to finish this or any others at this time. update is partway done but there are still some clarifications needed on which are the correct fields to use. i can either create a PR or push my changes to a remote branch for the next person to review. |
If it helps, branch is here: Can delete if not needed anymore or just let me know and I'll delete. |
The invoice export isn't an invoice export but a payment export. We shouldn't try to change the nature of it. If we need exports on other things, we need more discussion and refactor completely our data export system. But would be to inspire from fireflyiii. This shouldn't go in 1.7.0 |
@NicolasDorier Agreed. Can you explain what fireflyiii does that you like? |
Currently, if an invoice is
refunded
:invoice export
asrefunded
it'ssettled
the amount is in +, which can lead to accounting problems.invoices view
you cannot distinguish refunded invoices, they saysettled
so it's hard for a merchant to pick a particular invoice that may need to be refunded or view a refunded one as they're allsettled
invoice details
there's no field indicating an invoice is refunded in any wayissue a refund
on an invoice already refunded.This is an example of an invoice detail of an already refunded invoice.
This invoices view shows 3 invoices as settled, all of them
refunded
And most problematic of all, this is an invoice export containing reporting for refunded invoices
This issue can potentially be broken down into several issues, but for now we'll use it as a tracker
label
in invoices page view to distinguish easier refunded from settled.issue a refund
button, instead showpreview a refund
Luckily we log in refunded in database, but we don't show it in the UI, show a fix for all of these shouldn't be that hard as @Kukks pointed out.
I had an idea of introducing
refunded
andrefunded-partial
status, but Kukks was against it.Thanks to Bas for pointing majority of these problems, I'm just logging an issue.
The text was updated successfully, but these errors were encountered: