Update templates, update send mail method - refs BT#9092

1.10.x
Daniel Barreto 11 years ago
parent 01bea2856b
commit 484a6fed23
  1. 10
      plugin/advancedsubscription/config.php
  2. 246
      plugin/advancedsubscription/src/AdvancedSubscriptionPlugin.class.php
  3. 22
      plugin/advancedsubscription/src/index.php
  4. 10
      plugin/advancedsubscription/test.php
  5. 85
      plugin/advancedsubscription/views/advsub_approval_admin_accepted_notice_admin.tpl
  6. 85
      plugin/advancedsubscription/views/advsub_approval_admin_accepted_notice_student.tpl
  7. 85
      plugin/advancedsubscription/views/advsub_approval_admin_accepted_notice_superior.tpl
  8. 85
      plugin/advancedsubscription/views/advsub_approval_admin_rejected_notice_admin.tpl
  9. 85
      plugin/advancedsubscription/views/advsub_approval_admin_rejected_notice_student.tpl
  10. 85
      plugin/advancedsubscription/views/advsub_approval_admin_rejected_notice_superior.tpl
  11. 85
      plugin/advancedsubscription/views/advsub_request_approve_confirmed.tpl
  12. 85
      plugin/advancedsubscription/views/advsub_request_approved_info_admin.tpl
  13. 85
      plugin/advancedsubscription/views/advsub_request_approved_reminder.tpl
  14. 85
      plugin/advancedsubscription/views/advsub_request_disapprove_confirmed.tpl
  15. 86
      plugin/advancedsubscription/views/advsub_request_received.tpl
  16. 86
      plugin/advancedsubscription/views/advsub_request_received_reminder.tpl
  17. 94
      plugin/advancedsubscription/views/advsub_request_superior.tpl
  18. 85
      plugin/advancedsubscription/views/advsub_request_superior_approved.tpl
  19. 85
      plugin/advancedsubscription/views/advsub_request_superior_disapproved.tpl
  20. 100
      plugin/advancedsubscription/views/advsub_request_superior_reminder.tpl
  21. 101
      plugin/advancedsubscription/views/advsub_request_superior_reminder_max.tpl
  22. BIN
      plugin/advancedsubscription/views/img/aprobar.png
  23. BIN
      plugin/advancedsubscription/views/img/avatar.png
  24. BIN
      plugin/advancedsubscription/views/img/desaprobar.png
  25. BIN
      plugin/advancedsubscription/views/img/footer.png
  26. BIN
      plugin/advancedsubscription/views/img/header.png
  27. BIN
      plugin/advancedsubscription/views/img/line.png
  28. BIN
      plugin/advancedsubscription/views/img/logo-minedu.png

@ -18,14 +18,22 @@ define('ADV_SUB_ACTION_SUPERIOR_SELECT', 3);
define('ADV_SUB_ACTION_ADMIN_APPROVE', 4);
define('ADV_SUB_ACTION_ADMIN_DISAPPROVE', 5);
define('ADV_SUB_QUEUE_STATUS_START', 0);
define('ADV_SUB_QUEUE_STATUS_BOSS_DISAPPROVED', 1);
define('ADV_SUB_QUEUE_STATUS_BOSS_APPROVED', 2);
define('ADV_SUB_QUEUE_STATUS_ADMIN_DISAPPROVED', 3);
define('ADV_SUB_QUEUE_STATUS_ADMIN_APPROVED', 10);
define('ADV_SUB_MAIL_TYPE_A', 1);
define('ADV_SUB_MAIL_TYPE_B', 2);
define('ADV_SUB_MAIL_TYPE_C', 3);
define('ADV_SUB_MAIL_STATUS_MAIL_SENT', 1);
define('ADV_SUB_MAIL_STATUS_MAIL_ANSWERED', 2);
define('ADV_SUB_MAIL_STATUS_MAIL_EXPIRED', 3);
require_once __DIR__ . '/../../main/inc/global.inc.php';
require_once api_get_path(LIBRARY_PATH) . 'plugin.class.php';
require_once __DIR__ . '/resources/phpcrypt/phpCrypt.php';
require_once api_get_path(LIBRARY_PATH) . 'plugin.class.php';
require_once api_get_path(PLUGIN_PATH) . 'advancedsubscription/src/AdvancedSubscriptionPlugin.class.php';

@ -81,6 +81,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
"session_id int UNSIGNED NOT NULL, " .
"user_id int UNSIGNED NOT NULL, " .
"status int UNSIGNED NOT NULL, " .
"last_message_id UNSIGNED NOT NULL, " .
"created_at datetime NOT NULL, " .
"updated_at datetime NULL, " .
"PRIMARY KEY PK_tour_log (id)); ";
@ -223,8 +224,65 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
}
/**
* Register a message type
* @param $description
* @return bool|int
*/
public function addMessageType($description)
{
$pAdvSubMessageTable = Database::get_main_table(TABLE_ADV_SUB_MAIL_TYPE);
$attributes = array(
'description' => $description,
);
$id = Database::insert($pAdvSubMessageTable, $attributes);
return $id;
}
/**
* Register a message status
* @param $description
* @return bool|int
*/
public function addMessageStatus($description)
{
$pAdvSubMessageTable = Database::get_main_table(TABLE_ADV_SUB_MAIL_STATUS);
$attributes = array(
'description' => $description,
);
$id = Database::insert($pAdvSubMessageTable, $attributes);
return $id;
}
/**
* Register message with type and status
* @param $mailId
* @param $mailTypeId
* @param $mailStatusId
* @return bool|int
*/
public function addMessage($mailId, $mailTypeId, $mailStatusId)
{
$pAdvSubMessageTable = Database::get_main_table(TABLE_ADV_SUB_MAIL);
$attributes = array(
'message_id' => $mailId,
'mail_type_id' => $mailTypeId,
'mail_status_id' => $mailStatusId,
);
$id = Database::insert($pAdvSubMessageTable, $attributes);
return $id;
}
/**
* Check for requirements and register user into queue
* @param $userId
* @param $sessionId
* @param $params
* @return bool|string
*/
public function startSubscription($userId, $sessionId, $params)
@ -248,6 +306,31 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
return $result;
}
public function sendMailMessage($studentId, $subject, $content, $type = '')
{
global $_configuration; // @TODO: Add $_configuration['no_reply_user_id'] to configuration file
$mailId = MessageManager::send_message(
$studentId,
$subject,
$content,
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
);
if (!empty($mailId)) {
// Save as sent message
$mailId = $this->addMessage($mailId, $type, ADV_SUB_MAIL_STATUS_MAIL_SENT);
}
return $mailId;
}
/**
* Check if session is open for subscription
* @param $sessionId
@ -294,7 +377,7 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
);
}
if (isset($where)) {
$res = Database::update(
$res = (bool) Database::update(
Database::get_main_table(TABLE_ADV_SUB_QUEUE),
array(
'unsigned' => $newStatus,
@ -309,13 +392,14 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
}
/**
* @param $userId
* @param $relationType
* Render and send mail by defined advanced subscription action
* @param $data
* @param $actionType
* @return array
*/
public function sendMail($data, $actionType)
{
global $_configuration; // @TODO: Add $_configuration['no_reply_user_id'] to configuration file
$tpl= new Template($this->get_lang('plugin_title'));
$tpl = new Template($this->get_lang('plugin_title'));
$tpl->assign('data', $data);
$tplParams = array('user', 'student', 'students','superior', 'admin', 'session', 'signature', '_p', );
foreach ($tplParams as $tplParam) {
@ -326,214 +410,126 @@ class AdvancedSubscriptionPlugin extends Plugin implements HookPluginInterface
switch ($actionType) {
case ADV_SUB_ACTION_STUDENT_REQUEST:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_received.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
break;
case ADV_SUB_ACTION_SUPERIOR_APPROVE:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior_approved.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approve_confirmed.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
// Mail to admin
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['admin']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_approved_info_admin.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_C
);
break;
case ADV_SUB_ACTION_SUPERIOR_DISAPPROVE:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior_disapproved.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_disapprove_confirmed.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
break;
case ADV_SUB_ACTION_SUPERIOR_SELECT:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_received.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_request_superior.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
break;
case ADV_SUB_ACTION_ADMIN_APPROVE:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_student.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_superior.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
// Mail to admin
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['admin']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_accepted_notice_admin.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_C
);
break;
case ADV_SUB_ACTION_ADMIN_DISAPPROVE:
// Mail to student
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['student']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_student.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_A
);
// Mail to superior
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['superior']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_superior.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_B
);
// Mail to admin
MessageManager::send_message(
$mailIds[] = $this->sendMailMessage(
$data['admin']['id'],
$this->get_lang('MailStudentRequest'),
$tpl->fetch('/advancedsubscription/views/advsub_approval_admin_rejected_notice_admin.tpl'),
null,
null,
null,
null,
null,
null,
$_configuration['no_reply_user_id']
ADV_SUB_MAIL_TYPE_C
);
break;
default:
break;
}
return $mailIds;
}
/**

@ -36,30 +36,28 @@ if (isset($data)) {
} elseif ($data['action']) {
switch($data['action']) {
case ADV_SUB_ACTION_STUDENT_REQUEST:
$plugin->startSubscription($data['user']['id'], $data['session']['id'], $data);
$plugin->sendMail($data, $data['action']);
$res = $plugin->startSubscription($data['user']['id'], $data['session']['id'], $data);
break;
case ADV_SUB_ACTION_SUPERIOR_APPROVE:
$plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_APPROVED);
$plugin->sendMail($data, $data['action']);
$res = $plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_APPROVED);
break;
case ADV_SUB_ACTION_SUPERIOR_DISAPPROVE:
$plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_DISAPPROVED);
$plugin->sendMail($data, $data['action']);
$res = $plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_DISAPPROVED);
break;
case ADV_SUB_ACTION_SUPERIOR_SELECT:
$plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_APPROVED);
$plugin->sendMail($data, $data['action']);
$res = $plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_APPROVED);
break;
case ADV_SUB_ACTION_ADMIN_APPROVE:
$plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_ADMIN_APPROVED);
$plugin->sendMail($data, $data['action']);
$res = $plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_ADMIN_APPROVED);
break;
case ADV_SUB_ACTION_ADMIN_DISAPPROVE:
$plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_DISAPPROVED);
$plugin->sendMail($data, $data['action']);
$res = $plugin->updateQueueStatus($data, ADV_SUB_QUEUE_STATUS_BOSS_DISAPPROVED);
break;
}
if ($res === true) {
$plugin->sendMail($data, $data['action']);
}
}
}
}

@ -3,6 +3,7 @@
require_once '/var/www/chamilo-lms/main/inc/global.inc.php';
require_once __DIR__ . '/config.php';
/*
MessageManager::send_message(
18,
get_lang('MailStudentRequest'),
@ -15,9 +16,12 @@ MessageManager::send_message(
null,
17
);
*/
//api_mail_html('RECIPIENT', '9leinad0@gmail.com', 'TEST!', 'ESTOY TESTEANDO D:!', 'Dan', 'dbarreto@kabuto.com');
/*
$advSub = AdvancedSubscriptionPlugin::create();
$advSub->install();
*/
$tpl = new Template('Hi');
$body = $tpl->fetch('/advancedsubscription/views/advsub_request_received.tpl');
$advSub->sendMailMessage(18, 'TEST', $body);

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: Validación de inscripción recibida </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ admin.name }}</h2>
<p>Hemos recibido y registrado su validación de la inscripción de <strong>{{ student.name }} ({{ student.official_code }})</strong> al curso <strong>{{ session.title }}</strong></p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Aprobada: su inscripción al curso {{ session.title }} fue confirmada! </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ student.name }}</h2>
<p>Nos complace informarle que su inscripción al curso <strong>{{ session.title }}</strong> iniciando el <strong>{{ session.start_date }}</strong> fue validada por los administradores rechazada por falta de cupos. Esperamos mantenga todo su ánimo y participe en otro curso o, en otra oportunidad, a este mismo curso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: Validación de inscripción de {{ student.name }} al curso {{ session.title }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ superior.name }}</h2>
<p>La inscripción de <strong>{{ student.name }}</strong> al curso <strong>{{ session.title }}</strong> iniciando el <strong>{{ session.start_date }}</strong>, que estaba pendiente de validación por los organizadores del curso, fue validada hacen unos minutos. Esperamos nos ayude en asegurar la completa disponibilidad de su colaborador(a) para la duración completa del curso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: rechazo de inscripción recibido </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ admin.name }}</h2>
<p>Hemos recibido y registrado su rechazo de la inscripción de <strong>{{ student.name }} ({{ student.official_code }})</strong> al curso <strong>{{ session.title }}</strong></p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Rechazamos su inscripción al curso {{ session.title }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ student.name }}</h2>
<p>Lamentamos informarle que su inscripción al curso <strong>{{ session.title }}</strong> iniciando el <strong>{{ session.start_date }}</strong> fue rechazada por falta de cupos. Esperamos mantenga todo su ánimo y participe en otro curso o, en otra oportunidad, a este mismo curso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: Rechazo de inscripción de {{ student.name }} al curso {{ session.title }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ admin.name }}</h2>
<p>La inscripción de <strong>{{ student.name }}</strong> al curso <strong>{{ session.title }}</strong>, que había aprobado anteriormente, fue rechazada por falta de cupos. Les presentamos nuestras disculpas sinceras.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Confirmación: Aprobación recibida para {{ student.name }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ student.name }}</h2>
<p>Lamentamos informarle que, en esta oportunidad, su inscripción al curso <strong>{{ session.title }}</strong> NO ha sido aprobada. Esperamos mantenga todo su ánimo y participe en otro curso o, en otra oportunidad, a este mismo curso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Aprobación de {{ student.name }} al curso {{ session.title }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ admin.name }}</h2>
<p>La inscripción del alumno <strong>{{ student.name }}</strong> (<strong>{{ student.offical_code }}</strong>) al curso <strong>{{ session.title }}</strong> ha sido aprobada por su superior. Puede gestionar las inscripciones al curso <a href="#"><strong>aquí</strong></a><strong></strong></p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Inscripciones a {{ session.title }} pendiente de confirmación</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ admin.name }}</h2>
<p>Las inscripciones siguientes al curso {{ session.title }} están pendientes de validación para ser efectivas. Por favor, dirigese al la <a href="#">página de administración</a> para validarlos.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Confirmación: Desaprobación recibida para {{ student.name }} </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ superior.name }}</h2>
<p>Hemos recibido y registrado su decisión de desaprobar el curso <strong>{{ session.title }}</strong> para su colaborador <strong>{{ student.name }}</strong></p>
<p>Gracias por su colaboración</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,87 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Solicitud recibida para el curso {{ sesion.title }}</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ user.name }}</h2>
<p>Hemos recibido y registrado su solicitud de inscripción al curso <strong>{{ sesion.title }}</strong> para iniciarse el <strong>{{ session.start_date }}</strong>.</p>
<p>Su inscripción es pendiente primero de la aprobación de su superior, y luego de la disponibilidad de cupos. Un correo ha sido enviado a su superior para revisión y aprobación de su solicitud.</p>
<p>Gracias.</p>
<p><strong>Equipo Forge</strong></p></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,87 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: Solicitud pendiente de aprobación para el curso {{ session.title }}</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ user.name }}</h2>
<p>Este correo es para confirmar que hemos recibido y registrado su solicitud de inscripción al curso <strong>{{ session.title }}</strong>, por iniciarse el <strong>{{ session.start_date }}</strong>. </p>
<p>Su inscripción todavía no ha sido aprobada por su superior, por lo que hemos vuelto a enviarle un correo electrónico de recordatorio.</p>
<p>Gracias por su paciencia.</p>
<p><strong>Equipo Forge</strong></p></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,95 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Solicitud de consideración de curso para un colaborador</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ superior.name }}</h2>
<p>Hemos recibido una solicitud de inscripción de <strong>{{ student.name }}</strong> al curso <strong>{{ session.title }}</strong>, por iniciarse el <strong>{{ session.start_date }}</strong>. Detalles del curso: <strong>{{ sesion.description }}</strong>. </p>
<p>Le invitamos a aprobar o desarprobar esta inscripción, dando clic en el botón correspondiente a continuación.</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
<tr>
<td width="58" valign="middle"><img src="img/avatar.png" width="50" height="50" alt=""></td>
<td width="211" valign="middle"><h4>{{ student.name }}</h4></td>
<td width="90" valign="middle"><a href="#"><img src="img/aprobar.png" width="90" height="25" alt=""></a></td>
<td width="243" valign="middle"><a href="#"><img src="img/desaprobar.png" width="90" height="25" alt=""></a></td>
</tr>
</table>
<p>Gracias.</p>
<p><strong>Equipo Forge</strong></p></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Aprobado: Su inscripción al curso {{ session.title }} ha sido aprobada por su superior </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ student.name }}</h2>
<p>Nos complace informarle que su inscripción al curso <strong>{{ session.title }}</strong> ha sido aprobada por su superior. Su inscripción ahora solo se encuentra pendiente de disponibilidad de cupos. Le avisaremos tan pronto como se confirme este último paso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,86 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Información: Su inscripción al curso {{ session.title }} ha sido rechazada </td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ student.name }}</h2>
<p>Lamentamos informarle que, en esta oportunidad, su inscripción al curso <strong>{{ session.title }}</strong> NO ha sido aprobada. Esperamos mantenga todo su ánimo y participe en otro curso o, en otra oportunidad, a este mismo curso.</p>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -1 +1,101 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Solicitud de consideración de curso para un colaborador</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ superior.name }}</h2>
<p>Le recordamos que hemos recibido las siguientes solicitudes de suscripción<strong> </strong>al curso <strong>{{ session.title }}</strong> de parte de sus colaboradores. El curso se iniciará el <strong>{{ session.start_date }}</strong>. Detalles del curso: <strong>{{ sesion.description }}</strong>. </p>
<p>Le invitamos a aprobar o desarprobar las suscripciones, dando clic en el botón correspondiente a continuación para cada colaborador.</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
<tr>
<td valign="middle"><img src="img/avatar.png" width="50" height="50" alt=""></td>
<td valign="middle"><h4>{{ student.name }}</h4></td>
<td valign="middle"><a href="#"><img src="img/aprobar.png" width="90" height="25" alt=""></a></td>
<td valign="middle"><a href="#"><img src="img/desaprobar.png" width="90" height="25" alt=""></a></td>
</tr>
<tr>
<td width="58" valign="middle"><img src="img/avatar.png" width="50" height="50" alt=""></td>
<td width="211" valign="middle"><h4>{{ student.name }}</h4></td>
<td width="90" valign="middle"><a href="#"><img src="img/aprobar.png" width="90" height="25" alt=""></a></td>
<td width="243" valign="middle"><a href="#"><img src="img/desaprobar.png" width="90" height="25" alt=""></a></td>
</tr>
</table>
<p>Gracias.</p>
<p><strong>Equipo Forge</strong></p></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,101 @@
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Solicitud recibida para el curso {{ session.title }}</title>
<style type="text/css">
.titulo {
color: #93c5cd;
font-family: "Times New Roman", Times, serif;
font-size: 24px;
font-weight: bold;
border-bottom-width: 2px;
border-bottom-style: solid;
border-bottom-color: #93c5cd;
}
</style>
</head>
<body>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="img/header.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td valign="top"><table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="50">&nbsp;</td>
<td width="394"><img src="img/logo-minedu.png" width="230" height="60" alt="Ministerio de Educación"></td>
<td width="50">&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td style="color: #93c5cd; font-family: Times New Roman, Times, serif; font-size: 24px; font-weight: bold; border-bottom-width: 2px; border-bottom-style: solid; border-bottom-color: #93c5cd;">Recordatorio: Solicitud de consideración de curso para colaborador(es)</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td height="356">&nbsp;</td>
<td valign="top"><p>Estimado:</p>
<h2>{{ superior.name }}</h2>
<p>Le recordamos que hemos recibido las siguientes solicitudes de suscripción<strong> </strong>al curso <strong>{{ session.title }}</strong> de parte de sus colaboradores. El curso se iniciará el <strong>{{ session.start_date }}</strong>. Detalles del curso: <strong>{{ sesion.description }}</strong>. </p>
<p>Este curso tiene una cantidad de cupos limitados y ha recibido una alta tasa de solicitudes de inscripción, por lo que recomendamos que cada área apruebe un máximo de <strong>{{ session.recommended_subscription_limit }}</strong> candidatos. Le invitamos a aprobar o desaprobar las suscripciones, dando clic en el botón correspondiente a continuación para cada colaborador.</p>
<table width="100%" border="0" cellspacing="3" cellpadding="4" style="background:#EDE9EA">
<tr>
<td valign="middle"><img src="img/avatar.png" width="50" height="50" alt=""></td>
<td valign="middle"><h4>{{ student.name }}</h4></td>
<td valign="middle"><a href="#"><img src="img/aprobar.png" width="90" height="25" alt=""></a></td>
<td valign="middle"><a href="#"><img src="img/desaprobar.png" width="90" height="25" alt=""></a></td>
</tr>
<tr>
<td width="58" valign="middle"><img src="img/avatar.png" width="50" height="50" alt=""></td>
<td width="211" valign="middle"><h4>{{ student.name }}</h4></td>
<td width="90" valign="middle"><a href="#"><img src="img/aprobar.png" width="90" height="25" alt=""></a></td>
<td width="243" valign="middle"><a href="#"><img src="img/desaprobar.png" width="90" height="25" alt=""></a></td>
</tr>
</table>
<p>Gracias.</p>
<h3>{{ signature }}</h3></td>
<td>&nbsp;</td>
</tr>
<tr>
<td width="50">&nbsp;</td>
<td>&nbsp;</td>
<td width="50">&nbsp;</td>
</tr>
</table></td>
</tr>
<tr>
<td><img src="img/line.png" width="700" height="25" alt=""></td>
</tr>
<tr>
<td><img src="img/footer.png" width="700" height="20" alt=""></td>
</tr>
<tr>
<td>&nbsp;</td>
</tr>
</table>
</body>
</html>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 270 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 267 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 283 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.2 KiB

Loading…
Cancel
Save