local:shop:structure:handlers:generateseats
Table des matières
Adding Unassigned Seats
Moodle Shop: Production Handlers
Function: allows the buyer to obtain unassigned products/seats at the time of their creation. Seats can then be assigned to users present on the platform and manageable by the product owner, or to new users to be created.
Pre-payment parameters
- customersupport: shortname of the customer support course
Post-payment parameters (execution)
Back-office parameters
- enabledcourses: A comma list of course codes (short names). Seats will only be assignable on these courses. If it is empty, seats are assignable on all courses of the platform.
- packsize: The number of seats to generate per sales unit. By default, 1 seat.
- supervisor: The role (short name) to assign for a teacher seat on assignment. By default, “teacher”.
Front-office parameters
- None.
Credits
- Valéry Frémaux (valery@activeprolearn.com) Design - Development
- Florence Labord (florence@activeprolearn.com) Functional review - Tests
See the implementation sheet - Back to the structure summary - Back to the component summary - Back to the catalog
local/shop/structure/handlers/generateseats.txt · Dernière modification : de 127.0.0.1
