{# app/templates/admin/settings.html #} {% extends "admin/base.html" %} {% from 'shared/macros/alerts.html' import alert_dynamic, error_state %} {% from 'shared/macros/headers.html' import page_header_refresh %} {% from 'shared/macros/tabs.html' import tabs_nav, tab_button %} {% from 'shared/macros/inputs.html' import number_stepper %} {% block title %}Platform Settings{% endblock %} {% block alpine_data %}adminSettings(){% endblock %} {% block content %} {{ page_header_refresh('Platform Settings') }} {{ alert_dynamic(type='success', title='Success', message_var='successMessage', show_condition='successMessage') }} {{ error_state('Error', show_condition='error') }} {% call tabs_nav() %} {{ tab_button('display', 'Display', icon='view-grid') }} {{ tab_button('logging', 'Logging', icon='document-text') }} {{ tab_button('shipping', 'Shipping', icon='truck') }} {{ tab_button('system', 'System', icon='cog') }} {{ tab_button('security', 'Security', icon='shield-check') }} {{ tab_button('notifications', 'Notifications', icon='bell') }} {% endcall %}

Display Configuration

Configure how data is displayed across the admin interface.

Set the default number of rows shown in tables across the admin interface.

This setting applies to: Orders, Products, Customers, Inventory, and other tables.

When does this take effect?

Changes to the rows per page setting will apply immediately to all admin tables when refreshed.

Logging Configuration

Configure application logging behavior, file rotation, and retention policies.

Changes take effect immediately without restart.

{{ number_stepper(model='logSettings.log_file_max_size_mb', min=1, max=1000, step=10, label='Max File Size') }}

Log file will rotate when it reaches this size.

{{ number_stepper(model='logSettings.log_file_backup_count', min=0, max=50, step=1, label='Backup File Count') }}

Number of rotated backup files to keep.

{{ number_stepper(model='logSettings.db_log_retention_days', min=1, max=365, step=7, label='Retention Days') }}

Logs older than this will be automatically deleted from database.

File Logging

Write logs to rotating files on disk

Database Logging

Store WARNING/ERROR/CRITICAL logs in database for searching

File rotation settings require application restart to take effect.

Quick Actions

View Logs

Shipping & Carrier Configuration

Configure shipping carrier label URL prefixes. These are used to generate shipping label download links.

The shipment number will be appended to this URL. Default for Letzshop: https://dispatchweb.fr/Tracky/Home/

Enter the tracking URL prefix for Colissimo shipments.

Enter the tracking URL prefix for XpressLogistics shipments.

How label URLs work

When viewing an order, the system will combine the URL prefix with the shipment number to create a downloadable label link.

Example: https://dispatchweb.fr/Tracky/Home/ + H74683403433

System Configuration

General system settings and configuration options.

System settings coming soon...

Security Configuration

Security and authentication settings.

Security settings coming soon...

Notification Settings

Configure platform notification preferences and delivery channels.

For detailed notification management including templates and delivery logs, visit the full Notifications page in Platform Monitoring.

Email Notifications

Send notification emails for important events

In-App Notifications

Show notifications in the admin interface

Critical Alerts Only

Only receive notifications for critical system events

{% endblock %} {% block extra_scripts %} {% endblock %}