-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
(feat) Credit note export & filtering (#1930)
* feat(filters): create filter item for invoice numbers * feat(filters): create filter item for credit note refund status * feat(filters): create filter item for credit note reason * feat(filters): create filter item for credit note credit status * feat(filters): create filter item for amount * feat(exports): create reusable ExportDialog * delete(exports): remove old dialog for exporting invoices * refactor(CreateCreditNote): extract reason map * refactor(InvoicesPage): include new export dialog * refactor(filters): abstract filter logic * refactor(filters): include credit note filters * refactor(filters): refactor filters panel switch * feat(CreditNotesTable): add filters * chore(graphql): generate types * chore(translations): add translations * fix: linting * feat(filters): extract parse amount util, amounts as ints, translation map * feat(filters): extract AmountFilterInterval type * feat(filters): update amount filter values * fix(filters): flatten object filter values * chore(graphql): generate types * feat(filters): pass filters to credit note query * feat(filters): map specific keys to general ones * refactor(filters): save invoice number directly * refactor(filters): update filter formatting for credit notes * fix(ExportDialog): remove typo * temporary-fix(filters): fix amount serialization * fix(tests): fix passing falsy value
- Loading branch information
1 parent
011e96e
commit c23ce72
Showing
15 changed files
with
1,229 additions
and
391 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.