Skip to main content

Crate ravenrs_app_report

Crate ravenrs_app_report 

Source
Expand description

Reports of the lists of a business application: an action that lays out a list and shows it in the document viewer, from where it prints and exports.

use ravenrs_app::{Application, EntityInfo, FieldInfo, FieldKind};
use ravenrs_app_report::ReportModule;
use ravenrs_app_ui::SystemModule;

let account = EntityInfo::new("Account")
    .navigation("Records")
    .field(FieldInfo::new("id", FieldKind::Integer).key())
    .field(FieldInfo::new("name", FieldKind::Text));
let application = Application::builder("Accounts")
    .module(SystemModule::new())
    .module(ReportModule::new("Report"))
    .entity(account)
    .build()?;

Structs§

AnalyticsModule
Panels people put together and keep. Storage has to know analytics_entities.
ReportModule
Gives every list an action that shows it as a report.
ReportWords
What the screens of stored reports say.
StoredReportsModule
Reports people create, keep and run: the records, showing and designing them, and showing a list in one. Storage has to know report_entity.

Constants§

ANALYTICS_DASHBOARD
The entity of the panels people keep.
ANALYTICS_TILE
The entity of their tiles.
PT_BR
Their words in Brazilian Portuguese, as a difference for translation.
REPORT
The id of the action that shows the report of a list.
REPORT_DEFINITION
The entity of the reports people keep.

Functions§

analytics_entities
The entities of panels, which storage has to know. Their tiles are edited on the panel’s own form, so the designer is the screens every record gets.
report_entity
The entity of stored reports, which storage has to know. Who can see or change one goes by the permissions on it, as for any other record.