Skip to content

Commit

Permalink
Merge pull request #1059 from PlanoramaEvents/plan-991-update-session…
Browse files Browse the repository at this point in the history
…-needs-report

PLAN-991 Update session needs report for Tech/AV
  • Loading branch information
balen authored Jun 10, 2024
2 parents 2abc9ed + 50967d4 commit 83f0f8f
Showing 3 changed files with 11 additions and 7 deletions.
8 changes: 6 additions & 2 deletions app/controllers/reports/session_reports_controller.rb
Original file line number Diff line number Diff line change
@@ -17,8 +17,11 @@ def session_needs
[
'Session',
'Start Time',
'Duration',
'Room',
'Environment',
'Livestreamed',
'Recorded',
'Format',
'Areas',
'Tags',
@@ -29,15 +32,16 @@ def session_needs
]
)

# require room features.services, tech/hotel notes, room setup

sessions.each do |session|
worksheet.append_row(
[
session.title,
session.start_time ? FastExcel.date_num(session.start_time, session.start_time.in_time_zone.utc_offset) : nil,
session.duration,
session.room&.name,
session.environment,
session.streamed ? 'Yes' : 'No',
session.recorded ? 'Yes' : 'No',
session.format&.name,
session.area_list.sort.join(';'),
session.tags_array&.join("; "),
4 changes: 2 additions & 2 deletions app/javascript/reports/reports_screen.vue
Original file line number Diff line number Diff line change
@@ -345,8 +345,8 @@
<a href="/report/session_reports/session_needs" target="_blank">Session Needs</a>
<p class="ml-2">
<strong><em>Description</em></strong>: Session setup requirements, one line per session<br />
<strong><em>Fields</em></strong>: Session title, session start time, session room, session environment, session format, session area(s), tags, admin labels, required room features&#8725;services, tech&#8725;hotel notes, room setup<br />
<strong><em>Session data included</em></strong>: all published sessions in the most recent publish<br />
<strong><em>Fields</em></strong>: Session title, session start time, duration, session room, session environment, is session livestreamed (y/n), is session recorded (y/n), session format, session area(s), tags, admin labels, required room features&#8725;services, tech&#8725;hotel notes, room setup<br />
<strong><em>Session data included</em></strong>: all sessions with a time and place that are not dropped<br />
</p>
</li>
<li>
6 changes: 3 additions & 3 deletions yarn.lock
Original file line number Diff line number Diff line change
@@ -2460,9 +2460,9 @@ caniuse-api@^3.0.0:
lodash.uniq "^4.5.0"

caniuse-lite@^1.0.0, caniuse-lite@^1.0.30000981, caniuse-lite@^1.0.30001109, caniuse-lite@^1.0.30001317:
version "1.0.30001319"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001319.tgz#eb4da4eb3ecdd409f7ba1907820061d56096e88f"
integrity sha512-xjlIAFHucBRSMUo1kb5D4LYgcN1M45qdKP++lhqowDpwJwGkpIRTt5qQqnhxjj1vHcI7nrJxWhCC1ATrCEBTcw==
version "1.0.30001629"
resolved "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001629.tgz"
integrity sha512-c3dl911slnQhmxUIT4HhYzT7wnBK/XYpGnYLOj4nJBaRiw52Ibe7YxlDaAeRECvA786zCuExhxIUJ2K7nHMrBw==

case-sensitive-paths-webpack-plugin@^2.2.0:
version "2.4.0"

0 comments on commit 83f0f8f

Please sign in to comment.