Feat: Mailing system
This commit is contained in:
85
resources/views/emails/missing-proofs.blade.php
Normal file
85
resources/views/emails/missing-proofs.blade.php
Normal file
@@ -0,0 +1,85 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>Missing Proofs Notification</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
}
|
||||
.container {
|
||||
max-width: 800px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
}
|
||||
h1 {
|
||||
color: #0056b3;
|
||||
}
|
||||
table {
|
||||
width: 100%;
|
||||
border-collapse: collapse;
|
||||
margin-top: 20px;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
th, td {
|
||||
border: 1px solid #ddd;
|
||||
padding: 8px;
|
||||
text-align: left;
|
||||
}
|
||||
th {
|
||||
background-color: #f2f2f2;
|
||||
}
|
||||
tr:nth-child(even) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
.footer {
|
||||
margin-top: 30px;
|
||||
font-size: 0.9em;
|
||||
color: #666;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Missing Proofs Notification</h1>
|
||||
|
||||
<p>Dear {{ $faculty->name }},</p>
|
||||
|
||||
<p>Our records indicate that you have missing proofs for the following entries. Please submit the required proofs at your earliest convenience:</p>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Type</th>
|
||||
<th>Name/Title</th>
|
||||
<th>Details</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach ($items as $item)
|
||||
<tr>
|
||||
<td>{{ $item['type'] }}</td>
|
||||
<td>{{ $item['primary_name'] }}</td>
|
||||
<td>
|
||||
<ul style="margin: 0; padding-left: 20px;">
|
||||
@foreach ($item['details'] as $key => $value)
|
||||
<li><strong>{{ $key }}:</strong> {{ $value }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<p>Please log in to the faculty portal to upload the missing proofs. If you have any questions or need assistance, please contact the administrative office.</p>
|
||||
|
||||
<p>Thank you for your prompt attention to this matter.</p>
|
||||
|
||||
<div class="footer">
|
||||
<p>This is an automated email. Please do not reply to this message.</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user