bizmodel example report export wip

This commit is contained in:
timurgordon
2025-02-18 23:23:26 +03:00
parent 5e468359a1
commit cc344fa60e
10 changed files with 199 additions and 58 deletions

View File

@@ -0,0 +1,14 @@
module bizmodel
import os
import freeflowuniverse.herolib.web.docusaurus
const bizmodel_name = 'test'
const export_path = os.join_path(os.dir(@FILE), 'testdata')
pub fn test_export_report() ! {
model := getset(bizmodel_name)!
model.export_report(Report{
title: 'My Business Model'
}, path: export_path)!
}