fix(arch): resolve all 14 architecture validation warnings
Some checks failed
Some checks failed
- Add missing module dependency declarations (IMPORT-002): analytics requires catalog/inventory/marketplace/orders, orders requires marketplace, inventory requires orders - Replace broad except Exception with specific types (EXC-003): StoreNotFoundException in auth_service, PlatformNotFoundException in admin_subscription_service, SQLAlchemyError in customer_service - Use number_stepper macro in loyalty program-edit template (FE-008) Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
{% from 'shared/macros/headers.html' import detail_page_header %}
|
||||
{% from 'shared/macros/alerts.html' import loading_state, error_state %}
|
||||
{% from 'shared/macros/modals.html' import confirm_modal %}
|
||||
{% from 'shared/macros/inputs.html' import number_stepper %}
|
||||
|
||||
{% block title %}Program Configuration{% endblock %}
|
||||
|
||||
@@ -61,8 +62,7 @@
|
||||
<div class="grid gap-6 md:grid-cols-2">
|
||||
<div>
|
||||
<label class="block text-sm font-medium text-gray-700 dark:text-gray-300 mb-2">Points per EUR spent</label>
|
||||
<input type="number" min="1" max="100" x-model.number="settings.points_per_euro"
|
||||
class="w-full px-4 py-2 text-sm border border-gray-300 dark:border-gray-600 rounded-lg focus:border-purple-400 focus:outline-none dark:bg-gray-700 dark:text-gray-300">
|
||||
{{ number_stepper(model='settings.points_per_euro', min=1, max=100, label='Points per EUR spent') }}
|
||||
<p class="mt-1 text-xs text-gray-500">1 EUR = <span x-text="settings.points_per_euro || 1"></span> point(s)</p>
|
||||
</div>
|
||||
<div>
|
||||
|
||||
Reference in New Issue
Block a user