Shows all events occurring, by date, within the report's date range. This report shows the rooms and resources used by the event, along with their approval status. It does not show detailed information such as custom questions, rooms setups, etc. This is a Planning Center Calendar Default Report
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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<!DOCTYPE html>
<html>
<head>
<title>Basic {{ report.kind | capitalize }} Report by Date</title>
<link rel="stylesheet" type="text/css" media="all" href="{{ report.stylesheet_href }}">
</head>
<body>
<div class="report-wrapper">
<h1 class="header-large txt-center gutter-bottom-small">Basic {{ report.kind | capitalize }} Report by Date</h1>
<h2 class="header-medium txt-center soft gutter-bottom-large">{{ report.scope }}: {{ report.start_date }} through {{ report.end_date }}</h2>
{% if report.org_twenty_four_hour_time? %}
{% assign time_format = "%H:%M" %}
{% else %}
{% assign time_format = "%-I:%M%P" %}
{% endif%}
{% if report.org_day_month_dates? %}
{% assign date_format = "%d/%m/%Y" %}
{% else %}
{% assign date_format = "%m/%d/%Y" %}
{% endif %}
{% for day in days_with_instances %}
{% capture day_name %}{{day.date | date: '%A, %B %-d, %Y'}}{% endcapture %}
{% if day.instances.size != 0 %}
<div class="level-1">
<h2 class="header-large date-header gutter-bottom-small">{{day_name}}</h2>
<div class="level-2 block">
<ul>
{% for instance in day.instances %}
<li class="gutter-bottom-large gutter-top-medium">
{% capture starts_at_day_name %}{{instance.starts_at | date: '%A, %B %-d, %Y'}}{% endcapture %}
{% capture ends_at_day_name %}{{instance.ends_at | date: '%A, %B %-d, %Y'}}{% endcapture %}
<!-- ===== Date Heading ========================== -->
<h3 class="header-medium gutter-bottom-small">
{% if instance.reservation.all_day_event? %}
All-day
{% elsif starts_at_day_name == day_name %}
{% if ends_at_day_name == day_name %}
{{ instance.starts_at | date: time_format | downcase }} - {{ instance.ends_at | date: time_format | downcase }}
{% else %}
Today, {{ instance.starts_at | date: time_format | downcase }} - {{ instance.ends_at | date: date_format }} ({{ instance.ends_at | date: time_format | downcase }})
{% endif %}
{% else %}
{% if ends_at_day_name == day_name %}
{{instance.starts_at | date: date_format }} ({{ instance.starts_at | date: time_format | downcase }}) - Today, {{ instance.ends_at | date: time_format | downcase }}
{% else %}
{{instance.starts_at | date: date_format }} ({{ instance.starts_at | date: time_format | downcase }}) - {{ instance.ends_at | date: date_format }} ({{ instance.ends_at | date: time_format | downcase }})
{% endif %}
{% endif %}
{% if instance.event.name != 0 %}
{{ instance.event.name }} <span class="status {{ instance.approval_status }}">{{ instance.approval_status }}</span>
{% endif %}
</h3>
<!-- @end Date Heading ========================== -->
<!-- ===== Day Meta Info ========================== -->
<ul class="container-naked gutter-bottom-medium">
{% if instance.event.name != 0 %}
{% if instance.event.owner %}
<li><strong>Owner:</strong> {{ instance.event.owner.name }}</li>
{% endif %}
{% if instance.event.details != 0 %}
<li style="white-space: pre-wrap;"><em>{{ instance.event.details }}</em></li>
{% endif %}
{% endif %}
{% if instance.reservation.location != blank %}
<li>
<strong>Location:</strong> {{ instance.reservation.location }}
</li>
{% endif %}
</ul>
<!-- @end Day Meta Info ========================== -->
<!-- ===== Event Schedule ========================== -->
{% unless instance.reservation.all_day_event? %}
<div class="level-3">
<h3 class="bg-soft header-medium gutter-bottom-small">Event Schedule</h3>
{% if instance.event_times.size > 0 %}
<ul>
{% for event_time in instance.event_times %}
<li class="divider-soft pad-left item">
<strong>{{event_time.starts_at | date: time_format | downcase }}-{{event_time.ends_at | date: time_format | downcase }}:</strong> {{ event_time.name }}
</li>
{% endfor %}
</ul>
{% else %}
<p class="pad-left soft">(No event times defined.)</p>
{% endif %}
</div>
{% endunless %}
<!-- @end Event Schedule ========================== -->
<!-- ===== Event Rooms ========================== -->
{% if instance.reservation.room_requests.size > 0 %}
<div class="level-3">
<h3 class="bg-soft header-medium gutter-bottom-small">Rooms</h3>
<ul>
{% for request in instance.reservation.room_requests %}
<li class="gutter-bottom-small pad-left item">
<div class="gutter-bottom-small">
<span class="header-small txt-underline item-title">{{request.room.name}}</span>
<span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>
{% if request.resource_requests.size > 0 %}
<div class="level-4">
<strong>Used in room: </strong>
{% for resource_request in request.resource_requests %}
<span class="txt-underline">{%if resource_request.quantity > 1 %}{{resource_request.quantity}} {%endif%}{{resource_request.resource.name}}</span>
<span class="status {{ resource_request.approval_status }}">{{ resource_request.approval_status }}</span>
{% endfor %}
</div>
{% endif %}
</div>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<!-- @end Event Rooms ========================== -->
<!-- ===== Event Resources ========================== -->
{% if instance.reservation.resource_requests.size > 0 %}
<div class="level-3">
<h3 class="txt-left bg-soft header-small gutter-bottom-small">Resources</h3>
<ul>
{% for request in instance.reservation.resource_requests %}
<li class="gutter-bottom-small pad-left item">
<span class="header-small txt-underline">{{request.quantity}} {{request.room.name}}</span>
<span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>
<div class="gutter-bottom-small level-3">
{%if room_setup.description.length %}
<div class="divider-soft">
<strong>Setup: </strong> {{room_setup.description }}
</div>
{%endif%}
</div>
</li>
{% endfor %}
</ul>
</div>
{% endif %}
<!-- @end Event Resources ========================== -->
</li>
{% endfor %}
</ul>
</div>
</div>
{% endif %}
{% else %}
<div>
<h1 class="header-large txt-center gutter-bottom-small">There are no events which fit the filters in the selected date range.</h1>
</div>
{% endfor %}
</div>
</body>
</html>