Files
bikeservice/backend/resources/views/emails/pickup-confirmation.blade.php
T
2025-10-08 20:17:40 +02:00

189 lines
5.5 KiB
PHP

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Uw fiets wordt opgehaald</title>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
line-height: 1.6;
color: #333;
max-width: 600px;
margin: 0 auto;
padding: 20px;
background-color: #f5f5f5;
}
.container {
background: white;
border-radius: 10px;
overflow: hidden;
box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}
.header {
background: linear-gradient(135deg, #2c5f5d 0%, #3d7a77 100%);
color: white;
padding: 30px 20px;
text-align: center;
}
.logo {
max-width: 200px;
height: auto;
margin-bottom: 15px;
}
.header h1 {
margin: 0;
font-size: 24px;
font-weight: bold;
}
.content {
padding: 30px;
}
.message {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
border-left: 4px solid #2c5f5d;
margin-bottom: 30px;
white-space: pre-line;
}
.pickup-info {
background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
padding: 25px;
border-radius: 10px;
border: 3px solid #2c5f5d;
margin: 20px 0;
}
.pickup-info h2 {
color: #2c5f5d;
margin-top: 0;
margin-bottom: 20px;
font-size: 20px;
text-align: center;
}
.info-row {
display: flex;
align-items: center;
padding: 15px;
background: white;
border-radius: 8px;
margin-bottom: 10px;
box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.info-row:last-child {
margin-bottom: 0;
}
.info-icon {
font-size: 24px;
margin-right: 15px;
min-width: 30px;
}
.info-label {
font-weight: bold;
color: #2c5f5d;
min-width: 140px;
}
.info-value {
color: #333;
font-size: 18px;
font-weight: bold;
}
.customer-info {
background: #f8f9fa;
padding: 20px;
border-radius: 8px;
margin-top: 20px;
}
.customer-info h3 {
color: #2c5f5d;
margin-top: 0;
margin-bottom: 15px;
font-size: 16px;
}
.customer-row {
margin-bottom: 10px;
padding: 8px;
background: white;
border-radius: 5px;
}
.customer-label {
font-weight: bold;
color: #666;
margin-bottom: 3px;
}
.customer-value {
color: #333;
}
.footer {
background: #f8f9fa;
padding: 20px;
text-align: center;
color: #999;
font-size: 12px;
border-top: 1px solid #e1e8ed;
}
.footer p {
margin: 5px 0;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<img src="{{ config('app.url') }}/images/bikeservice_logo_navbar.svg" alt="Fiets Service Logo" class="logo" />
<h1>🚲 Uw fiets wordt opgehaald</h1>
</div>
<div class="content">
<div class="message">
{{ $customMessage }}
</div>
<div class="pickup-info">
<h2>📅 Ophaalgegevens</h2>
<div class="info-row">
<div class="info-icon">📅</div>
<div>
<div class="info-label">Datum van ophalen:</div>
<div class="info-value">{{ $pickupDate }}</div>
</div>
</div>
<div class="info-row">
<div class="info-icon">🕐</div>
<div>
<div class="info-label">Tijd van ophalen:</div>
<div class="info-value">{{ $pickupTime }}</div>
</div>
</div>
</div>
<div class="customer-info">
<h3>Uw gegevens</h3>
<div class="customer-row">
<div class="customer-label">Naam:</div>
<div class="customer-value">{{ $serviceRequest->name }}</div>
</div>
<div class="customer-row">
<div class="customer-label">Adres:</div>
<div class="customer-value">{{ $serviceRequest->address }}, {{ $serviceRequest->place }}</div>
</div>
@if($serviceRequest->phone)
<div class="customer-row">
<div class="customer-label">Telefoon:</div>
<div class="customer-value">{{ $serviceRequest->phone }}</div>
</div>
@endif
</div>
</div>
<div class="footer">
<p><strong>Fiets Service Centrum</strong></p>
<p>Dit is een automatisch gegenereerde e-mail.</p>
<p>Heeft u vragen? Neem dan contact met ons op.</p>
</div>
</div>
</body>
</html>