diff --git a/load_data/mail_automations.json b/load_data/mail_automations.json index acfbea201..90f4c4b22 100644 --- a/load_data/mail_automations.json +++ b/load_data/mail_automations.json @@ -358,5 +358,29 @@ "also_sent_to": [], "template_attachments": [] } + }, + { + "model": "horilla_automations.mailautomation", + "pk": 16, + "fields": { + "created_at": "2025-08-27T10:07:04.721Z", + "created_by": 1, + "modified_by": 1, + "is_active": true, + "title": "Late Come Notification {{ instance.employee_id }}", + "method_title": "attendancelatecomeearlyout", + "model": "attendance.models.AttendanceLateComeEarlyOut", + "mail_to": "['attendance_id__employee_id__get_email', 'attendance_id__employee_id__employee_work_info__reporting_manager_id__get_email']", + "mail_details": "attendance_id__employee_id__pk", + "mail_detail_choice": "", + "trigger": "on_create", + "mail_template": 18, + "delivery_channel": "email", + "condition_html": "\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
C1\r\n \r\n Type\r\n ==\r\n Late Come\r\n And\r\n \r\n
\r\n \r\n \r\n
\r\n
", + "condition_querystring": "automation_multiple_condition=automation_multiple_type&condition=%3D%3D&automation_multiple_condition=late_come&logic=and", + "condition": "
\r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n \r\n
CodeFieldConditionValueLogic\r\n Action \r\n \r\n \r\n \r\n
\r\n
\r\n ", + "also_sent_to": [], + "template_attachments": [] + } } ] diff --git a/load_data/mail_templates.json b/load_data/mail_templates.json index 00d32d401..c4044a4da 100644 --- a/load_data/mail_templates.json +++ b/load_data/mail_templates.json @@ -219,5 +219,18 @@ "body": "
\n
\n\n

\n Application Status Update - {{ instance.job_position_id }}\n

\n\n

\n Dear {{ instance.name }},\n

\n\n

\n Thank you for applying for the\n {{ instance.job_position_id }} position at\n {% if instance.recruitment_id.company_id %}\n {{ instance.recruitment_id.company_id }}.\n {% else %}\n our company.\n {% endif %}\n

\n\n {% if instance.rejected_candidate.reject_reason_id %}\n

\n After careful consideration, we regret to inform you that your application has not been successful at this time.\n

\n\n
\n

\n Reason for Rejection:\n

\n
    \n {% if instance.rejected_candidate.reject_reason_id.all %}\n {% for reason in instance.rejected_candidate.reject_reason_id.all %}\n
  • {{ reason }}
  • \n {% endfor %}\n {% else %}\n
  • Not specified.
  • \n {% endif %}\n
\n

\n {{ instance.rejected_candidate.description }}\n

\n
\n {% endif %}\n\n

\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

\n\n
\n\n

\n Best regards,
\n {% if instance.recruitment_id.company_id %}\n {{ instance.recruitment_id.company_id }} Recruitment Team\n {% else %}\n Recruitment Team\n {% endif %}\n

\n\n

\n This is an automated email. Please do not reply directly to this message.\n

\n
\n
", "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": "
\n
\n \n \n

\n Attendance Notification {{ model_instance.get_type_display }}\n

\n\n \n

\n Dear {{ model_instance.employee_id }},\n

\n\n \n

\n This is to inform you that on {{ model_instance.attendance_id.attendance_date }}, \n your attendance record shows a {{ model_instance.get_type_display }}.\n

\n\n \n
\n

\n Attendance Details:\n

\n
    \n
  • Date: {{ model_instance.attendance_id.attendance_date }}
  • \n
  • Check-In: {{ model_instance.attendance_id.attendance_clock_in }}
  • \n
  • Check-Out: {{ model_instance.attendance_id.attendance_clock_out }}
  • \n
  • Shift: {{ model_instance.attendance_id.shift_id }}
  • \n
  • Work Type: {{ model_instance.attendance_id.work_type_id }}
  • \n
\n
\n\n \n

\n If there are any genuine reasons for the delay, please ensure you inform your reporting manager in advance.\n

\n \n
\n \n View Attendance\n \n
\n\n \n
\n\n

\n Regards,
\n HR Department \n {% if model_instance.employee_id.employee_work_info.company_id %}\n
{{ model_instance.employee_id.employee_work_info.company_id }}\n {% endif %}\n

\n\n

\n This is an automated message from the HRMS system. Please do not reply directly to this email.\n

\n
\n
", + "company_id": 1 + } } ]