2021-06-12 17:21:12 +02:00
|
|
|
<html>
|
|
|
|
|
|
|
|
<head>
|
|
|
|
<title>{{ $product->name }}</title>
|
2023-06-03 17:36:01 +02:00
|
|
|
<link href="{{ $U('/packages/@fontsource/open-sans/latin.css?v=', true) }}{{ $version }}"
|
2021-06-12 17:21:12 +02:00
|
|
|
rel="stylesheet">
|
|
|
|
<style>
|
|
|
|
body {
|
2023-05-20 09:31:03 +02:00
|
|
|
font-family: 'Open Sans', sans-serif;
|
2021-06-12 17:21:12 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
img {
|
|
|
|
float: left;
|
|
|
|
margin-right: .5rem;
|
|
|
|
max-height: 25px;
|
|
|
|
width: auto;
|
|
|
|
margin-top: 2px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.productname {
|
|
|
|
font-size: 20px;
|
|
|
|
display: inline-block;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
|
|
|
|
<body>
|
|
|
|
<p>
|
2021-06-28 17:00:16 +02:00
|
|
|
<!-- Size gets determined by CSS, so printing works better (more pixels = sharper printed image).
|
2021-06-12 17:21:12 +02:00
|
|
|
Unfortunately, this also means the code is blurred on screen. -->
|
|
|
|
<img src="{{ $U('/stockentry/'. $stockEntry->id . '/grocycode?size=100') }}">
|
|
|
|
<span class="productname">{{ $product->name }}</span><br>
|
|
|
|
@if (GROCY_FEATURE_FLAG_STOCK_BEST_BEFORE_DATE_TRACKING)
|
|
|
|
<span>{{ $__t('DD') }}: {{ $stockEntry->best_before_date }}</span>
|
|
|
|
@endif
|
|
|
|
</p>
|
|
|
|
</body>
|
|
|
|
|
2021-06-24 22:46:47 +02:00
|
|
|
</html>
|