Suche-Druck: eigenes Standard-Template je Typ (format_templates.search_default)

Neues Boolean-Feld search_default an format_templates: je ein Brief- und
ein Kuvert-Template als Standard für den Schnelldruck im Suche-Reiter
markieren. Der Schnelldruck bevorzugt dieses Template, sonst das dem
Auftragsformat zugeordnete Standard (default_format), sonst den Fallback.
Kann bewusst dasselbe Template wie das normale Standard sein.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
s4luorth
2026-09-21 17:23:49 +02:00
parent abf60cda0e
commit 5495b3a4d5
2 changed files with 9 additions and 5 deletions

View File

@@ -413,6 +413,7 @@ const collections = [
f('name', 'string', { interface: 'input', required: true }),
dropdown('type', ['brief', 'umschlag', 'signatur'], { default: 'brief' }),
f('default_format', 'string', { interface: 'input', note: 'Standard-Template für dieses Format (Format-Key: a4, a6_hoch, a6_quer, dinlang, c6). Leer = kein Standard.' }),
f('search_default', 'boolean', { interface: 'boolean', default: false, note: 'Als Standard-Template für den Schnelldruck im Suche-Reiter verwenden (je ein Brief- und ein Kuvert-Template markieren). Kann dasselbe wie das normale Standard sein.' }),
f('width', 'float', { interface: 'input', note: 'Zoll' }),
f('height', 'float', { interface: 'input', note: 'Zoll' }),
f('xpos', 'float', { interface: 'input', default: 0 }),