Fix image update in edit, QR code generation and translations
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>QR Code for {{ item.name }}</title>
|
||||
<title>{{ trans('QR Code') }} for {{ item.name }}</title>
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; text-align: center; margin: 20px; }
|
||||
.qr-container { border: 1px solid #000; padding: 20px; display: inline-block; }
|
||||
@@ -16,7 +16,7 @@
|
||||
<body>
|
||||
<div class="qr-container">
|
||||
<h2>{{ item.name }}</h2>
|
||||
<p>ID Code: {{ item.id_code }}</p>
|
||||
<p>{{ trans('ID Code') }}: {{ item.id_code }}</p>
|
||||
<img src="/uploads/qr/{{ item.id_code }}.svg" alt="QR Code" class="qr-code">
|
||||
<div class="details">
|
||||
<p><strong>Description:</strong> {{ item.description }}</p>
|
||||
@@ -27,7 +27,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div style="text-align: center; margin-top: 20px;">
|
||||
<button onclick="window.close()">Sluit</button>
|
||||
<button onclick="window.close()">{{ trans('Close') }}</button>
|
||||
</div>
|
||||
<script>
|
||||
window.print();
|
||||
|
||||
Reference in New Issue
Block a user