Non-core contributed modules

Course ordering and invoicing: unable to stop the course from being offered to students

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Minor Minor
  • Resolution: Not a bug
  • Affects Version/s: 1.9.4
  • Fix Version/s: None
  • Labels:
    None
  • Affected Branches:
    MOODLE_19_STABLE

Description

From Ralf Hilgenstock (sent by email on 2009/02/26)

Hi David,

just today we found a small problem with CORD module at moodlemoot.moodle.de.

We tried to cancel a course from the list of courses you can order because ist fully booked.
At first I switched the enrolement plugin to standard, then I tried to set a enrollable to no and later a date range. But all setting doesn't have an effect on students booking ability. Students can book the course via CORD.

Activity

Hide
David Mudrak added a comment -

Ralf,

I am unable to reproduce your problem. The correct procedure for this is to set the course enrolment method to anything else but "Course ordering and invoicing". If I change it to "Default (Internal)", the course disappears from the list.

Please attach your mod/cord/lib.php to this issue so I can check it. The list of courses is populated in cord_print_order_form() function. I have explicit

$sql .= ' AND c.enrol=\'cord\'';

condition there so it should work...

Thanks in advance

Show
David Mudrak added a comment - Ralf, I am unable to reproduce your problem. The correct procedure for this is to set the course enrolment method to anything else but "Course ordering and invoicing". If I change it to "Default (Internal)", the course disappears from the list. Please attach your mod/cord/lib.php to this issue so I can check it. The list of courses is populated in cord_print_order_form() function. I have explicit $sql .= ' AND c.enrol=\'cord\''; condition there so it should work... Thanks in advance
Hide
David Mudrak added a comment -

Closing. This might be caused by local customizations done at the reporter's site.

Show
David Mudrak added a comment - Closing. This might be caused by local customizations done at the reporter's site.

People

Vote (0)
Watch (1)

Dates

  • Created:
    Updated:
    Resolved: