| Server IP : 172.67.168.138 / Your IP : 216.73.216.227 [ Web Server : Apache System : Linux frog 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web13 ( 5017) PHP Version : 8.3.31 Disable Function : NONE Domains : 41 Domains MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/clients/client12/web13/web/ahelos/resources/views/emails/ |
Upload File : |
<!DOCTYPE html>
<html>
<head>
<title>AHELOS :: Contact</title>
<style>
body {
font-family: Arial;
color: #333;
font-size: 14px;
}
table {
width: 100%;
margin-top: 30px !important;
}
table,
td,
th {
border: 1px solid #dfdfdf;
margin: auto;
font-size: 13px;
border: 1px solid #dfdfdf;
border-collapse: collapse;
}
thead th {
background: #ffe1dc;
color: #282828;
}
tbody th,
tbody td {
border-bottom: 2px solid #dfdfdf;
}
tfoot td {
border: none !important;
}
tr td:first-child {
width: 40%;
}
th {
text-align: left;
}
@media screen and (max-width:1199px) {
table {
border: 0;
}
thead {
border: none;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px;
}
tr {
border-bottom: 3px solid #ddd;
display: block;
margin-bottom: .625em;
}
td {
border-bottom: 1px solid #ddd;
display: block;
font-size: .9rem;
text-align: right !important;
width: auto !important;
}
td div {
display: block !important;
width: auto !important;
}
td::before {
content: attr(data-label);
float: left;
font-weight: bold;
text-transform: uppercase;
}
td:last-child {
border-bottom: 0;
}
div:not(.box) {
width: 93% !important;
display: block !important;
text-align: center !important;
float: none !important;
}
table div:not(.box) {
width: auto !important;
display: block !important;
text-align: right !important;
float: none !important;
}
.box {
width: 48% !important;
display: inline-block !important;
text-align: left !important;
}
.box:last-of-type {
width: 100% !important;
}
}
@media screen and (max-width:768px) {
.contact-info {
margin-bottom: 15px;
}
.box {
width: 100% !important;
display: block !important;
text-align: left !important;
}
td div div {
display: block !important;
width: 100% !important;
text-align: center !important;
padding-left: 0px !important;
}
}
h1 {
font-size: 28px;
}
.box {
margin-top: 20px;
width: 33%;
display: block !important;
color: #666;
line-height: 20px;
float: left;
}
.box h2 {
margin-top: 0px;
}
.totals {
color: #666;
line-height: 25px;
}
.totals .total {
font-size: 19px;
color: #ff735c
}
@media screen and (max-width:576px) {
body div {
width: 100% !important;
}
table {
width: 100% !important;
margin-right: 10px !important;
}
table thead {
display: none !important;
}
}
</style>
</head>
<body style="background: #ebebeb; border-radius: 15px; padding:20px 0;">
<div style="width: 80%; display: block; margin: auto; border-radius: 15px;">
<img src="{{ asset('frontend/images/logo.png') }}" height="50" alt="">
<section>
<div
style="border-radius: 8px; display: block; background: #fff; padding: 15px; margin-top: 10px; border-radius: 5px; width: 100%; max-width: none;">
<div style="background: #ffe1dc; padding: 15px; color: #282828">
<div style="width: 50%; display:inline-block; text-align: right;" class="contact-info">
<strong>Информация за контакти:</strong><br>
{{-- 0886712401 --}}
<strong style="display: inline-block; margin: 5px 0;">Телефон:</strong> <a
href="tel: {{ $settings['phone']['value'] }}" style="color: #282828;">{{
$settings['phone']['value'] }}</a><br>
<strong>Email:</strong> <a href="mailto:[email protected]"
style="color: #282828;">[email protected]</a><br>
</div>
<div style="width: 50%; display:inline-block; float: left">
<strong>Благодарим ви за поръчката от AHELOS</strong>
<p>Подробности за Вашата поръчка.</p>
</div>
</div>
<div style="margin: 50px 0;">
<h1 style="display: block; text-align: center;">
Вашата поръчка: #{{ $order->id }}
</h1>
<p
style="display: block; text-align: center; font-size: 15px; font-weight: bold; margin-bottom: 40px;">
Направена на {{ $order->created_at }} ч.
</p>
@if ($order->note)
<p
style="display: block; text-align: center; font-size: 14px; color: #666; padding:15px; border: 1px solid #dfdfdf; border-radius: 5px;">
{{ $order->note }}
</p>
@endif
<div class="box">
<h2>Информация на потребителя</h2>
<p>
Име: <strong>{{ $order->fname }} {{ $order->lname }}</strong><br>
Телефон: <strong>{{ $order->phone }}</strong><br>
Email: <strong>{{ $order->email }}</strong><br>
</p>
</div>
@if ($order->invoice)
<div class="box">
<h2>Данни за фактура</h2>
<p>
Фирма: <strong>{{ $order->invoice->company_name }}</strong><br>
МОЛ: <strong>{{ $order->invoice->company_owner }}</strong><br>
Град: <strong>{{ $order->invoice->company_city }}</strong><br>
Адрес: <strong>{{ $order->invoice->company_address }}</strong><br>
Булстат: <strong>{{ $order->invoice->company_number }}</strong><br>
@if ($order->invoice->company_vat)
ДДС номер: <strong>{{ $order->invoice->company_vat }}</strong><br>
@endif
</p>
</div>
@endif
<div class="box">
<h2>Вид плащане</h2>
<strong>{{ $order->paymentMethod() }}</strong>
</div>
<div class="box">
<h2>Доставка до</h2>
@if ($order->type == 1)
@if ($order->address->shipping_to == 1)
<strong>Адрес</strong><br>
{{ $order->address->address }} {{ $order->address->no }}
@else
<strong>Офис</strong><br>
{{ $order->address->office }}
@endif
@endif
@if ($order->type == 2)
<strong>Уточняване при обаждане.</strong>
@endif
</div>
<br style="clear:both">
<table cellpadding="10" style="width: 95%; margin-left: -10px;">
<thead>
<tr>
<th>Артикул</th>
<th style="text-align:center">Количество</th>
<th style="text-align:right">Единична цена</th>
</tr>
</thead>
<tbody>
@foreach ($order->products as $product)
<tr>
<td data-label="Артикул">
<div style="display: flex;">
<div style="display:inline-block; width: 15%;">
<img src="{{ asset('/storage/products/resized/' . $product->info->photo) }}"
height="70">
</div>
<div
style="display:inline-block; padding-left: 5%; width: 80%; text-align: left">
{{ $product->info->translation->title }}<br>
<strong>Артикул No:</strong> {{ $product->info->code }}<br>
</div>
</div>
</td>
<td style="text-align:center" data-label="Количество">
1 бр.
</td>
<td style="text-align:right" data-label="Единична цена">
@money($product->price, 'EUR', true)
/
@money($product->price * $eur_rate, 'BGN', true)
</td>
</tr>
@endforeach
</tbody>
<tfoot>
<tr>
<td colspan="3" style="text-align:right" class="totals">
<strong>Междинна сума:
@money($order->products->sum('price'), 'EUR', true)
/
@money($order->products->sum('price') * $eur_rate, 'BGN', true)
</strong>
<br>
<strong>Доставка: @money($order->shipping, 'EUR', true)
/
@money($order->shipping * $eur_rate, 'BGN', true)
</strong><br>
<strong class="total">
Общо:
@money($order->total_sum, 'EUR', true)
/
@money($order->total_sum * $eur_rate, 'BGN', true)
</strong>
</td>
</tr>
</tfoot>
</table>
</div>
</div>
</div>
</body>
</html>