Files
mareike/resources/views/emails/invoices/changed_invoice_state.blade.php

91 lines
3.0 KiB
PHP

<!DOCTYPE html>
<html>
<body>
<h1>Hallo {{$invoice['contactName']}},</h1>
<p>
soeben wurde eine Abrechnung, die eingereicht hast, bearbeitet.<br />
In der nachfolgenden Übersicht findest du weitere Details zu der Abrechnung:
</p>
<table cellpadding="0" cellspacing="0" border="0"
style="width: 100%; max-width: 640px; border-collapse: collapse; font-family: Arial, sans-serif; font-size: 14px; color: #1f2937;">
<tr>
<td style="padding: 8px 12px; width: 180px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Veranstaltung / Kostenstelle:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$costUnit['name']}}
</td>
</tr>
<tr>
<td style="padding: 8px 12px; width: 180px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Betrag:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$invoice['amount']}}
</td>
</tr>
<tr>
<td style="padding: 8px 12px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Grund der Abrechnung:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$invoiceType}}
</td>
</tr>
@if($invoice['travelDirection'] !== '--')
<tr>
<td style="padding: 8px 12px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Reiseweg:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$invoice['travelDirection'] }}
</td>
</tr>
@endif
@if($invoice['distance'] !== '--')
<tr>
<td style="padding: 8px 12px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Entfernung:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$invoice['distance'] }} km
</td>
</tr>
@endif
<tr>
<td style="padding: 8px 12px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Neuer Status:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{{$invoiceStatus}}
</td>
</tr>
@if($invoice['deniedReason'] !== '--')
<tr>
<td style="padding: 8px 12px; font-weight: 600; color: #4b5563; border-bottom: 1px solid #e5e7eb;">
Begründung:
</td>
<td style="padding: 8px 12px; border-bottom: 1px solid #e5e7eb;">
{!! $invoice['deniedReason'] !!}
</td>
</tr>
@endif
</table>
<p>
Wenn du mit der Entscheidung nicht einverstanden bist, oder du Fragen zum weiteren Ablauf hast, kontaktiere bitte bitte die Aktionsleitung auf den bekannten Wegen oder gerne per E-Mail unter der Adresse:
{{$costUnitContactMail}}
</p>
</body>
</html>