Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Not a bug
-
Affects Version/s: 1.9.2
-
Fix Version/s: 1.9.4
-
Component/s: Course, Enrolments
-
Labels:None
-
Affected Branches:MOODLE_19_STABLE
-
Fixed Branches:MOODLE_19_STABLE
Description
In course/edit_form.php there is an IF statement, that displays the "cost" field only if default enrolment method is not "manual". It makes sense as the cost field is usually only used by PayPal or Authorize.net. However in some cases admins want to set the cost of the course even they have set default enrolment to "manual" - e.g. when they use "External DB enrolement" together with "Course ordering and invoicing" (http://docs.moodle.org/en/Course_ordering_and_invoicing).
At the moment there is no clean way how to force Moodle to always display course cost setting field with default enrolment plugin set to "manual". I consider this as a bug.
Attachments
Issue Links
| This issue will help resolve: | ||||
| CONTRIB-730 | Course ordering and invoicing: unable to set the course cost in 1.9 |
|
|
|
The solution included in the attached patch is to check $CFG->alwaysdisplaycoursecost. Admins who want display course cost in the setting form may simply set this variable in their config.php.
Waiting for +1