Big Calendar/Schedule update

This commit is contained in:
Mathieu Lagace
2019-08-18 17:26:49 -04:00
parent 3546298a08
commit cf5f7effbf
40 changed files with 33844 additions and 110 deletions

View File

@@ -107,7 +107,7 @@ class ComplementaryActivityController extends Controller
$activity->begin_time = request('begin_time');
$activity->end_time = request('end_time');
$activity->location = request('location');
if(request('is_mandatory') == 'on')
if(request('is_mandatory') == 'true')
{
$activity->is_mandatory = true;
}
@@ -115,7 +115,7 @@ class ComplementaryActivityController extends Controller
{
$activity->is_mandatory = false;
}
if(request('is_promoted') == 'on')
if(request('is_promoted') == 'true')
{
$activity->is_promoted = true;
}