Files
herolib/lib/biz/bizmodel/play_pl.v
2025-11-30 08:59:38 +01:00

26 lines
524 B
V

module bizmodel
import arrays
import incubaid.herolib.core.playbook
import incubaid.herolib.ui.console
// revenue_total calculates and aggregates the total revenue and cost of goods sold (COGS) for the business model
fn (mut sim BizModel) pl_total() ! {
mut sheet := sim.sheet
// sheet.pprint(nr_columns: 10)!
_ := sheet.group2row(
name: 'pl_summary'
include: ['pl']
tags: 'summary'
descr: 'Cashflow Summary'
)!
// sheet.pprint(nr_columns: 10)!
// println(pl_total)
// if true{panic("sdsd")}
}