From 768f5650df4b1baf6a86e0d70606c9697716e101 Mon Sep 17 00:00:00 2001 From: Grzegorz Sadowski Date: Wed, 4 Dec 2024 10:55:29 +0100 Subject: [PATCH] Rename logo parameters to be consistent with others --- UPGRADE.md | 2 ++ config/config.yaml | 2 +- config/services.xml | 4 ++-- config/services/generators.xml | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/UPGRADE.md b/UPGRADE.md index 7bf363bf..45205c0a 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -132,6 +132,8 @@ | Old | New | |------------------------------------------------------------|-----------------------------------------------------| +| default_logo_file | sylius_invoicing.default_logo_file | +| sylius.invoicing.template.logo_file | sylius_invoicing.template.logo_file | | sylius_invoicing_plugin.controller.billing_data.class | sylius_invoicing.controller.billing_data.class | | sylius_invoicing_plugin.controller.invoice.class | sylius_invoicing.controller.invoice.class | | sylius_invoicing_plugin.controller.invoice_sequence.class | sylius_invoicing.controller.invoice_sequence.class | diff --git a/config/config.yaml b/config/config.yaml index ad515950..1adae41e 100644 --- a/config/config.yaml +++ b/config/config.yaml @@ -5,7 +5,7 @@ parameters: sylius_invoicing: pdf_generator: allowed_files: - - '%env(default:default_logo_file:resolve:SYLIUS_INVOICING_LOGO_FILE)%' + - '%env(default:sylius_invoicing.default_logo_file:resolve:SYLIUS_INVOICING_LOGO_FILE)%' sylius_mailer: emails: diff --git a/config/services.xml b/config/services.xml index 3c74a68c..47ea616a 100644 --- a/config/services.xml +++ b/config/services.xml @@ -21,8 +21,8 @@ - @SyliusInvoicingPlugin/assets/sylius-logo.png - %env(default:default_logo_file:resolve:SYLIUS_INVOICING_LOGO_FILE)% + @SyliusInvoicingPlugin/assets/sylius-logo.png + %env(default:sylius_invoicing.default_logo_file:resolve:SYLIUS_INVOICING_LOGO_FILE)% diff --git a/config/services/generators.xml b/config/services/generators.xml index 3c314fe5..2c6ec713 100644 --- a/config/services/generators.xml +++ b/config/services/generators.xml @@ -49,7 +49,7 @@ @SyliusInvoicingPlugin/Invoice/Download/pdf.html.twig - %sylius.invoicing.template.logo_file% + %sylius_invoicing.template.logo_file%