agenda : print NOT approved courses
Geru department asked me if it is possible to choose to print the offerings that are not approved; currently they can print offerings that are approved and all offerings. I figured easiest way would be to add a "not approved" item to the drop down list in addition to the "all" and "approved" items. I
- added the appropriate line to active_area.php for the GUI
<option selected value="notapproved">Use NOT Approved Course Offerings When Printing</option>
- added the appropriate sql in manage_calendars.php
if(strcmp("notapproved",$approved_courses)==0){
$restrict_sql = " AND offerings.approved = 'No' ";
}
Works. Had a couple of copy and paste problems resulting in the wrong option being selected when the list page reloaded itself after invoking the print list view. Now seems to be working