Giving Forecast HTML

To install this code, copy all of the code below. Create a new text document in Special Content using the name GivingForecastHtml. Then paste the code into the Source view of the HTML editor.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<script>document.title = "Recurring Giving Forecast"</script>
{style}
<div class="dash">
    <h3>Recurring Giving Forecast</h3>
    <table class="table">
    <thead>
        <tr>
            <th>Item</th>
            <th class="right">Amount</th>
        </tr>
    </thead>
    <tbody>
        <tr>
            <th>Monthly recurring gifts to Main fund</th>
            <td class="right">${monthly:,.0f}</td>
        </tr>
        <tr>
            <th>Projected next 12 months recurring giving (monthly x 12)</th>
            <td class="right">${projected:,.0f}</td>
        </tr>
    </tbody>
    </table>

    <h3>By households: Members vs. Non-Members</h3>
    <table class="table">
    <thead>
        <tr>
            <th></th>
            <th># of Households</th>
            <th># with Recurring</th>
            <th>% with Recurring</th>
            <th>Monthly Recurring ($)</th>
            <th>% of Total Amt</th>
            <th>Annual Projection ($)</th>
        </tr>
        </thead>
        <tbody>
            <tr>{member}</tr>
            <tr>{nonmember}</tr>
            <tr>{combined}</tr>
        </tbody>
        <tfoot>
            <tr><td colspan="7" class="left">
                <h5><b>Notes</b>:<br>
                <b>Member Households</b>: Family unit where at least one of the primary adults is a member Mount Pisgah Church.<br>
                <b>Non-Member Households</b>: Active family unit where none of the primary adults is a member of Mount Pisgah Church.
                </h5>
            </td></tr>
        </tfoot>
    </table>
</div>