From d7f0488f6e6c99526075c83e16e138f03ef977f2 Mon Sep 17 00:00:00 2001 From: Luca <102960244+Luca-Timo@users.noreply.github.com> Date: Wed, 3 Jun 2026 13:12:28 +0200 Subject: [PATCH] feat(crm): cross-link to CRM settings from quote + invoice editors MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Add a 'Configure defaults in Settings' link (opens Settings → CRM in a new tab) under the payment-conditions section of the quote and invoice editors, so the admin can jump to the payment-term / Skonto / numbering defaults without hunting for the settings page. --- frontend/src/i18n/locales/de.json | 1 + frontend/src/i18n/locales/en.json | 1 + frontend/src/pages/admin/bills/BillEditorPage.tsx | 4 ++++ frontend/src/pages/admin/quotes/QuoteEditorPage.tsx | 4 ++++ 4 files changed, 10 insertions(+) diff --git a/frontend/src/i18n/locales/de.json b/frontend/src/i18n/locales/de.json index b1866d74..2f38fb2a 100644 --- a/frontend/src/i18n/locales/de.json +++ b/frontend/src/i18n/locales/de.json @@ -76,6 +76,7 @@ "common": { "loading": "Wird geladen...", "error": "Fehler", + "configureInSettings": "Standards in den Einstellungen anpassen ↗", "save": "Speichern", "cancel": "Abbrechen", "delete": "Löschen", diff --git a/frontend/src/i18n/locales/en.json b/frontend/src/i18n/locales/en.json index 64a55130..8398ddc1 100644 --- a/frontend/src/i18n/locales/en.json +++ b/frontend/src/i18n/locales/en.json @@ -76,6 +76,7 @@ "common": { "loading": "Loading...", "error": "Error", + "configureInSettings": "Configure defaults in Settings ↗", "save": "Save", "cancel": "Cancel", "delete": "Delete", diff --git a/frontend/src/pages/admin/bills/BillEditorPage.tsx b/frontend/src/pages/admin/bills/BillEditorPage.tsx index f336b417..f20c22e0 100644 --- a/frontend/src/pages/admin/bills/BillEditorPage.tsx +++ b/frontend/src/pages/admin/bills/BillEditorPage.tsx @@ -653,6 +653,10 @@ export const BillEditorPage: React.FC = () => { only has the single FK still resolve their preview text. */}

{t('bills.section.payment', 'Payment conditions')}

+ + {t('common.configureInSettings', 'Configure defaults in Settings ↗')} +
diff --git a/frontend/src/pages/admin/quotes/QuoteEditorPage.tsx b/frontend/src/pages/admin/quotes/QuoteEditorPage.tsx index 9f6c380c..1b0fb26d 100644 --- a/frontend/src/pages/admin/quotes/QuoteEditorPage.tsx +++ b/frontend/src/pages/admin/quotes/QuoteEditorPage.tsx @@ -536,6 +536,10 @@ export const QuoteEditorPage: React.FC = () => { below now reads from the timing template. */}

4. {t('quotes.section.payment', 'Payment conditions')}

+ + {t('common.configureInSettings', 'Configure defaults in Settings ↗')} +