26 lines
524 B
V
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")}
|
|
}
|