Files
ERP-upgrade/resources/views/emails/reports/submitted.blade.php
2026-09-08 08:01:08 +00:00

104 lines
3.0 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Daily Report Submitted</title>
<style>
body {
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
line-height: 1.6;
color: #333333;
background-color: #f4f7f6;
margin: 0;
padding: 20px;
}
.email-wrapper {
max-width: 600px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}
.email-header {
background-color: #5c4df0;
color: #ffffff;
padding: 20px;
text-align: center;
}
.email-header h2 {
margin: 0;
font-size: 20px;
font-weight: 600;
}
.email-body {
padding: 30px;
}
.info-row {
margin-bottom: 15px;
border-bottom: 1px solid #eeeeee;
padding-bottom: 10px;
}
.label {
font-weight: 600;
color: #666666;
font-size: 14px;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.value {
font-size: 16px;
color: #111111;
margin-top: 4px;
}
.report-content {
background-color: #f8f9fc;
border-left: 4px solid #5c4df0;
padding: 15px;
margin-top: 15px;
white-space: pre-wrap;
font-size: 15px;
color: #444444;
}
.email-footer {
background-color: #fcfcfc;
padding: 15px;
text-align: center;
font-size: 12px;
color: #999999;
border-top: 1px solid #eeeeee;
}
</style>
</head>
<body>
<div class="email-wrapper">
<div class="email-header">
<h2>New Daily Report Submitted</h2>
</div>
<div class="email-body">
<p>Hello Management,</p>
<p>A new daily activity report has been submitted and is ready for review.</p>
<div class="info-row">
<div class="label">Staff Member</div>
<div class="value">{{ $user->name }}</div>
</div>
<div class="info-row">
<div class="label">Report Date</div>
<div class="value">{{ \Carbon\Carbon::parse($report->report_date)->format('l, d F Y') }}</div>
</div>
<div class="info-row" style="border-bottom: none;">
<div class="label">Activities & Progress</div>
<div class="report-content">{{ $report->content }}</div>
</div>
</div>
<div class="email-footer">
This is an automated notification from the Click ERP System. Please do not reply directly to this email.
</div>
</div>
</body>
</html>