gurl_o/plugins/tps/birzha/views/mail/requests.htm

111 lines
5.6 KiB
HTML

layout="birzha_empty"
==
<div id="wrapper" style=" margin: 10px;">
<div class="inner">
<table class="mail" style="border: 1px solid #003197; border-radius: 5px; overflow: hidden; width: 100%; border-spacing: 0;">
<tr style="background-image: url({{ asset('themes/birzha/assets/images/footer-bg.png') }})">
<th class="header" style="padding: 0; position: relative;">
<div class="header_row" style=" display: flex; align-items: center; padding: 10px 20px;">
<div class="logo" style="width: 44px; height: 44px; margin-right: 20px; position: relative; z-index: 2;">
<img src="{{asset('themes/birzha/assets/images/mini-logo.png')}}" style=" width: 100%; height: 100%; object-fit: contain; -o-object-fit: contain;" alt="logo">
</div>
<h1 class="title" style="font-size: 16px; text-align: left; font-weight: 700; line-height: 1.5; color: #fff; width: calc(100% - 60px);">
Import bahalar - Arza
</h1>
</div>
</th>
</tr>
<tbody class="content">
<tr>
<td style="padding: 30px 0 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Salam, admin.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Size Import bahalar üçin täze arza geldi.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
FIO: {{ exchange_request.first_name }} {{ exchange_request.last_name }}.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Tel: {{ exchange_request.phone }}.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Email: {{ exchange_request.email }}.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Edaraň görnüşi: {{ exchange_request.org_type }}.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Status: {{ exchange_request.status }}.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 0 20px;">
<p class="content_txt" style="font-size: 14px; font-weight: 400; line-height: 1.4; margin-bottom: 15px;">
Ulanyjyň balansyndan arza üçin tutuldy: {{ exchange_request.withdraw_from_balance }} TMT.
</p>
</td>
</tr>
<tr>
<td style="padding: 0 20px 30px 20px;">
<table class="requests-table">
<thead>
<th>Наименование</th>
<th>Страна</th>
<th>Единица</th>
<th>Валюта</th>
<th>Цена</th>
</thead>
{% for item in exchange_request.items %}
<tr>
<td style="width: 60%;">{{ item.title }}</td>
<td style="width: 10%;">{{ item.country }}</td>
<td style="width: 10%;">{{ item.unit }}</td>
<td style="width: 10%;">{{ item.currency }}</td>
<td style="width: 10%;">{{ item.price }}</td>
</tr>
{% endfor %}
</table>
</td>
</tr>
</tbody>
</table>
</div>
</div>