PEOPLE: My People (responses set to me)
Imports: 1

A short explanation. . .

Preview

Report Preview


 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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
<!--
IMPORTANT INFO:

This report will print all people assigned to the current logged in user.
You can assign each person manually when you schedule them.
You can also set the default "replies to" person for each category to have it automatically assigned.
For help with setting the "replies to" person, see the following article:
http://help.planningcenteronline.com/s/planning-center/m/planning-center/l/49297-changing-the-replies-to-person-for-a-people-category
-->

<html>
    <head>
        <title>{{ plan.ministry.name }}:: {{ plan.dates }}</title>
        <style>
            * { font-family: Verdana, Arial; font-size: 10pt; }
            body { padding:0; margin:0; }

.people {
width: 100%;
border-collapse: collapse;
margin: 5px auto;
padding: 5px;
}

.people th {
background-color: #DDD;
font-size: 12pt;
text-align: center;
padding: 2px;
vertical-align: center;
border: solid 1px black;
}

.people td {
padding: 2px;
vertical-align: top;
border: solid 1px black;
}&nbsp;
            H1 { text-align: center; padding: 0; margin: 0; font-size: 28pt; }
            H2 { text-align: center; padding: 0; margin: 0; font-size: 18pt; }
            H3 { text-align: center; padding: 0; margin: 0; font-size: 12pt; font-style: italic; }
            H4 { text-align: center; padding: 0; margin: 0; font-size: 10pt }
            PRE { margin: 0; padding: 0; }
			.ministry_title { font-size: 28pt; font-weight: bold; text-align: center; border-bottom: dashed 1px black;}
			.plan_dates { text-align: center; font-weight: bold; font-size: 14pt; }
			.series_title { text-align: right; }

        </style>
    </head>
    <body>
	<table width="100%">
		<tr>
			<td colspan=3 class="ministry_title">{{ plan.ministry.name }}</td>
		</tr>
		<tr>
			<td class="plan_title" width="25%">{{ plan.plan_title }}</td>
			<td class="plan_dates" width="50%">{{ plan.dates }}</td>
			<td class="series_title" width="25%">{{ plan.series_title }}</td>
		</tr>
	</table>
	<br>
	<table class="people">
            {% for plan_person in plan.plan_people_not_declined %}
		{% if plan_person.person %}
                     {% if plan_person.respond_to == current_user.id %}
			<tr>
			{% if last_category != plan_person.category.id%}
				{% if last_category != null %}
					<td colspan=5 style="border-left: none; border-right: none; height: 20px; "></td>
					</tr><tr>
				{% endif %}
				<th colspan=5 >{{ plan_person.category.name }}</th>
				</tr><tr>
			{% endif %} 
               		{% assign last_category = plan_person.category.id %}
                 		<td style="padding: 0; width:40px; height:40px;">{% if plan_person.person.photo_thumbnail_url != "/assets/no_photo_thumbnail.gif" %}<img src="{{ plan_person.person.photo_thumbnail_url }}" width=40 />{% endif %}</td>
                 		<td>{{ plan_person.position }}</td>
	        	    	<td {% if plan_person.status == 'D' %} style="text-decoration: line-through;"{% endif %}>{{ plan_person.person.name }}{% if plan_person.status == 'U' %} <img src="https://www.planningcenteronline.com/assets/icon_plan_person_u.gif" />{% endif %}</td>
                		<td>
					{% for email in plan_person.person.emails %}
						<div>{{ email.address }}</div>
					{% endfor %} 
				</td><td>
                			{% for phone_number in plan_person.person.phone_numbers %}
						<div>{{ phone_number.type_name }}: {{ phone_number.number }} {{ phone_number.extension }}</div>
					{% endfor %}
				</td>
			</tr>
                     {% endif %}
		{% endif %}
	     {% endfor %}
        </table>
    </body>
</html>