14-04-2026

This commit is contained in:
Kevin Adametz 2026-04-14 18:07:45 +02:00
parent f58c709945
commit 0f82fea88a
72 changed files with 7414 additions and 148 deletions

View file

@ -0,0 +1,114 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Payment Incident Alert mivita.care</title>
<style type="text/css">
td, h1, h2, h3 { font-family: Helvetica, Verdana, Arial, sans-serif; font-weight: 400; }
body { -webkit-font-smoothing: antialiased; width: 100%; height: 100%; color: #37302d; background: #ffffff; font-size: 15px; line-height: 26px; }
table { border-collapse: separate !important; }
.severity-critical { color: #dc3545; }
.severity-high { color: #fd7e14; }
.severity-medium { color: #ffc107; }
.severity-low { color: #28a745; }
.label { display: inline-block; padding: 2px 8px; border-radius: 3px; font-size: 12px; font-weight: bold; }
.label-danger { background: #dc3545; color: #fff; }
.label-warning { background: #ffc107; color: #212529; }
.label-success { background: #28a745; color: #fff; }
a { color: #919f7a; text-decoration: none; }
</style>
</head>
<body style="padding:0; margin:0; display:block; background:#f8f8f8;">
<table align="left" cellpadding="0" cellspacing="0" width="100%" height="100%">
<tr>
<td align="left" valign="top" bgcolor="#f8f8f8" width="100%">
<br>
<table style="margin: 0 auto;" cellpadding="0" cellspacing="0" width="700">
<tr>
<td align="center" style="padding-bottom: 20px;">
<img src="https://my.mivita.care/images/logo_mivita.png" alt="mivita.care" width="200">
</td>
</tr>
<tr>
<td>
<table cellpadding="10" cellspacing="0" border="0" width="100%" bgcolor="#ffffff">
<tr>
<td style="font-family: Helvetica, sans-serif; font-size: 18px; font-weight: bold; padding-bottom: 5px;">
🚨 {{ $title }}
</td>
</tr>
<tr>
<td>
<table style="padding: 20px; border: 1px solid #eee; background-color: #fff8f8; line-height: 1.8em; width: 100%;" cellpadding="4" cellspacing="0">
<tr>
<td width="160"><strong>Titel</strong></td>
<td>{{ $incident->title }}</td>
</tr>
<tr>
<td><strong>Schwere</strong></td>
<td>
<span class="label label-{{ $incident->severity === 'critical' ? 'danger' : ($incident->severity === 'high' ? 'warning' : 'success') }}">
{{ $incident->severity_label }}
</span>
</td>
</tr>
<tr>
<td><strong>Anbieter</strong></td>
<td>{{ $incident->provider_label }}</td>
</tr>
<tr>
<td><strong>Typ</strong></td>
<td>{{ $incident->type_label }}</td>
</tr>
<tr>
<td><strong>Erkannt am</strong></td>
<td>{{ $incident->detected_at->format('d.m.Y H:i') }} Uhr</td>
</tr>
@if($incident->description)
<tr>
<td><strong>Beschreibung</strong></td>
<td>{{ $incident->description }}</td>
</tr>
@endif
@if($incident->affected_orders > 0)
<tr>
<td><strong>Betroffene Bestellungen</strong></td>
<td>{{ $incident->affected_orders }}</td>
</tr>
@endif
@if($incident->affected_revenue > 0)
<tr>
<td><strong>Betroffener Umsatz</strong></td>
<td>{{ number_format($incident->affected_revenue, 2, ',', '.') }} </td>
</tr>
@endif
</table>
</td>
</tr>
<tr>
<td style="text-align: center; padding: 20px 0;">
<a href="{{ $dashboardUrl }}"
style="display: inline-block; padding: 10px 24px; background-color: #dc3545; color: #ffffff; font-family: Helvetica, sans-serif; font-size: 14px; font-weight: bold; border-radius: 4px; text-decoration: none;">
Incident im Dashboard öffnen
</a>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td style="color:#7B7B7E; font-size:13px; text-align: center; padding: 20px 0;">
Diese Nachricht wurde automatisch von mivita.care generiert.<br>
<a href="https://www.mivita.care" style="color: #7B7B7E; text-decoration: underline;">www.mivita.care</a>
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>