Files
konfirmasibank/Resources/views/pages/exportPdf.blade.php
2023-08-10 14:08:48 +07:00

142 lines
5.3 KiB
PHP
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html>
<html>
<head>
<title>Membuat Laporan PDF Dengan DOMPDF Laravel</title>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<style>
.space1 {
border: 1px solid black;
border-collapse: collapse;
font-size: 12px;
},
p {
font-size: 12px;
border: none;
},
.text-center{
text-align: center;
}
</style>
<div class="container">
<p>Kepada Yth</p>
<p>Bp. ...</p>
<p>Sepatan, Kab. Tanggerang</p>
<p>Sesuai dengan surat saudara Nomor . tanggal dengan ini kami smpaikan data data nasbah sesuai permintaan saudara sebagai berikut : </p>
<p>Nama Nasabah : {{$data[0]->NAME_1}}</p>
<p>Nomor Rekening : {{$data[0]->CUSTOMER_NO}}</p><br>
<p style="font-size: 12px;"> SIMPAMAN NASABAH YANG BERSANGKUTAN PADA BANK</p>
<p style="font-size: 12px;">POSISI ....</p>
<table class="space1" style="width:100%;">
<thead style="background-color: dimgrey">
<tr class="space1" >
<th class="text-center space1">No</th>
<th class="space1">Rekening</th>
<th class="space1">Cabang</th>
<th class="space1">Jenis Rekening</th>
<th class="space1">Mata Uang</th>
<th class="space1">Saldo</th>
<th class="space1">Jangka Waktu</th>
<th class="space1">Suku Bung</th>
<th class="space1">Tgl Jatuh Tempo</th>
</tr>
</thead>
<tbody>
@php $i=1 @endphp
@foreach ($data as $val)
<tr class="space1">
<td class="text-center space1">{{ $i++ }}</td>
<td class="space1">{{ $val->ACCOUNT_NUMBER }}</td>
<td class="space1">{{ $val->COMPANY_NAME }}</td>
<td class="space1">{{ $val->SHORT_NAME }}</td>
<td class="space1 texet-center">{{ $val->CURRENCY }}</td>
<td class="space1"></td>
<td class="space1"></td>
<td class="space1"></td>
<td class="space1"></td>
</tr>
@endforeach
</tbody>
</table><br>
<p style="font-size: 12px;">PINJAMAN YANG DI BERIKAN OLEH BANK KEPADA NASABAH</p>
<p style="font-size: 12px;">POSISI ....</p>
<table class="space1" style="width:100%;">
<thead style="background-color: dimgrey">
<tr class="space1" >
<th class="space1 text-center">No</th>
<th class="space1">Jenis Pinjaman</th>
<th class="space1">Cabang</th>
<th class="space1">Jenis Rekening</th>
<th class="space1 ">Mata Uang</th>
<th class="space1">Saldo</th>
<th class="space1">Jangka Waktu</th>
<th class="space1">Suku Bung</th>
<th class="space1">Tgl Jatuh Tempo</th>
</tr>
</thead>
<tbody>
<tr class="space1">
<tr class="space1">
<td class="space1" colspan="9" style="text-align: center;">Tidak Ada Pinjaman</td>
</tr>
</tr>
</tbody>
</table>
<p style="font-size: 12px;">FASILITAS LAIN YANG DI TERIMA OLEH NASABAH</p>
<p style="font-size: 12px;">POSISI ....</p>
<table class="space1" style="width:100%;">
<thead style="background-color: dimgrey">
<tr class="space1" >
<th class="text-center space1">No</th>
<th class="space1">Jenis Fasilitas</th>
<th class="space1">Cabang</th>
<th class="space1">Jenis Rekening</th>
<th class="space1">Mata Uang</th>
<th class="space1">Saldo</th>
<th class="space1">Jangka Waktu</th>
<th class="space1">Suku Bung</th>
<th class="space1">Tgl Jatuh Tempo</th>
</tr>
</thead>
<tbody>
<tr class="space1">
<td class="space1" colspan="9" style="text-align: center;">Tidak Ada Fasilitas</td>
</tr>
</tbody>
</table><br>
<div style="width:300px">
<table style="width:100%;" class="space1">
<tr class="space1" style="height:500px">
<td class="space1" style="width:20%;font-size:12px;" >
<p style="margin-top:100px; text-align: center;">Nama Pejabat 1</p>
<p style="text-align: center;">Jabatan</p>
</td>
<td class="space1" style="width:20%;font-size:12px;" >
<p style="margin-top:100px; text-align: center;">Nama Pejabat 2</p>
<p style="text-align: center;">Jabatan</p>
</td>
</tr>
</table>
</div>
</div>
</body>
</html>