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

Allow Payments by Payment Term in document Electronic Payments dialog #26

Open
HKuz opened this issue Mar 19, 2024 · 0 comments
Open

Allow Payments by Payment Term in document Electronic Payments dialog #26

HKuz opened this issue Mar 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@HKuz
Copy link
Collaborator

HKuz commented Mar 19, 2024

Currently, when a user is logged into their desk view and makes an electronic payment directly from an order/invoice, the only option is to pay the entire total, and the payment schedule isn't updated under the hood. This feature would display the payment terms for the given document in the dialog, and enable them to select which one(s) to pay.

Implementation notes:

  • All function calls look for a "payment_term" key in the data argument, which holds the name of the payment schedule's payment term to pay off. (This feeds into the payment amount and fee calcs throughout, and is used to update the payment schedule)
  • Currently, all functions, including create_payment_entry and create_journal_entry, only expect one payment term - we'll need to refactor some code to be able to handle multiple terms
@HKuz HKuz added the enhancement New feature or request label Mar 19, 2024
@agritheory agritheory changed the title feat: Allow Payments by Payment Term in document Electronic Payments dialog Allow Payments by Payment Term in document Electronic Payments dialog Mar 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant