aarsregnskap module¶
- class Aarsregnskap¶
Bases:
ModuleBaseModule for displaying annual financial statements (Årsregnskap).
- module_number¶
Sequential ID of the module instance.
- Type:
int
- module_name¶
Name of the module class.
- Type:
str
- label¶
User-visible label of the module, shown as “Årsregnskap”.
- Type:
str
- icon¶
Emoji icon representing the module.
- Type:
str|Component
- module_layout¶
The UI layout object returned by
_create_layout().- Type:
Div|Tab
- icon: str | Component¶
- implemented_as: Optional[Literal['Tab', 'Window']]¶
- 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¶