Cetaklabel/Resources/views/app/document/odner.blade.php
daeng.deni@dharma.or.id a9556ffdd3 Update Module Document
- Add Cetak Label
- Add Cetak Odner
- Add Generate QRCode
- Add Cetak Segel
- Add List Document Setiap Cetak Labeld Dus Atau Odner
2023-05-25 08:53:06 +07:00

104 lines
3.5 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: 49mm;
text-align: center;
margin: 10px auto;
border: 1px solid black;
font-family: Arial;
}
.list {
width: 100%;
border-collapse: collapse;
}
.list th, .list td {
border: 1px solid black;
}
@media print {
.pagebreak { page-break-before: always; } /* page-break-after works, as well */
}
</style>
</head>
<body>
<table cellspacing="0" cellpadding="0" style="table-layout: fixed;">
<tbody>
<tr style="height:20mm;table-layout:fixed;">
<td style="width:49mm;background-color: #223d84;">
<img src="{{ url('storage/img_2.png') }}" alt="" style="max-width:99%;">
</td>
</tr>
<tr style="height:20mm;table-layout:fixed;">
<td style="width:49mm;background-color: #ffc000;">
<span style="font-size:16pt;font-weight:bold">FILE<br>MANAGEMENT</span>
</td>
</tr>
<tr style="height:92mm;max-height:92mm;table-layout:fixed;display:inline-block">
<td colspan="2">
<span style="font-size:36pt;font-weight:bold">{{ $document_detail->document->directorat->kode }}.{{ $document_detail->document->sub_directorat->kode }}</span><br>
<span style="font-size:24pt;font-weight:bold">{{ $document_detail->document->job->kode }}.{{ $document_detail->document->sub_job->kode }}</span><br>
<span style="font-size:18pt;">{{ $document_detail->document->sub_job->name }}</span><br><br>
<span style="font-size:18pt;">{{ $document_detail->document->sequence_dus }}</span><br><br><br>
<span class="qrcode">{!! QrCode::size(75)->generate($document_detail->document->job->kode) !!}</span><br><br><br><br><br>
<span style="font-size:14pt;">PERIODE</span>
</td>
</tr>
<tr style="height:20mm;table-layout:fixed;background-color: #000066;">
<td colspan="2" style="font-size:14pt;color:white;padding:0px;line-height: 30px;">
<span>Bln/Thn</span><br>
<span style="font-size:10pt;">{{ $start }} s.d {{ $last }}</span>
</td>
</tr>
</tbody>
</table>
<div class="pagebreak"> </div>
<table cellspacing="0" cellpadding="0" style="border:none" class="list">
<thead>
<tr >
<td colspan="10" style="text-align:center;">List Document</td>
</tr>
<tr>
<td>No</td>
<td>Kode</td>
<td>Nomor Dokumen</td>
<td>Document Type</td>
<td>Perihal</td>
<td>Kategori</td>
<td>Jumlah Halaman</td>
<td>Tanggal Dokumen</td>
<td>Tanggal Upload</td>
</tr>
</thead>
<tbody>
@foreach($document->document_details as $detail)
<tr>
<td>{{ $loop->iteration }}</td>
<td>{{ $detail->kode }}</td>
<td>{{ $detail->nomor_dokumen }}</td>
<td>{{ $detail->document_type->name }}</td>
<td>{{ $detail->perihal }}</td>
<td>{{ $detail->kategori }}</td>
<td>{{ $detail->jumlah_halaman }}</td>
<td>{{ $detail->tanggal_dokumen }}</td>
<td>{{ $detail->tanggal_upload }}</td>
</tr>
@endforeach
</tbody>
</table>
</body>
</html>