This commit is contained in:
PMKuipers 2023-07-04 23:43:45 +02:00
parent 252cb8cb2a
commit 76a91eb769
2 changed files with 2 additions and 2 deletions

View File

@ -389,7 +389,7 @@ class corecompletioninfo {
// Make sure we provide the current course grade
$iinfo['grade'] = floatval($iinfo['details']['status']);
if($iinfo["grade"] > 0){
$iinfo["grade"] = format_float($iinfo["grade"], 1);
$iinfo["grade"] = format_float($iinfo["grade"], 1). "/".format_float(floatval($iinfo['details']['requirement']));
$iinfo["status"] = $completion->is_complete()?"complete-pass":"complete-fail";
if ($cinfo["status"] == "incomplete"){
$cinfo["status"] = "progress";

View File

@ -1,6 +1,6 @@
<?php
$plugin->component = 'local_treestudyplan'; // Recommended since 2.0.2 (MDL-26035). Required since 3.0 (MDL-48494)
$plugin->version = 2023070200; // YYYYMMDDHH (year, month, day, iteration)
$plugin->version = 2023070400; // YYYYMMDDHH (year, month, day, iteration)
$plugin->requires = 2021051700; // YYYYMMDDHH (This is the release version for Moodle 3.11)
$plugin->dependencies = [