"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4.""" from core.modules.model import Limit, Module, Mount, Perm MODULE = Module( key='history', kind='feature', name='Order history', description='Past orders and business-day summaries (read-only). Free, with a short history.', permissions=( Perm('history.view', 'See past orders and day summaries', roles=('owner', 'store_manager', 'staff_manager')), ), limits=( Limit('history_days', 'Days of history that can be viewed', free=31, licensed_default=None), ), routers=( Mount('routers.reports', '/api/reports', attr='history_router'), ), )