276 lines
39 KiB
JSON
276 lines
39 KiB
JSON
[
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 1,
|
|
"fields": {
|
|
"created_at": "2025-07-05T09:39:13.733Z",
|
|
"created_by": null,
|
|
"modified_by": null,
|
|
"is_active": true,
|
|
"title": "Offer letter",
|
|
"body": "<p style=\"font-size: 12.8px; text-align: center;\"><span style=\"font-weight: bolder;\"><span style=\"font-family: "Courier New"; font-size: 24px;\">Congratulations! Job Offer at {{instance.get_company}}</span></span></p><p style=\"font-size: 12.8px;\">username:{{instance.get_email}}</p><p style=\"font-size: 12.8px;\">password:{{instance.phone}}</p><p style=\"font-size: 12.8px;\"><i><span style=\"font-size: 14px;\">Dear {{instance.get_full_name}},</span></i></p><p style=\"font-size: 12.8px;\"> I am delighted to extend an official offer of employment to you for the position of [Job Title] at [Company Name]. We were thoroughly impressed with your skills, experience, and the passion you demonstrated during the interview process.</p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">Here are the details of your job offer: </span></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\"> Job Position: {{instance.get_job_position}}</span></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">We believe that your unique talents will make a significant contribution to our team, and we are thrilled about the prospect of you joining us. Please take the time to review the attached detailed job description, as well as the terms and conditions outlined in the employment contract.</span><br></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">To signify your acceptance of this job offer, please confirm your agreement by [Date to Respond]. If you have any questions or need further clarification, feel free to contact me directly</span><br></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">We are excited about the value you will bring to [Company Name], and we eagerly anticipate the positive impact you'll have on our team.</span><br></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">Welcome aboard, and we look forward to a successful and fulfilling working relationship!</span><br></p><p style=\"font-size: 12.8px;\"><span style=\"font-size: 12.8px;\">Warm regards,</span></p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 2,
|
|
"fields": {
|
|
"created_at": "2025-07-12T10:23:52.188Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Leave Request Mail",
|
|
"body": "<p>Dear,</p><p>This is to inform you that {{ model_instance.employee_id }} has submitted a leave request for {{model_instance.requested_days}} days. Please take the necessary actions to review and process the request at your earliest convenience.<br><br>If you require any additional information or updates, feel free to communicate directly with {{ model_instance.employee_id }}.<br><br>Thank you for your prompt attention to this matter.</p>",
|
|
"company_id": 1
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 3,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.679Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Leave Request Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">Leave Request</h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Dear {{ model_instance.employee_id.get_reporting_manager }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n {{ model_instance.employee_id }} has submitted a leave request. Please find the details below.\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Leave Type:</strong> {{ model_instance.leave_type_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>From Date:</strong> {{ model_instance.start_date }} ({{ model_instance.get_start_date_breakdown_display }})</p>\n <p style=\"margin: 6px 0;\"><strong>To Date:</strong> {{ model_instance.end_date }} ({{ model_instance.get_end_date_breakdown_display }})</p>\n <p style=\"margin: 6px 0;\"><strong>Total Days:</strong> {{ model_instance.requested_days }}</p>\n <p style=\"margin: 6px 0;\"><strong>Description:</strong> {{ model_instance.description }}</p>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Please log in to the HRMS system to review and take necessary action on this request.\n </p>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/leave/request-view/?id={{ model_instance.id }}\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n Review Request\n </a>\n </div>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, <strong>{{ model_instance.employee_id.get_company }}</strong>\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 4,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.701Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Leave Allocation Request Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">Leave Allocation Request</h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Dear {{ model_instance.employee_id.get_reporting_manager }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n {{ model_instance.employee_id }} has submitted a leave allocation request for <strong>{{ model_instance.requested_days }} days</strong>.\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Leave Type:</strong> {{ model_instance.leave_type_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>Requested Days:</strong> {{ model_instance.requested_days }}</p>\n <p style=\"margin: 6px 0;\"><strong>Requested Date:</strong> {{ model_instance.requested_date }}</p>\n <p style=\"margin: 6px 0;\"><strong>Description:</strong> {{ model_instance.description }}</p>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Please log in to the HRMS to review and take appropriate action.\n </p>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/leave/leave-allocation-request-view/?id={{ model_instance.id }}\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n Review Request\n </a>\n </div>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, <strong>{{ model_instance.employee_id.get_company }}</strong>\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 5,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.716Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Candidate Added Template",
|
|
"body": "<p style=\"font-size: 12.8px;\">This is to inform you that {{ model_instance}} has been added to the recruitment {{model_instance.recruitment_id}}. Please take the necessary actions.</p><p style=\"font-size: 12.8px;\"><br>If you require any additional information or updates, feel free to communicate directly with {{ model_instance}}.<br><br>Thank you for your prompt attention to this matter.</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 6,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.729Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Interview Template",
|
|
"body": "<p data-start=\"234\" data-end=\"421\" class=\"\">This is to inform you that an interview has been scheduled for {{model_instance.candidate_id}} on {{model_instance.interview_date}} at {{model_instance.interview_time}}.</p><p data-start=\"234\" data-end=\"421\" class=\"\"><span style=\"font-size: 12.8px;\">Kindly take the necessary steps to prepare for or facilitate this interview as appropriate.</span></p><p data-start=\"234\" data-end=\"421\" class=\"\"><span style=\"font-size: 12.8px;\">Thank you for your prompt attention to this matter.</span></p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 7,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.741Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Add As Recruitment Manager Template",
|
|
"body": "<p data-pm-slice=\"1 1 []\">We are pleased to inform you that you have been assigned as the Recruitment Manager for {{ model_instance}}.</p><p></p><p>You may now proceed with the necessary steps to manage the recruitment process. Should you require any additional information or resources, please don't hesitate to reach out.</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 8,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.756Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Add As Stage Manager Template",
|
|
"body": "<p data-pm-slice=\"1 1 []\">We are pleased to inform you that you have been assigned as the Stage Manager for {{ model_instance}}.</p><p></p><p>You may now proceed with the necessary steps to manage the recruitment stage process. Should you require any additional information or resources, please don't hesitate to reach out.</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 9,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.769Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Offer letter Automation",
|
|
"body": "<p>Dear <b>{{instance.get_full_name}}</b>,</p><p><span style=\"font-size: 12.8px;\">We are pleased to extend to you an offer of employment for the position of<b> </b></span><b>{{instance.get_job_position}}</b><span style=\"font-size: 12.8px;\"><b> </b>at<b> </b></span><b>{{instance.get_company}}</b><span style=\"font-size: 12.8px;\">. We were very impressed by your qualifications and believe you will be a valuable addition to our team.</span></p><p><span style=\"font-size: 12.8px;\"><b>Offer Details:</b></span></p><ul><li>Position: <span style=\"font-weight: bolder;\">{{instance.get_job_position}}</span></li><li>Department: <span style=\"font-weight: 700;\">{{instance.get_job_position.department_id}}</span></li></ul><p><span style=\"font-size: 12.8px;\">Warm regards,</span></p><p>{{self.get_full_name}}<span style=\"font-size: 12.8px;\"></span></p><p>{{self.get_job_position}} | <span style=\"font-size: 12.8px;\"></span>{{self.get_company}}</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 10,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.783Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Candidate Hired Notification Automation",
|
|
"body": "<p>Candidate<b> {{instance.get_full_name}} </b>is Hired</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 11,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.795Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Application Received Template",
|
|
"body": "<p>Dear {{ instance.name }},</p>\n\n<p>Thank you for applying for the <strong>{{ instance.job_position_id }}</strong> position at \n{% if instance.recruitment_id.company_id %}\n<strong>{{ instance.recruitment_id.company_id }}</strong>.\n{% else %}\nour company.\n{% endif %}</p>\n\n<p>We have received your application and our recruitment team is currently reviewing your profile.</p>\n\n<p>If your qualifications align with our current requirements, we will contact you for the next steps in the hiring process. In the meantime, feel free to visit our portal for any updates or communication.</p>\n\n<p>We appreciate your interest in joining our team and taking the time to apply.</p>\n\n<p>Best regards,<br>\n{% if instance.recruitment_id.company_id %}\n<strong>{{ instance.recruitment_id.company_id }}</strong><br>\n{% endif %}\nRecruitment Team</p>\n\n<hr style=\"border:none;border-top:1px solid #eee;\">\n\n<p style=\"font-size:12px;color:#888;text-align:center;\">\nThis is an automated message from the HRMS system.\n</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 12,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.810Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "OKR Updated Automation",
|
|
"body": "<p>OKR has been updated</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 13,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.824Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Employee Portal Access Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n \n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">\n Access Your HRMS Portal\n </h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Hi {{ instance.get_full_name }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n You can now access the HRMS Portal using the details below:\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\">\n <strong>Portal Link:</strong> \n <a href=\"{{ request.scheme }}://{{ request.get_host }}\" target=\"_blank\" style=\"color: hsl(8, 77%, 56%); text-decoration: none;\">\n {{ request.scheme }}://{{ request.get_host }}\n </a>\n </p>\n <p style=\"margin: 6px 0;\">\n <strong>Username:</strong> \n <span style=\"color: #333; font-size: 14px;\">{{ instance.email }}</span>\n </p>\n <p style=\"margin: 6px 0;\">\n <strong>Initial Password:</strong> \n <span style=\"color: #333; font-size: 14px;\">{{ instance.phone }}</span>\n </p>\n <p style=\"margin: 10px 0; font-style: italic; background: #fff8c4; padding: 6px 10px; border-radius: 4px; display: inline-block;\">\n Please reset your password after first login.\n </p>\n </div>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, {% if instance.get_company %}<strong>{{ instance.get_company }}</strong>{% endif %}</p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 14,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.840Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Candidate Self Tracking Portal Automation",
|
|
"body": "<p>Hi {{instance.get_full_name}},</p><p>Follow the link <a href=\"{{ request.scheme }}://{{ request.get_host }}/recruitment/candidate-login\" target=\"_blank\">{{ request.scheme }}://{{ request.get_host }}/recruitment/candidate-login</a><span style=\"font-size: 12.8px;\"></span> to track you progress</p><p><b>Username/email: </b>{{instance.get_mail }}</p><p><b>Passsword/mobile: </b>{{ instance.mobile }}</p><p>{% if request.user.employee_get %}</p><p>Regards</p><p><b>{{self.get_full_name}} | {{self.get_department}} | {{self.get_company }}</b></p><p>{% endif %}</p>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 15,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.858Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Work Type Request Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">Work Type Change Request</h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Dear {{ model_instance.employee_id.get_reporting_manager }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n A new work type change request has been submitted by <strong>{{ model_instance.employee_id }}</strong>.\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Current Work Type:</strong> {{ model_instance.previous_work_type_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>Requested Work Type:</strong> {{ model_instance.work_type_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>From:</strong> {{ model_instance.requested_date }}</p>\n <p style=\"margin: 6px 0;\"><strong>Till:</strong> {{ model_instance.requested_till }}</p>\n <p style=\"margin: 6px 0;\"><strong>Description:</strong> {{ model_instance.description }}</p>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Please review and process this request from your HRMS dashboard.\n </p>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/employee/work-type-request-view/?id={{ model_instance.id }}\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n Review Request\n </a>\n </div>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, <strong>{{ model_instance.employee_id.get_company }}</strong>\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 16,
|
|
"fields": {
|
|
"created_at": "2025-07-24T07:30:08.874Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Shift Request Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">Shift Change Request</h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Dear {{ model_instance.employee_id.get_reporting_manager }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n {{ model_instance.employee_id }} has submitted a shift change request. Please find the details below.\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Previous Shift:</strong> {{ model_instance.previous_shift_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>Requested Shift:</strong> {{ model_instance.shift_id }}</p>\n <p style=\"margin: 6px 0;\"><strong>Requested From:</strong> {{ model_instance.requested_date }}</p>\n {% if model_instance.requested_till %}\n <p style=\"margin: 6px 0;\"><strong>Requested Till:</strong> {{ model_instance.requested_till }}</p>\n {% endif %}\n <p style=\"margin: 6px 0;\"><strong>Permanent Change:</strong> {% if model_instance.is_permanent_shift %}Yes{% else %}No{% endif %}</p>\n {% if model_instance.reallocate_to %}\n <p style=\"margin: 6px 0;\"><strong>Reallocate To:</strong> {{ model_instance.reallocate_to }}</p>\n {% endif %}\n {% if model_instance.description %}\n <p style=\"margin: 6px 0;\"><strong>Description:</strong> {{ model_instance.description }}</p>\n {% endif %}\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Please log in to the HRMS system to review and take necessary action on this request.\n </p>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/employee/shift-request-view/?id={{ model_instance.id }}\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n Review Request\n </a>\n </div>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, <strong>{% if model_instance.employee_id.get_company %}{{ model_instance.employee_id.get_company }}{% else %}HRMS{% endif %}</strong>\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 17,
|
|
"fields": {
|
|
"created_at": "2025-08-26T03:36:27.757Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Application Status - Not Selected",
|
|
"body": "<div style=\"font-family: 'Segoe UI', Arial, sans-serif; background-color: #f4f6f9; padding: 40px;\">\n <div style=\"max-width: 650px; margin: auto; background: #ffffff; border-radius: 16px; padding: 40px; box-shadow: 0 6px 18px rgba(0,0,0,0.1); border: 1px solid #eaeaea;\">\n\n <h1 style=\"color: #e74c3c; text-align: center; font-size: 26px; margin-bottom: 30px; font-weight: 600;\">\n Application Status Update - {{ instance.job_position_id }}\n </h1>\n\n <p style=\"font-size: 16px; color: #333; line-height: 1.8; margin-bottom: 20px;\">\n Dear <strong>{{ instance.name }}</strong>,\n </p>\n\n <p style=\"font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 20px;\">\n Thank you for applying for the\n <strong>{{ instance.job_position_id }}</strong> position at\n {% if instance.recruitment_id.company_id %}\n <strong>{{ instance.recruitment_id.company_id }}</strong>.\n {% else %}\n our company.\n {% endif %}\n </p>\n\n {% if instance.rejected_candidate.reject_reason_id %}\n <p style=\"font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 20px;\">\n After careful consideration, we regret to inform you that your application has not been successful at this time.\n </p>\n\n <div style=\"margin: 25px 0; padding: 20px; background: #fff5f5; border-left: 5px solid #e74c3c; border-radius: 8px;\">\n <p style=\"margin: 0 0 10px 0; font-size: 15px; color: #b71c1c; font-weight: 600;\">\n Reason for Rejection:\n </p>\n <ul style=\"margin: 0; padding-left: 22px; font-size: 14px; color: #333; line-height: 1.6;\">\n {% if instance.rejected_candidate.reject_reason_id.all %}\n {% for reason in instance.rejected_candidate.reject_reason_id.all %}\n <li>{{ reason }}</li>\n {% endfor %}\n {% else %}\n <li>Not specified.</li>\n {% endif %}\n </ul>\n <p style=\"margin-top: 12px; font-size: 14px; color: #555;\">\n {{ instance.rejected_candidate.description }}\n </p>\n </div>\n {% endif %}\n\n <p style=\"font-size: 15px; color: #444; line-height: 1.8; margin-top: 20px;\">\n We sincerely appreciate the time and effort you invested in your application and encourage you to apply for\n future opportunities that align with your skills and career goals.\n </p>\n\n <hr style=\"margin: 35px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 13px; color: #777; text-align: center; line-height: 1.6;\">\n Best regards,<br>\n {% if instance.recruitment_id.company_id %}\n <strong style=\"color:#333;\">{{ instance.recruitment_id.company_id }}</strong> Recruitment Team\n {% else %}\n Recruitment Team\n {% endif %}\n </p>\n\n <p style=\"font-size: 11px; color: #aaa; text-align: center; margin-top: 20px; line-height: 1.4;\">\n This is an automated email. Please do not reply directly to this message.\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 18,
|
|
"fields": {
|
|
"created_at": "2025-08-27T11:05:50.289Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Late Come Notification",
|
|
"body": "<div style=\"font-family: 'Segoe UI', Arial, sans-serif; background-color: #f4f6f9; padding: 40px;\">\n <div style=\"max-width: 650px; margin: auto; background: #ffffff; border-radius: 16px; padding: 40px; box-shadow: 0 6px 18px rgba(0,0,0,0.1); border: 1px solid #eaeaea;\">\n \n <!-- HEADER -->\n <h1 style=\"color: #e74c3c; text-align: center; font-size: 26px; margin-bottom: 30px; font-weight: 600;\">\n Attendance Notification {{ model_instance.get_type_display }}\n </h1>\n\n <!-- GREETING -->\n <p style=\"font-size: 16px; color: #333; line-height: 1.8; margin-bottom: 20px;\">\n Dear <strong>{{ model_instance.employee_id }}</strong>,\n </p>\n\n <!-- MESSAGE -->\n <p style=\"font-size: 15px; color: #444; line-height: 1.8; margin-bottom: 20px;\">\n This is to inform you that on <strong>{{ model_instance.attendance_id.attendance_date }}</strong>, \n your attendance record shows a <strong>{{ model_instance.get_type_display }}</strong>.\n </p>\n\n <!-- DETAILS BOX -->\n <div style=\"margin: 25px 0; padding: 20px; background: #fff5f5; border-left: 5px solid #e74c3c; border-radius: 8px;\">\n <p style=\"margin: 0 0 10px 0; font-size: 15px; color: #b71c1c; font-weight: 600;\">\n Attendance Details:\n </p>\n <ul style=\"margin: 0; padding-left: 22px; font-size: 14px; color: #333; line-height: 1.6;\">\n <li><strong>Date:</strong> {{ model_instance.attendance_id.attendance_date }}</li>\n <li><strong>Check-In:</strong> {{ model_instance.attendance_id.attendance_clock_in }}</li>\n <li><strong>Check-Out:</strong> {{ model_instance.attendance_id.attendance_clock_out }}</li>\n <li><strong>Shift:</strong> {{ model_instance.attendance_id.shift_id }}</li>\n <li><strong>Work Type:</strong> {{ model_instance.attendance_id.work_type_id }}</li>\n </ul>\n </div>\n\n <!-- MANAGER INFO -->\n <p style=\"font-size: 15px; color: #444; line-height: 1.8; margin-top: 20px;\">\n If there are any genuine reasons for the delay, please ensure you inform your reporting manager in advance.\n </p>\n \n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/attendance/late-come-early-out-view/?employee_id={{ model_instance.employee_id.id }}&attendance_date={{ model_instance.attendance_id.attendance_date }}\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n View Attendance\n </a>\n </div>\n\n <!-- FOOTER -->\n <hr style=\"margin: 35px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 13px; color: #777; text-align: center; line-height: 1.6;\">\n Regards,<br>\n HR Department \n {% if model_instance.employee_id.employee_work_info.company_id %}\n <br><strong>{{ model_instance.employee_id.employee_work_info.company_id }}</strong>\n {% endif %}\n </p>\n\n <p style=\"font-size: 11px; color: #aaa; text-align: center; margin-top: 20px; line-height: 1.4;\">\n This is an automated message from the HRMS system. Please do not reply directly to this email.\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 19,
|
|
"fields": {
|
|
"created_at": "2025-09-11T08:42:00.946Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Ticket Mail Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">\n New Ticket Created\n </h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Hi {{ model_instance.employee_id.get_full_name }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n A new ticket has been created in the system with the following details:\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Title:</strong> {{ model_instance.title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Type:</strong> {{ model_instance.ticket_type.title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Priority:</strong> {{ model_instance.priority|title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Status:</strong> {{ model_instance.status|title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Deadline:</strong> {{ model_instance.deadline|default:\"N/A\" }}</p>\n </div>\n\n <h3 style=\"font-size: 16px; color: #000; margin-top: 25px;\">Description</h3>\n <div style=\"margin: 15px 0; padding: 15px; background: #fafafa; border: 1px solid #eee; border-radius: 6px;\">\n {{ model_instance.description|safe }}\n </div>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/helpdesk/ticket-detail/{{ model_instance.id }}/\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n View Ticket\n </a>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6; margin-top: 20px;\">\n You can log in to the HRMS portal to track the ticket and provide updates.\n </p>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, {% if model_instance.employee_id.get_company %}\n <strong>{{ model_instance.employee_id.get_company }}</strong>{% endif %}\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 20,
|
|
"fields": {
|
|
"created_at": "2025-09-11T06:35:00.562Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Ticket Comment Mail Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">\n New Comment on Your Ticket\n </h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Hi {{ model_instance.ticket.employee_id.get_full_name }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n A new comment has been added to your ticket <strong>\"{{ model_instance.ticket.title }}\"</strong>.\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\">\n <strong>Commented By:</strong>\n <span style=\"color: #333;\">{{ model_instance.employee_id.get_full_name }}</span>\n </p>\n <p style=\"margin: 6px 0;\">\n <strong>Comment:</strong>\n <span style=\"color: #333;\">{{ model_instance.comment|safe }}</span>\n </p>\n <p style=\"margin: 6px 0;\">\n <strong>Date:</strong>\n <span style=\"color: #333;\">{{ model_instance.date }}</span>\n </p>\n </div>\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/helpdesk/ticket-detail/{{ model_instance.ticket.id }}/\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n View Comment\n </a>\n </div>\n\n <h3 style=\"font-size: 16px; color: #000; margin-top: 25px;\">Ticket Details</h3>\n <div style=\"margin: 15px 0; padding: 15px; background: #fafafa; border: 1px solid #eee; border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Type:</strong> {{ model_instance.ticket.ticket_type.title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Priority:</strong> {{ model_instance.ticket.priority|title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Status:</strong> {{ model_instance.ticket.status|title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Raised On:</strong> {{ model_instance.ticket.get_raised_on }}</p>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6; margin-top: 20px;\">\n Please log in to the HRMS portal to view more details and respond if necessary.\n </p>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the HRMS system.<br>\n Regards, {% if model_instance.ticket.employee_id.get_company %}\n <strong>{{ model_instance.ticket.employee_id.get_company }}</strong>{% endif %}\n </p>\n </div>\n</div>",
|
|
"company_id": null
|
|
}
|
|
},
|
|
{
|
|
"model": "base.horillamailtemplate",
|
|
"pk": 21,
|
|
"fields": {
|
|
"created_at": "2025-09-25T10:02:50.259Z",
|
|
"created_by": 1,
|
|
"modified_by": 1,
|
|
"is_active": false,
|
|
"title": "Reimbursement Mail Template",
|
|
"body": "<div style=\"font-family: 'Segoe UI', sans-serif; background-color: #f9f9f9; padding: 30px;\">\n <div style=\"max-width: 600px; margin: auto; background: white; border-radius: 12px; padding: 30px; box-shadow: 0 4px 12px rgba(0,0,0,0.08);\">\n\n <h2 style=\"color: #000000; text-align: center; font-size: 22px; margin-bottom: 25px;\">\n Reimbursement Approved\n </h2>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Hi {{ model_instance.employee_id.get_full_name }},\n </p>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6;\">\n Your reimbursement request has been <strong style=\"color: hsl(8, 77%, 56%);\">approved</strong>. \n Please find the details below:\n </p>\n\n <div style=\"margin: 20px 0; padding: 15px; background: #f4f4f4; border-left: 4px solid hsl(8, 77%, 56%); border-radius: 6px;\">\n <p style=\"margin: 6px 0;\"><strong>Title:</strong> {{ model_instance.title }}</p>\n <p style=\"margin: 6px 0;\"><strong>Type:</strong> {{ model_instance.get_type_display }}</p>\n <p style=\"margin: 6px 0;\"><strong>Amount:</strong> {{ model_instance.amount }}</p>\n <p style=\"margin: 6px 0;\"><strong>Status:</strong> {{ model_instance.get_status_display }}</p>\n <p style=\"margin: 6px 0;\"><strong>Allowance On:</strong> {{ model_instance.allowance_on }}</p>\n {% if model_instance.approved_by %}\n <p style=\"margin: 6px 0;\"><strong>Approved By:</strong> {{ model_instance.approved_by.get_full_name }}</p>\n {% endif %}\n </div>\n\n <h3 style=\"font-size: 16px; color: #000; margin-top: 25px;\">Description</h3>\n <div style=\"margin: 15px 0; padding: 15px; background: #fafafa; border: 1px solid #eee; border-radius: 6px;\">\n {{ model_instance.description|default:\"No description provided.\"|safe }}\n </div>\n\n <div style=\"text-align: center; margin-top: 25px;\">\n <a href=\"{{ request.scheme }}://{{ request.get_host }}/payroll/view-reimbursement/?status=approved\" style=\"display: inline-block; padding: 10px 20px; background-color: hsl(8, 77%, 56%); color: white; text-decoration: none; border-radius: 6px; font-weight: 500;\">\n View Reimbursement\n </a>\n </div>\n\n <p style=\"font-size: 14px; color: #333; line-height: 1.6; margin-top: 20px;\">\n You can log in to the HRMS portal to track the reimbursement and download related documents.\n </p>\n\n <hr style=\"margin: 30px 0; border: none; border-top: 1px solid #eee;\">\n\n <p style=\"font-size: 12px; color: #888; text-align: center; line-height: 1.5;\">\n This is an automated message from the Horilla HRMS system.<br>\n Regards, {% if model_instance.employee_id.get_company %}\n <strong>{{ model_instance.employee_id.get_company }}</strong>{% endif %}\n </p>\n </div>\n</div>",
|
|
"company_id": 1
|
|
}
|
|
}
|
|
]
|