GivingForecast Html¶
Suggestion: Right-click the link and select the “Open link in a new window” item then arrange your windows you can view side by side.
Explanation of the code¶
Line 1
sets the title of the report using JavaScript.
Line 2
replaces {style} with the actual stylesheet (see Giving Forecast Style HTML).
Line 15
replaces ${monthly:,.0f} with the monthly $ amount using Python’s format function.
Line 19
replaces ${projected:,.0f} with the projected annual $ amount using Python’s format function.
Lines 38-40
{member}, {nonmember} and {combined} will be replaced with the appropriate HTML table row
(generated by the NewRow function in GivingForecast Python Script)