accounting.report package
Subpackages
- accounting.report.period package
- Submodules
- accounting.report.period.chooser module
PeriodChooserPeriodChooser.all_urlPeriodChooser.available_yearsPeriodChooser.data_startPeriodChooser.has_dataPeriodChooser.has_last_monthPeriodChooser.has_last_yearPeriodChooser.has_yesterdayPeriodChooser.last_month_urlPeriodChooser.last_year_urlPeriodChooser.since_last_month_urlPeriodChooser.this_month_urlPeriodChooser.this_year_urlPeriodChooser.today_urlPeriodChooser.url_templatePeriodChooser.year_url()PeriodChooser.yesterday_url
- accounting.report.period.description module
- accounting.report.period.month_end module
- accounting.report.period.parser module
- accounting.report.period.period module
PeriodPeriod.beforePeriod.descPeriod.endPeriod.is_a_dayPeriod.is_a_monthPeriod.is_a_yearPeriod.is_allPeriod.is_defaultPeriod.is_last_monthPeriod.is_last_yearPeriod.is_since_last_monthPeriod.is_this_monthPeriod.is_this_yearPeriod.is_todayPeriod.is_type_arbitraryPeriod.is_type_monthPeriod.is_year()Period.is_yesterdayPeriod.specPeriod.start
- accounting.report.period.shortcuts module
- accounting.report.period.specification module
- Module contents
- accounting.report.reports package
- Submodules
- accounting.report.reports.balance_sheet module
- accounting.report.reports.income_expenses module
- accounting.report.reports.income_statement module
- accounting.report.reports.journal module
- accounting.report.reports.ledger module
- accounting.report.reports.search module
- accounting.report.reports.trial_balance module
- accounting.report.reports.unapplied module
- accounting.report.reports.unapplied_accounts module
- accounting.report.reports.unmatched module
- accounting.report.reports.unmatched_accounts module
- Module contents
- accounting.report.utils package
- Submodules
- accounting.report.utils.base_page_params module
- accounting.report.utils.base_report module
- accounting.report.utils.csv_export module
- accounting.report.utils.offset_matcher module
- accounting.report.utils.option_link module
- accounting.report.utils.report_chooser module
- accounting.report.utils.report_type module
- accounting.report.utils.unapplied module
- accounting.report.utils.unmatched module
- accounting.report.utils.urls module
- Module contents
Submodules
accounting.report.converters module
The path converters for the report management.
- class accounting.report.converters.CurrentAccountConverter(map: Map, *args: t.Any, **kwargs: t.Any)
Bases:
BaseConverterThe converter to convert the current account code from and to the corresponding account in the routes.
- to_python(value: str) CurrentAccount
Converts an account code to an account.
- Parameters:
value – The account code.
- Returns:
The corresponding account.
- to_url(value: CurrentAccount) str
Converts an account to account code.
- Parameters:
value – The account.
- Returns:
Its code.
- class accounting.report.converters.NeedOffsetAccountConverter(map: Map, *args: t.Any, **kwargs: t.Any)
Bases:
BaseConverterThe converter to convert the unapplied original line item account code from and to the corresponding account in the routes.
- class accounting.report.converters.PeriodConverter(map: Map, *args: t.Any, **kwargs: t.Any)
Bases:
BaseConverterThe converter to convert the period specification from and to the corresponding period in the routes.
accounting.report.template_filters module
The template filters for the reports.
- accounting.report.template_filters.format_amount(value: Decimal | None) str | None
Formats an amount for the report.
- Parameters:
value – The amount.
- Returns:
The formatted amount text.
accounting.report.views module
The views for the report management.
- accounting.report.views.bp: Blueprint = <Blueprint 'accounting-report'>
The view blueprint for the reports.
Module contents
The report management.
- accounting.report.init_app(app: Flask, url_prefix: str) None
Initialize the application.
- Parameters:
app – The Flask application.
url_prefix – The URL prefix of the accounting application.
- Returns:
None.