fix: login button before job application

This commit is contained in:
Jannat Patel
2022-01-11 19:27:12 +05:30
parent a87e3d66a6
commit 19f5251736
2 changed files with 5 additions and 5 deletions

View File

@@ -13,8 +13,8 @@ class JobOpportunity(Document):
@frappe.whitelist()
def report(job, reason):
system_managers = get_system_managers(only_name=True)
subject = _("User {0} has reported the job post {1}").format(user, job)
user = frappe.db.get_value("User", frappe.session.user, "full_name")
subject = _("User {0} has reported the job post {1}").format(user, job)
args = {
"job": job,
"job_url": get_link_to_form("Job Opportunity", job),