style: job card redesign

This commit is contained in:
Jannat Patel
2022-02-14 13:46:02 +05:30
parent 942837b4d9
commit 6cd7861b2c
10 changed files with 179 additions and 107 deletions

View File

@@ -10,6 +10,10 @@ frappe.ready(() => {
const open_report_dialog = (e) => {
e.preventDefault();
if (frappe.session.user == "Guest") {
window.location.href = `/login?redirect-to=/jobs/${$(e.currentTarget).data("job")}`;
return;
}
$("#report-modal").modal("show");
};