.. include:: /Includes.rst.txt .. _feature-1791379855: ============================== Feature: Report period presets ============================== Description =========== A report with a date range takes the parameter ``period`` instead of ``from`` and ``to``: ``thisMonth``, ``lastMonth``, ``last30Days``, ``last90Days``, ``thisQuarter``, ``yearToDate``, ``lastYear``, ``allTime`` or ``custom``, resolved on the company's local day; the result states the dates. A report names the presets it takes (``periodPresets`` in the definition, all but ``allTime`` unless it says otherwise); a preset together with dates is refused. Impact ====== None. .. index:: Backend, API, package:adsum-reporting