Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Course ordering and invoicing.

Course ordering and invoicing: Difference between revisions

From MoodleDocs
(→‎UML diagrams: added ERD)
(→‎Installation: updated installation info)
Line 16: Line 16:
==Installation==
==Installation==


* Moodle 1.8 - checkout [[CVS]] HEAD branch or download [http://download.moodle.org/plugins/mod/cord.zip the build]
* Moodle 1.8 - checkout [[CVS]] MOODLE_18_STABLE branch or download [http://download.moodle.org/plugins18/mod/cord.zip the 1.8 build]
* newer versions have not been tested yet
* Moodle 1.9 - checkout [[CVS]] MOODLE_19_STABLE branch or download [http://download.moodle.org/plugins19/mod/cord.zip the 1.9 build]


The source codes live in [[CVS]] [http://cvs.moodle.org/contrib/plugins/mod/cord/ contrib/plugins/mod/cord]. To checkout the module, go to the Moodle mod/ directory and use:
The source codes live in [[CVS]] [http://cvs.moodle.org/contrib/plugins/mod/cord/ contrib/plugins/mod/cord]. To checkout the MOODLE_19_STABLE branch of the module, go to the Moodle mod/ directory and use:
  cvs -z3 -d:ext:myusername@cvs.moodle.org:/cvsroot/moodle co -d cord contrib/plugins/mod/cord
  cvs -z3 -d:ext:myusername@cvs.moodle.org:/cvsroot/moodle co -d cord -r MOODLE_19_STABLE contrib/plugins/mod/cord
 
==Post-installation setup==


TODO: how to setup the module - the outline follows
TODO: how to setup the module - the outline follows

Revision as of 13:24, 25 September 2008

The module allows authenticated users to fill course enrolment order form. Payment reminder is sent automatically. Administrator has to manually approve the order, eg. according to a bank account listings. After approving the order, the invoice is emailed to the users.

The module uses External database enrolment plugin. It may be useful for sites where users must pay to be enrolled into a course but for some reasons, PayPal and other plugins can not be used.

The module was created and is currently maintained by David Mudrak.

Screenshots

The ordering form
Order confirmation
List of user's orders
The list of all approved orders
Example of PDF invoice produced by the module


Installation

The source codes live in CVS contrib/plugins/mod/cord. To checkout the MOODLE_19_STABLE branch of the module, go to the Moodle mod/ directory and use:

cvs -z3 -d:ext:myusername@cvs.moodle.org:/cvsroot/moodle co -d cord -r MOODLE_19_STABLE contrib/plugins/mod/cord

Post-installation setup

TODO: how to setup the module - the outline follows

  1. set up external DB enrolment
  2. create an instance of the module
  3. override desired roles - allow them to order courses (mod/cord:ordercourse)
  4. set up the cost of the courses

How to customize the invoice

TODO

How to report a bug

Please, use Tracker. Course ordering if one of the components in "Non-core contributed modules" project. See the list of tracked issues at http://tracker.moodle.org/browse/CONTRIB/component/10327.

Capabilities

Capability Description Status
mod/cord:ordercourse a user can submit course ordering form implemented
mod/cord:manageorders a user can approve or delete submitted orders implemented

UML diagrams

Use case: User's actions
Use case: Admin's actions
ER diagram:Module tables and relationships
Sequence diagram:Order processing
State diagram:Order processing
Class diagram:Course order classes


See also