@extends('layouts.master') @section('navigation') @include('local.managers.admins._new_navigation') @stop @section('main')
Reassign Course Programs

Use this to reassign courses matching your specified criteria to the program of your choice. Use * (asterisk) to do a wildcard search at the beginning or end. At least one field is required.

As an example, the following will assign all courses with a code starting with 'MAT' and a number starting with '3' to the Mathematics Program.

  • Code: MAT*
  • Number: 3*
  • Program: Mathematics
{{ Form::open(['action' => 'CoursesController@update']) }}
{{ Form::label('code', 'Code') }} {{ Form::text('code', Input::old('code'), ['class' => 'form-control', 'placeholder' => 'TEST', 'maxLength' => 5]) }}
{{ Form::label('number', 'Number') }} {{ Form::text('number', Input::old('number'), ['class' => 'form-control', 'placeholder' => '3001', 'maxLength' => 5]) }}
{{ Form::label('section', 'Section') }} {{ Form::text('section', Input::old('section'), ['class' => 'form-control', 'placeholder' => '001', 'maxLength' => 4]) }}
{{ Form::label('program', 'Program') }}

{{ Form::submit('Submit', ['class' => 'btn btn-primary btn-block', 'name' => 'reassign_program']) }} {{ Form::close() }}
@if (Session::has('courses'))

The following courses were updated:

    @foreach (json_decode(Session::get('courses')) as $course)
  • @if (Session::has('show_sections')) {{ $course->code }}{{ $course->number }}-{{ $course->section }} @else {{ $course->code }}{{ $course->number }} @endif
  • @endforeach
@endif
Reassign Sections' Professors

Use this to reassign a section to a specific professor. Write down the code, number and section of the course. Then, choose a professor from the list. All fields are required.

{{ Form::open(['action' => 'CoursesController@update']) }}
{{ Form::label('code_prof', 'Code') }} {{ Form::text('code_prof', Input::old('code_prof'), ['class' => 'form-control', 'placeholder' => 'TEST', 'maxLength' => 4]) }}
{{ Form::label('number_prof', 'Number') }} {{ Form::text('number_prof', Input::old('number_prof'), ['class' => 'form-control', 'placeholder' => '3001', 'maxLength' => 4]) }}
{{ Form::label('section_prof', 'Section') }} {{ Form::text('section_prof', Input::old('section_prof'), ['class' => 'form-control', 'placeholder' => '001', 'maxLength' => 3]) }}
{{ Form::label('user_prof', 'User') }}
{{ Form::label('semester_prof', 'Semester') }}

{{ Form::submit('Submit', ['class' => 'btn btn-primary btn-block', 'name' => 'reassign_professor']) }} {{ Form::close() }}
@stop @section('javascript') // -------------------------------------------------------------------------- // Page load // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Functions // -------------------------------------------------------------------------- // -------------------------------------------------------------------------- // Events // -------------------------------------------------------------------------- @stop