wip
This commit is contained in:
@@ -0,0 +1,65 @@
|
||||
<!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>
|
||||
|
||||
<div class="section">
|
||||
<p>Sene: <strong>{{ now()->format('d.m.Y') }}</strong></p>
|
||||
<p>№ {{ $data->accountNumber }} belgili kart hasaby boýunça GÖÇÜRME</p>
|
||||
<p>Müşderiniň FAAa: <strong>{{ $data->clientName }}</strong></p>
|
||||
<p>{{ $data->fromDate }} - {{ $data->toDate }} aralygy üçin</p>
|
||||
|
||||
<br>
|
||||
<p>Başdaky galyndy: <strong> {{ $extra->basdakyGalyndy }} </strong></p>
|
||||
<p>Ahyrky galyndy: <strong> {{ $extra->ahyrkyGalyndy }} </strong></p>
|
||||
</div>
|
||||
|
||||
<table>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Amalyň senesi</th>
|
||||
<th>Tranzaksiýa senesi</th>
|
||||
<th>Kart belgisi</th>
|
||||
<th>Amalyň görnüşi</th>
|
||||
<th>Tranz. geçirilen ýeri</th>
|
||||
<th>Tranz. walýutasy</th>
|
||||
<th>Tranz. wal-da möçberi</th>
|
||||
<th>Hasabyň wal-da möçberi</th>
|
||||
<th>Kart hasabynyň galyndysy</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
@foreach($data->transactions as $transaction)
|
||||
@php
|
||||
$operdate = Carbon\Carbon::create($transaction->operdate);
|
||||
$trandate = Carbon\Carbon::create($transaction->trandate);
|
||||
@endphp
|
||||
|
||||
<tr>
|
||||
<th>{{ $operdate->format('d.m.Y') }}</th>
|
||||
<th>{{ $transaction->trantime }}, {{ $trandate->format('d.m.Y') }}</th>
|
||||
<th>{{ $transaction->cardnum }}</th>
|
||||
<th>{{ $transaction->binfo }}</th>
|
||||
<th>{{ $transaction->terminalLocation }}</th>
|
||||
<th>{{ $transaction->currCode }}</th>
|
||||
<th>{{ $transaction->currOperSum }}</th>
|
||||
<th>{{ $transaction->currOperSum }}({{ $transaction->sign }})</th>
|
||||
<th>{{ $transaction->rest }}</th>
|
||||
</tr>
|
||||
@endforeach
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="summary">
|
||||
<p>Aralyk boýunça hereket:</p>
|
||||
<p>Girdeji: <strong>{{ $extra->girdeji }}</strong></p>
|
||||
<p>Çykdajy: <strong>{{ $extra->cykdajy }}</strong></p>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user