Sylius / AdminOrderCreationPlugin

Create orders in Sylius as an Administrator
MIT License
56 stars 50 forks source link

Unknown locale filter #154

Open artyom-wcd opened 4 years ago

artyom-wcd commented 4 years ago

in vendor/sylius/admin-order-creation-plugin/src/Resources/views/Order/preview.html.twig:31 {{ flags.fromLocaleCode(order.localeCode) }}{{ order.localeCode|locale }} there is an error when creating an order (on order preview page /admin/orders/new/24/DE_SHOP/preview)

Text of the error: Uncaught PHP Exception Twig\Error\SyntaxError: "Unknown "locale" filter. Did you mean "locale_name", "sylius_locale_name", "sylius_locale_country"?" at /srv/sylius/vendor/sylius/admin-order-creation-plugin/src/Resources/views/Order/preview.html.twig line 31

nathanjrobertson commented 4 years ago

Yep, I've got the exact same issue. PR #150 apparently resolves it.