|
XFL Simworld
Organization Report Table.
|
## Creating a Horizontal Table with Forio Macro Language
## Time is displayed in columns (the way most spreadsheets display time)
#set ($TableVarList = ["revenue","annual_ticket_sales","parking_revenue","total_stadium_ad_revenue","tv_contract_draw_down_revenue","noi","expenses","insurance_costs","markerting_expense","tax_expenses", "total_player_salaries","travel_costs","payroll_expense"])
#set ($TimeRange = [0..$ModelInfo.EndStep])
## Display the header row
TIME |
#foreach( $step in $TimeRange)
$ModelInfo.convertStepToTime($step) |
#end
## Display each data row
#foreach( $VariableName in $TableVarList)
$Values.get($VariableName).Label |
#foreach( $step in $TimeRange)
#if($step <= $ModelInfo.SimStep)
$Values.get($VariableName).getResultFormatted($step) |
#else
|
#end
#end
#end
|