diary: count only locked trainings
This commit is contained in:
@@ -347,6 +347,7 @@ class user_kid extends user_parent {
|
|||||||
WHERE `pr_user_kid_uk_id` = ". $this->get_uk_id()."
|
WHERE `pr_user_kid_uk_id` = ". $this->get_uk_id()."
|
||||||
AND `tr_date` LIKE '".$_year."-".$_month."%'
|
AND `tr_date` LIKE '".$_year."-".$_month."%'
|
||||||
AND tr_deleted = 0
|
AND tr_deleted = 0
|
||||||
|
AND tr_locked = 1
|
||||||
;"
|
;"
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user