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

WIP ✨ (backend) prepare batch of orders #1068

Open
wants to merge 6 commits into
base: development
Choose a base branch
from

Conversation

jonathanreveille
Copy link
Member

@jonathanreveille jonathanreveille commented Mar 3, 2025

Purpose

We want companies to be able to order in batch seats for a session.

The company will first need to sign a convention (a contract), and only when this one is signed, we can
allow to generate orders that are "ready-to-use".

Once the orders are generated, companies will receive their discount coupons of (100%) and its their responsibility to hand them out to each of their employees that figure on the convention. The company will pay after signing the convention directly to the organization.

Notes:

  • all the "students" of that batch order will be affected to the same organization.
  • the company will be able to pay directly to the organization.
  • the company will need to list of his students he wishes to subscribe to that session.
  • the signature of the convention (contract) will trigger the whole process of preparing the orders
  • the student will be given a coupon of 100% to use when he purchases the offer, allowing him not to pay, nor signing a contract because it has been handled beforehand by the company and the organization.

Proposal

  • prepare batch order model
  • update signature backends for submitting convention
  • add method to generate orders once convention is signed
  • add method to generate vouchers once orders are generated
  • refactor generate_document_context for contract

@jonathanreveille jonathanreveille self-assigned this Mar 3, 2025
@jonathanreveille jonathanreveille changed the title WIP ✨ (backend) Feat/purchase order to enrollment multiple students WIP ✨ (backend) purchase order for multiple students Mar 3, 2025
@jonathanreveille jonathanreveille force-pushed the feat/purchase_order_to_enrollment_multiple_students branch 4 times, most recently from 5fc0077 to a38f23c Compare March 4, 2025 13:27
@jonathanreveille jonathanreveille changed the title WIP ✨ (backend) purchase order for multiple students WIP ✨ (backend) purchase more than 1 seat for an offer Mar 4, 2025
@jonathanreveille jonathanreveille changed the title WIP ✨ (backend) purchase more than 1 seat for an offer WIP ✨ (backend) prepare batch of orders Mar 6, 2025
@jonathanreveille jonathanreveille force-pushed the feat/purchase_order_to_enrollment_multiple_students branch 4 times, most recently from 83d946d to d185058 Compare March 10, 2025 17:26
@jonathanreveille jonathanreveille force-pushed the feat/purchase_order_to_enrollment_multiple_students branch from d185058 to d9ad163 Compare March 11, 2025 18:13
@jonathanreveille jonathanreveille force-pushed the feat/purchase_order_to_enrollment_multiple_students branch from d9ad163 to d019dee Compare March 11, 2025 18:19
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.

1 participant