Skip to content

Instantly share code, notes, and snippets.

@moeamaya
Created June 21, 2017 19:05
Show Gist options
  • Save moeamaya/b0c242a9514a072c2e2d4d2ede3c0dbe to your computer and use it in GitHub Desktop.
Save moeamaya/b0c242a9514a072c2e2d4d2ede3c0dbe to your computer and use it in GitHub Desktop.
var DATA = {
// Overall totals
total_fee: 1700500, // dollars
total_production: 1200500, // dollars
total_pm: 150500, // dollars
total_consultants: 200500, // dollars
total_reserve: 130500, // dollars
// Calendar Parameters
start_date: new DATE(),
duration: 24, // months
delivery_method: 'DBB'
// FSB Fee
construction_cost: 0, // dollar amount
fsb_services_basic_integer: 0, // dollar amount
fsb_services_basic_percentage: 100, // 0-100
fsb_services_additional: [ // beyond arch services
{
type: 'LEED',
amount: 0
}
],
// FSB Budget
fsb_pm_budget_percentage: 0, // 0-100
fsb_consultant_fees: [ // dropdown from database
{
type: 'Civil',
amount: 0
}
],
// Calendar Worksheet
phases: [ // list from database
{
type: 'Prom',
percent: 0, // 0-100
days_cal: 0,
days_work: 0,
start: start_date
}
]
// Fee Sources
fee_sources: [
// Basic Services
{
discipline: [ // list from database
// P:PD
{
type: 'P:PD', // static
rate: 140, // static
percent: 9, // 0-100
hours: 1093,
fee: 153000, // dollars
hours_by_phase: [ // phases.forEach()
{
type: 'Prom'
percent: 0, // 0-100
hours: 0
},
{
type: 'PreD'
percent: 0, // 0-100
hours: 0
},
{
type: 'SD'
percent: 0, // 0-100
hours: 0
}
]
}
]
}
]
} // DATA
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment