diary: count only locked trainings
This commit is contained in:
1 parent
d2ca0ada6f
commit
4996283631
1 file changed
+1
@@ -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