Merge pull request #1568 from pateljannat/issues-114

fix: misc evaluation issues
This commit is contained in:
Jannat Patel
2025-06-10 11:06:45 +05:30
committed by GitHub
6 changed files with 29 additions and 24 deletions

View File

@@ -87,8 +87,7 @@ class LMSCertificateRequest(Document):
req.date == getdate(self.date)
or getdate() < getdate(req.date)
or (
getdate() == getdate(req.date)
and getdate(self.start_time) < getdate(req.start_time)
getdate() == getdate(req.date) and get_time(nowtime()) < get_time(req.start_time)
)
):
course_title = frappe.db.get_value("LMS Course", req.course, "title")