62 lines
2.6 KiB
PHP
62 lines
2.6 KiB
PHP
<!DOCTYPE html>
|
||
<html lang="ru">
|
||
<head>
|
||
<meta charset="UTF-8">
|
||
<style>
|
||
body {font-family: DejaVu Sans, sans-serif; font-size: 12px; color: #000; margin: 40px; } h1, h2, h3 {margin: 0; padding: 0; } p {margin: 4px 0; } .title {font-weight: bold; font-size: 16px; margin-top: 10px; } .section {margin-top: 20px; } table {width: 100%; border-collapse: collapse; margin-top: 10px; } th, td {border: 1px solid #999; padding: 6px; text-align: left; font-size: 11px; } th {background-color: #f0f0f0; } .summary {margin-top: 20px; } strong {font-weight: bold; } </style>
|
||
</head>
|
||
<body>
|
||
<p>{{ $data->depName }}</p>
|
||
<p>BAB: <strong>{{ $data->mfo }}</strong></p>
|
||
<p>S/b: <strong>ÝOK</strong></p>
|
||
|
||
<div class="section">
|
||
<p>Текущая дата: <strong>{{ now()->format('H:i, d.m.Y') }}</strong></p>
|
||
<p>ВЫПИСКА ПО СЧЕТУ КЛИЕНТА №9341304011</p>
|
||
<p>Ф.И.О. владельца счета: <strong>{{ $data->clientName }}</strong></p>
|
||
<p>за период с {{ $data->fromDate }} по {{ $data->toDate }} </p>
|
||
|
||
<br>
|
||
<p>Исходящий остаток: <strong>7.73</strong></p>
|
||
<p>Входящий остаток: <strong>361.92</strong></p>
|
||
</div>
|
||
|
||
<table>
|
||
<thead>
|
||
<tr>
|
||
<th>Дата операции</th>
|
||
<th>Дата транз.</th>
|
||
<th>Карточка</th>
|
||
<th>Тип операции</th>
|
||
<th>Место провед. транзакции</th>
|
||
<th>Валюта транз.</th>
|
||
<th>Сумма в валюте транзакции</th>
|
||
<th>Сумма в валюте карт-счета, 934</th>
|
||
<th>Остаток карт-счета, 934</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody>
|
||
@foreach($data->transactions as $transaction)
|
||
<tr>
|
||
<th>{{ $transaction->trandate }}</th>
|
||
<th>{{ $transaction->trandate }}</th>
|
||
<th>{{ $data->cardMaskNumber }}</th>
|
||
<th>{{ $transaction->opername }}</th>
|
||
<th>YOK</th>
|
||
<th>{{ $transaction->currency }}</th>
|
||
<th>{{ $transaction->opersum }}</th>
|
||
<th>{{ $transaction->opersum }}</th>
|
||
<th>YOK</th>
|
||
</tr>
|
||
@endforeach
|
||
</tbody>
|
||
</table>
|
||
|
||
<div class="summary">
|
||
<p>Обороты за период:</p>
|
||
<p>(+) поступило: <strong>6 225.65</strong></p>
|
||
<p>(-) списано: <strong>6 579.84</strong></p>
|
||
</div>
|
||
</body>
|
||
</html>
|