PDF Fusszeile und watermak mandantenfähig gemacht.
This commit is contained in:
@@ -35,6 +35,8 @@ if ($canManageSettings) {
|
||||
'pdf_show_empty_rows' => !empty($_POST['pdf_show_empty_rows']) ? 1 : 0,
|
||||
'pdf_split_mode' => $_POST['pdf_split_mode'] ?? 'drinking_behavior',
|
||||
'pdf_row_height_px' => $_POST['pdf_row_height_px'] ?? 16,
|
||||
'pdf_watermark_text' => $_POST['pdf_watermark_text'] ?? '',
|
||||
'pdf_footer_text' => $_POST['pdf_footer_text'] ?? '',
|
||||
];
|
||||
}
|
||||
} else {
|
||||
@@ -132,6 +134,14 @@ include 'nav.php';
|
||||
<label for="pdf_row_height_px">Zeilenhöhe im Ausdruck (10–60px)</label>
|
||||
<input type="number" name="pdf_row_height_px" id="pdf_row_height_px" min="10" max="60" value="<?php echo saas_html($settings['pdf_row_height_px']); ?>" required>
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label for="pdf_watermark_text">Wasserzeichen-Text im Ausdruck (leer = kein Wasserzeichen)</label>
|
||||
<input type="text" name="pdf_watermark_text" id="pdf_watermark_text" maxlength="500" value="<?php echo saas_html($settings['pdf_watermark_text']); ?>">
|
||||
</div>
|
||||
<div class="col-12">
|
||||
<label for="pdf_footer_text">Hinweis in der Fußzeile des Ausdrucks (leer = keine Fußzeile)</label>
|
||||
<input type="text" name="pdf_footer_text" id="pdf_footer_text" maxlength="500" value="<?php echo saas_html($settings['pdf_footer_text']); ?>">
|
||||
</div>
|
||||
</div>
|
||||
<ul class="actions">
|
||||
<li><button type="submit">Speichern</button></li>
|
||||
|
||||
Reference in New Issue
Block a user