export function renderSettingsPage() { return `

Client Settings

Connection & workspace

These values are stored locally and reused to start the Tryton user application flow.

Integration notes

  • Connection uses Tryton user application keys for the kitchen application.
  • Kitchen-scoped requests are built as /{database}/kitchen/{kitchenId}/....
  • Label preview accepts image blobs, image URLs, or SVG payloads.
`; } export function settingsPageData(store) { return { form: { baseUrl: store.config.baseUrl || '', database: store.config.database || '', }, save() { store.setConfig({ baseUrl: this.form.baseUrl.trim(), database: this.form.database.trim(), }); store.addAlert({ type: 'success', message: 'Settings saved locally.' }); }, }; }