Files
aso/resources/views/pdf/final_log_page_2.blade.php
2024-01-14 01:35:31 +07:00

354 lines
15 KiB
PHP

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
@php
$dynamicVariableName = 'font_size_' . now()->timestamp;
$$dynamicVariableName = 10;
@endphp
<style>
.triangle1 {
width: 0;
height: 0;
border-left: 10.24px solid transparent;
border-right: 318.24px solid transparent;
border-bottom: 75.5px solid #008C8C;
position: absolute;
top: -55.12px;
left: -60.91px;
transform: rotate(-12deg);
}
.triangle2 {
width: 0;
height: 0;
border-left: 10.24px solid transparent;
border-right: 550.24px solid transparent;
border-bottom: 110.5px solid #19BBBB;
position: absolute;
top: -55.12px;
left: -100.91px;
transform: rotate(-20deg);
}
body {
margin: 0;
padding: 0;
height: 100vh;
background-color: #ffffff; /* Ganti dengan warna latar belakang yang diinginkan */
}
.content-<?php echo now()->timestamp; ?> {
padding: 20px;
text-align: left;
font-family: 'Calibri', sans-serif;
}
.content-<?php echo now()->timestamp; ?> img {
width: 15%;
max-width: 600px; /* batasan lebar maksimum gambar */
margin-top: 1px; /* jarak antara segitiga dan gambar */
margin-bottom: 5px;
}
.corner-text-<?php echo now()->timestamp; ?> {
font-size: {{ $$dynamicVariableName }}px;
color: #666666;
position: absolute;
}
.top-right-<?php echo now()->timestamp; ?> {
top: 10px;
right: 10px;
}
.bottom-right-<?php echo now()->timestamp; ?> {
bottom: 10px;
right: 10px;
text-align: right;
}
.bottom-left-<?php echo now()->timestamp; ?> {
bottom: 10px;
left: 10px;
text-align: left;
}
.title-container-<?php echo now()->timestamp; ?> {
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
position: relative;
margin-top: 1px;
}
.title-<?php echo now()->timestamp; ?> {
font-size: 12px;
margin-bottom: 5px;
}
.additional-text-<?php echo now()->timestamp; ?> {
font-size: 11px;
}
.claim-info-<?php echo now()->timestamp; ?> {
font-size: {{ $$dynamicVariableName }}px;
/* color: #008C8C; */
text-align: justify;
margin: 0;
padding: 0;
margin-top: 2px;
line-height: 1; /* Atur nilai line-height menjadi 1 atau 100% */
}
table {
width: 100%;
border-collapse: collapse;
margin-top: 1px;
}
table, th, td {
/* border: 1px solid #008C8C; */
}
th, td {
padding: 4px;
text-align: left;
}
.hot-line-<?php echo now()->timestamp; ?> {
background-color: #048B8C;
text-align: center;
align-items: center;
font-size: {{ $$dynamicVariableName }}px;
margin-top: 1px;
padding: 2px;
color: #ffffff;
}
.txt-tindakan-<?php echo now()->timestamp; ?> {
margin-top: 1px;
font-size: {{ $$dynamicVariableName }}px;
}
.txt-pernyataan-<?php echo now()->timestamp; ?> {
margin-top: 5px;
font-size: {{ $$dynamicVariableName }}px;
}
.title-container-page-<?php echo now()->timestamp; ?> {
display: flex;
flex-direction: column;
text-align: justify;
position: relative;
/* border: 1px solid; Warna garis tepi dan lebar dapat disesuaikan */
padding: 3px;
margin-left: auto;
margin-right: auto;
margin-top: 30px;
}
.txt-syarat-<?php echo now()->timestamp; ?> {
font-size: {{ $$dynamicVariableName }}px;
text-align: left;
}
.bottom-left-ttd-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 200px;
left: 10px;
text-align: left;
}
.bottom-left-ttd-1-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 300px;
left: 10px;
text-align: left;
}
.bottom-left-ttd-2-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 225px;
left: 30px;
text-align: left;
}
.bottom-right-ttd-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 200px;
right: 10px;
text-align: left;
}
.bottom-right-ttd-1-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 300px;
right: 10px;
text-align: left;
}
.bottom-right-ttd-2-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 225px;
right: 30px;
text-align: left;
}
.bottom-left1-ttd-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 100px;
left: 10px;
text-align: left;
}
.bottom-right1-ttd-<?php echo now()->timestamp; ?> {
color: #000000;
bottom: 100px;
right: 10px;
text-align: left;
}
.logo_company-<?php echo now()->timestamp; ?> {
position: absolute;
top: -35.12px;
left: -35.91px;
width: 10%;
max-width: 40px; /* batasan lebar maksimum gambar */
margin-top: 1px; /* jarak antara segitiga dan gambar */
margin-bottom: 5px;
}
</style>
</head>
<body>
<div class="triangle2"></div>
<div class="triangle1"></div>
@php
if(!empty($logoPerusahaan->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $logoPerusahaan->path)));
echo '<img class="logo_company-' . now()->timestamp . '" src="' . $imgSrc . '">';
}
@endphp
<div class="content-<?php echo now()->timestamp; ?>">
<div class="corner-text-<?php echo now()->timestamp; ?> top-right-<?php echo now()->timestamp; ?>">
The Future Of Healthcare At Your Fingertips
</div>
<img src="data:image/png;base64,{{ base64_encode(file_get_contents( public_path('images/logo-default.png') )) }}">
<div class="title-container-page-<?php echo now()->timestamp; ?>">
<div class="txt-syarat-<?php echo now()->timestamp; ?>">SYARAT DAN KETENTUAN</div>
<table class="claim-info-<?php echo now()->timestamp; ?>">
<tr>
<td style="width: 3%;">1.</td>
<td style="width: 97%;">Surat jaminan ini hanya berlaku untuk diagnosa yang tercantum di atas. Apabila ditemukan adanya perubahan atau penambahan diagnosa, maka LinkSehat berhak membatalkan surat jaminan. Mohon menghubungi LinkSehat apabila ada perubahan diagnosa dan diagnosa tambahan.</td>
</tr>
<tr>
<td style="width: 3%;">2.</td>
<td style="width: 97%;">Surat jaminan ini dinyatakan <b>berlaku</b> apabila disertai surat jaminan akhir dengan <b>nominal </b> yang tertera pada kolom di atas.</td>
</tr>
<tr>
<td style="width: 3%;">3.</td>
<td style="width: 97%;">Surat jaminan ini tidak berlaku untuk biaya diluar medis seperti makan/minum di luar ketentuan, tagihan telepon, binatu, dan lain lain. Mohon ditagihkan langsung ke peserta.</td>
</tr>
<tr>
<td style="width: 3%;">4.</td>
<td style="width: 97%;">Rumah sakit harap segera menghubungi LinkSehat apabila biaya rumah sakit melebihi batas tertanggung diatas.</td>
</tr>
<tr>
<td style="width: 3%;">5.</td>
<td style="width: 97%;">Rumah sakit wajib menghubungi LinkSehat sebelum pasien meninggalkan rumah sakit agar pihak rumah sakit dapat mengetahui biaya apa saja yang dijamin oleh LinkSehat. Jika peserta meninggalkan rumah sakit sebelum mengkonfirmasikan ke LinkSehat, maka LinkSehat <b>tidak bertanggung jawab </b> atas biaya yang tidak dijamin oleh <b>pihak penjamin/payor</b>.</td>
</tr>
<tr>
<td style="width: 3%;">6.</td>
<td style="width: 97%;">Peserta bertanggung jawab untuk menyelesaikan secara langsung kepada pihak rumah sakit dan penyedia jasa medis apabila terjadi selisih biaya (ekses) atas seluruh biaya perawatan, biaya medis, dan yang lain yang telah terjadi sehubungan dengan rawat inap, maupun atas perihal perawatan medis yang tidak tercakup dalam <b>Buku Jaminan Kesehatan Pekerja </b> dikarenakan karena alasan apapun. Apabila biaya-biaya tersebut telah dijaminkan oleh LinkSehat atas nama nasabah, maka peserta akan membayar kembali ke pihak LinkSehat secara penuh termasuk biaya berhubungan dengan penagihan (apabila ada) yang terjadi ke pihak LinkSehat atas biaya yang tidak termasuk dalam manfaat kesehatan.</td>
</tr>
<tr>
<td style="width: 3%;">7.</td>
<td style="width: 97%;">Dengan ini peserta menyatakan mengetahui dan menyetujui ketentuan selisih biaya yang telah disebutkan di atas.</td>
</tr>
<tr>
<td style="width: 3%;">8.</td>
<td style="width: 97%;">Dalam hal surat jaminan in tidak ditandatangani oleh peserta yang bersangkutan maka rumah sakit berkewajiban untuk menyampaikan keadaan tersebut kepada LinkSehat dalam kurun waktu paling lambat 1x24 jam, dalam hal tidak ada perubahan dalam jangka waktu yang telah ditentukan tersebut maka dianggap peserta yang bersangkutan telah setuju dengan ketentuan yang terdapat dalam surat jaminan ini.</td>
</tr>
</table>
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-1-<?php echo now()->timestamp; ?> ">
Hormat Kami,<br>
{{ $dataMember->nama_perusahaan }}
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-2-<?php echo now()->timestamp; ?> ">
<!-- @php
if(!empty($signatureDr->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureDr->path)));
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
}
@endphp -->
@php
if(!empty($logoPerusahaan->code) == 'VALEIND') {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(public_path('images/ttd_dr_vale.png')));
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
}
@endphp
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-ttd-<?php echo now()->timestamp; ?> ">
@php
if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp
<u><b>Dr. Hery Hermas, M.Kes</b></u>
@php
} else {
@endphp
(.......................................)
@php
}
@endphp
<br><b>Offsite Medical Treatment</b>
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-1-<?php echo now()->timestamp; ?> ">
{{ \Carbon\Carbon::parse(now())->format('d M Y') }},<br>
Petugas Alarm Center
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-2-<?php echo now()->timestamp; ?> ">
@php
if(!empty($signatureAd->path)) {
$imgSrc = 'data:image/png;base64,' . base64_encode(file_get_contents(storage_path('app/public/' . $signatureAd->path)));
echo '<img style="width: 65px; height: 48px;" src="' . $imgSrc . '">';
}
@endphp
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-ttd-<?php echo now()->timestamp; ?> ">
(.......................................)<br>
<b>Customer Service Team</b>
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left1-ttd-<?php echo now()->timestamp; ?> ">
(.......................................)
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right1-ttd-<?php echo now()->timestamp; ?> ">
<b>{{ $dataMember->name }}</b>
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-left-<?php echo now()->timestamp; ?>">
@php
if (!empty($logoPerusahaan->code) == 'VALEIND') {
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ !empty($logoPerusahaan->name) ? $logoPerusahaan->name : '' }}</b><br>
Lt. 1, Jalan Somba Opu 281, Ujung Pandang, Losari, <br> Kec. Makassar, Kota Makassar, Sulawesi Selatan 90113
@php
} else if(!empty($logoPerusahaan->code) == 'PETROLAB') {
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ !empty($logoPerusahaan->name) ? $logoPerusahaan->name : '' }}</b><br>
Jalan Pisangan Lama 3 Nomor 28 Jatinegara, RT.9/RW.3, <br>Pisangan Tim., Kec. Pulo Gadung, Kota Jakarta Timur, Daerah Khusus Ibukota Jakarta 13230
@php
} else {
@endphp
<b>Alarm Center Vale MKS (LinkSehat) Office</b><br>
<b>{{ !empty($logoPerusahaan->name) ? $logoPerusahaan->name : '' }}</b><br>
@php
}
@endphp
</div>
<div class="corner-text-<?php echo now()->timestamp; ?> bottom-right-<?php echo now()->timestamp; ?>">
<b>PT Link Medis Sehat</b><br>
<b>Primaya Hospital Corporate</b><br>
Graha Cempaka Mas Blok D5-6<br>
Jl. Let. Jend. Suprapto, Jakarta Pusat 10640, Indonesia<br>
<b>Telp</b> (021) 4217746/47
</div>
</div>
</body>
</html>