TanchoToplineCargo/resources/views/emails/quote.blade.php

86 lines
2.2 KiB
PHP
Raw Permalink Normal View History

2024-05-05 04:47:49 +00:00
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Email Template</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
padding: 20px;
}
.container {
background-color: #fff;
border-radius: 10px;
padding: 20px;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
h1 {
color: #333;
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 20px;
}
th, td {
padding: 10px;
border-bottom: 1px solid #ddd;
}
th {
background-color: #f4f4f4;
}
</style>
</head>
<body>
<div class="container">
<h1>Email Content</h1>
<table>
<tr>
<th>Field</th>
<th>Value</th>
</tr>
<tr>
<td>First Name</td>
<td>{{ $details['firstname'] }}</td>
</tr>
<tr>
<td>Last Name</td>
<td>{{ $details['lastname'] }}</td>
</tr>
<tr>
<td>Email</td>
<td>{{ $details['email'] }}</td>
</tr>
<tr>
<td>City Departure</td>
<td>{{ $details['citydeparture'] }}</td>
</tr>
<tr>
<td>Delivery City</td>
<td>{{ $details['DeliverCity'] }}</td>
</tr>
<tr>
<td>Weight (kg)</td>
<td>{{ $details['weight'] }}</td>
</tr>
<tr>
<td>Special Info</td>
<td>{{ $details['specialinfo'] ?? 'N/A' }}</td>
</tr>
<tr>
<td>Freight Type</td>
<td>
<ul>
@foreach ($details['freightType'] as $type)
<li>{{ $type }}</li>
@endforeach
</ul>
</td>
</tr>
</table>
</div>
</body>
</html>