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

CIWEMB-295: Allow user to create credit note refund #64

Merged

Conversation

olayiwola-compucorp
Copy link
Contributor

Overview

This PR adds the functionality that allows an admin user to record a cash refund for a credit note.

Before

The functionality doesn't exist

After

refund100

Technical Details

When a credit note cash refund is made, the following records are created during the reversal process:

  • financial_trxn: A record of the refund payment.
  • entity_financial_trxn for credit note: Links the credit note with the financial_trxn.
  • entity_financial_trxn for credit note line: Each credit note line item is linked to the financial transaction, and the refunded amount is proportionally distributed among the credit note line items.

@olayiwola-compucorp olayiwola-compucorp merged commit 5d351d7 into CIWEMB-15-creditnote-workstream Aug 25, 2023
2 checks passed
@olayiwola-compucorp olayiwola-compucorp deleted the CIWEMB-295-create-refund branch August 25, 2023 07:18
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

Successfully merging this pull request may close these issues.

2 participants