Cetaklabel/Resources/views/app/document/label.blade.php

143 lines
5.8 KiB
PHP

<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Label Dus</title>
<style>
table {
width: 24cm;
text-align: center;
margin: 10px auto;
border: 1px solid black;
font-family: Arial;
}
div.table {
border: 1px solid black;
border-radius: 2em;
width: 20cm;
margin: 0px auto;
}
.segel {
width: 758px;
border-collapse: collapse;
border-radius: 2em;
overflow: hidden;
border: 1px solid black;
padding: 0px;
margin: -1px;
}
.qrcode {
position: absolute;
top: 485px;
right: 810px;
}
@media print {
.pagebreak {
page-break-before: always;
}
/* page-break-after works, as well */
.qrcode {
position: absolute;
top: 485px;
right: 75px;
}
}
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" style="table-layout: fixed;">
<tbody>
<tr style="height:35mm;table-layout:fixed;">
<td style="width:120mm;background-color: #223d84;">
<img src="{{ url('storage/img_2.png') }}" alt="" style="max-width:99%;">
</td>
<td style="width:120mm;background-color: #ffc000;">
<span style="font-size:32pt;font-weight:bold">FILE<br>MANAGEMENT</span>
</td>
</tr>
<tr style="height:112mm;table-layout:fixed;">
<td colspan="2">
<span style="font-size:80pt;font-weight:bold">{{ $document_detail->document->directorat->kode }}.{{ $document_detail->document->sub_directorat->kode }}</span><br>
<span style="font-size:54pt;font-weight:bold">{{ $document_detail->document->job->kode }}</span><br><br>
<span style="font-size:24pt;">{{ $document_detail->document->job->name }}</span><br><br><br><br>
<span style="font-size:24pt;">{{ $document_detail->document->sequence_dus }}</span><br><br><br><br>
<span style="font-size:12pt;">PERIODE</span>
</td>
</tr>
<tr style="height:20mm;table-layout:fixed;background-color: #000066;">
<td colspan="2" style="font-size:16pt;color:white;line-height:30px;padding:0px;">
<span>Bln/Thn</span><br>
<span>{{ $start }} s.d {{ $last }}</span>
</td>
</tr>
</tbody>
</table>
<span class="qrcode">{!! QrCode::size(75)->generate($document_detail->document->job->kode) !!}</span>
<div class="pagebreak"></div>
<div class="table">
<table class="segel">
<tbody>
<tr style="height:30mm;">
<td colspan="2" style="width:100%;background-color: #223d84;">
<img src="{{ url('storage/img_2.png') }}" alt="" style="max-width:25%;">
</td>
</tr>
<tr>
<td colspan="2" style="width:100%;text-align:left;padding:10px 20px">
<span style="font-size: 27pt;font-weight: bold;">DISEGEL OLEH PETUGAS DIREKTORAT</span><br>
<br>
<span style="font-size: 21pt;font-weight: bold;">Tanggal : <span style="width:300px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
</tr>
<tr>
<td style="width:65%;text-align:left;padding:10px 0px 30px 20px">
<span style="font-size: 21pt;font-weight: bold;">Nama & Jabatan 1 : <span style="width:200px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
<td style="width:35%;text-align:left;padding:10px 20px 30px 0px">
<span style="font-size: 21pt;font-weight: bold;">ttd : <span style="width:180px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
</tr>
<tr>
<td style="width:65%;text-align:left;padding:10px 0px 30px 20px">
<span style="font-size: 21pt;font-weight: bold;">Nama & Jabatan 2 : <span style="width:200px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
<td style="width:35%;text-align:left;padding:10px 20px 30px 0px">
<span style="font-size: 21pt;font-weight: bold;">ttd : <span style="width:180px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
</tr>
<tr>
<td style="width:65%;text-align:left;padding:10px 0px 10px 20px">
<span style="font-size: 21pt;font-weight: bold;">Nama & Jabatan 3 : <span style="width:200px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
<td style="width:35%;text-align:left;padding:10px 20px 10px 0px">
<span style="font-size: 21pt;font-weight: bold;">ttd : <span style="width:180px; border-bottom:2px solid black;display:inline-block;">&nbsp;</span></span>
</td>
</tr>
<tr>
<td colspan="2" style="padding:20px 20px 0px">
<span style="width:100%; border-top:5px solid black;display:inline-block;">&nbsp;</span>
</td>
</tr>
<tr>
<td colspan="2" style="width:100%;text-align:center;padding:10px 20px">
<span style="font-size: 29pt;font-weight: bold;text-transform:capitalize;">dilarang membuka / merobek segel</span><br>
<br>
<span style="font-size: 29pt;font-weight: bold;">TANPA IZIN PETUGAS DIREKTORAT</span><br>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>