aarsregnskap module

class Aarsregnskap

Bases: ModuleBase

Module for displaying annual financial statements (Årsregnskap).

module_number

Sequential ID of the module instance.

module_name

Name of the module class.

label

User-visible label of the module, shown as “Årsregnskap”.

icon

Emoji icon representing the module.

module_layout

The UI layout object returned by _create_layout().

icon: str | Component
label: str
layout()

Generates the layout for the Årsregnskap module.

Returns:

A Div element containing input fields for year and organization number, and an iframe to display the PDF content.

Return type:

Div

module_callbacks()

Registers Dash callbacks for the Årsregnskap module.

Return type:

None

module_id: str
module_layout: Div | Tab
module_name: str
module_number: int