Detailed Report By Date
Imports: 14

Shows all events occurring by date, within the reports date range. This report includes the approval status, start and end time, location, and event owner for each event. This is a Default Planning Center Report.

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
 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
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
<!DOCTYPE html>
<html>
  <head>
    <title>Detailed {{ 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">Detailed {{ 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 %}
        {% capture day_name %}{{day.date | date: '%A, %B %-d, %Y'}}{% endcapture %}
        <div class="level-1">
          <h2 class="header-large date-header gutter-bottom-small">{{day_name}}</h2>
          {% if day.instances.size == 0 %}
            <div class="soft pad-left gutter-bottom-medium">
              No events today
            </div>
          {% endif %}

          {% if day.instances.size != 0 %}
            <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.event.approval_status }}">{{ instance.event.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.simple_room_requests %}
                            <li class="gutter-bottom-small pad-left item item--inline">
                              <div class="gutter-bottom-small">
                                <span class="header-small txt-underline item-title">{{request.room.name}}</span>&nbsp;
                                <span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>
                              </div>
                            </li>
                          {% endfor %}

                          {% for request in instance.reservation.complex_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>&nbsp;
                                <span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>
                              </div>

                              <div class="level-3">
                                {%if request.room_setup %}
                                  <div>
                                    <strong>Setup:</strong> {{request.room_setup.name }}
                                    {% if request.room_setup.description != blank %}
                                      &mdash; {{ request.room_setup.description }}
                                    {% endif %}
                                  </div>
                                {% endif %}

                                {% if request.room_setup_info != blank %}
                                  <div>
                                    <strong>Additional notes:</strong> {{ request.room_setup_info }}
                                  </div>
                                {% endif %}

                                {% if request.answers.size > 0 %}
                                  {% for answer in request.answers %}
                                    {% if answer.section_header? %}
                                      <div>
                                        <strong>{{ answer.label }}</strong>
                                        <p class="question-description">{{ answer.description }}</p>
                                      </div>
                                    {% else %}
                                      <div class="divider-soft">
                                        <strong>{{ answer.question }}</strong> &mdash; {{answer.answer}}
                                        <p class="question-description">{{ answer.description }}</p>
                                      </div>
                                    {% endif %}
                                  {% endfor %}
                                {% endif %}

                                <!-- ===== Resources for Rooms ========================== -->
                                {% if request.resource_requests.size > 0 %}
                                  <h4 class="bg-soft header-medium gutter-bottom-small">Resources for this room</h4>
                                  <div class="level-4">
                                    <ul>
                                      {% for resource_request in request.simple_resource_requests %}
                                        <li class="sub-item sub-item--inline gutter-bottom-small">
                                          <h4 class="header-small">
                                            <span class="txt-underline sub-item-title">{%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>
                                          </h4>
                                        </li>
                                      {% endfor %}

                                      {% for resource_request in request.complex_resource_requests %}
                                        <li class="sub-item">
                                          <h4 class="header-small">
                                            <span class="txt-underline sub-item-title">{%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>
                                          </h4>

                                          {% if resource_request.room_setup_info != blank %}
                                            <div>
                                              <strong>Additional notes:</strong> {{ resource_request.room_setup_info }}
                                            </div>
                                          {% endif %}

                                          {% if resource_request.answers.size > 0 %}
                                            <ul class="gutter-bottom-medium gutter-top-small pad-left">
                                              {% for answer in resource_request.answers %}
                                                {% if answer.section_header? %}
                                                  <li><strong>{{ answer.label }}</strong></li>
                                                  <p class="question-description">{{ answer.description }}</p>
                                                {% else %}
                                                  <li class="divider-soft">
                                                    <strong>{{ answer.question }}</strong> &mdash; {{answer.answer}}
                                                    <p class="question-description">{{ answer.description }}</p>
                                                  </li>
                                                {% endif %}
                                              {% endfor %}
                                            </ul>
                                          {% endif %}
                                        {% endfor %}
                                      </li>
                                    </ul>
                                  </div>
                                {% endif %}
                                <!-- @end Resources for Rooms ========================== -->
                              </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-medium gutter-bottom-small">Resources</h3>
                        <ul>
                          {% for request in instance.reservation.simple_resource_requests %}
                            <li class="gutter-bottom-small pad-left item item--inline">
                              <span class="header-small txt-underline">{{request.quantity}} {{request.room.name}}</span>&nbsp;
                              <span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>
                            </li>
                          {% endfor %}

                          {% for request in instance.reservation.complex_resource_requests %}
                            <li class="gutter-bottom-small pad-left item">
                              <span class="header-small txt-underline">{{request.quantity}} {{request.room.name}}</span>&nbsp;
                              <span class="status {{ request.approval_status }}">{{ request.approval_status }}</span>

                              {% if request.room_setup_info != blank %}
                                <div>
                                  <strong>Additional notes:</strong> {{ request.room_setup_info }}
                                </div>
                              {% endif %}

                              <div class="gutter-bottom-small level-3">

                                {% for answer in request.answers %}
                                  {% if answer.section_header? %}
                                    <strong>{{ answer.label }}</strong><br />
                                    <p class="question-description">{{ answer.description }}</p>
                                  {% else %}
                                    <div class="divider-soft">
                                      <strong>{{ answer.question }}:</strong> &mdash; {{answer.answer}}
                                      <p class="question-description">{{ answer.description }}</p>
                                    </div>
                                  {% endif %}
                                {% endfor %}
                              </div>
                            </li>
                          {% endfor %}
                        </ul>
                      </div>
                    {% endif %}
                    <!-- @end Event Resources ========================== -->

                  </li>
                {% endfor %}
              </ul>
            </div>
          {% endif %}
        </div>
      {% endfor %}
    </div>
  </body>
</html>