@use super::base_html; @use super::components::return_to_main_html; @use cm_lib::models::Shift; @(shifts: Vec) @:base_html({
@:return_to_main_html()

Shift Reports

@for shift in shifts { }
Shift ID Shift Start Shift End
@shift.id @shift.start.format("%A, %b %m - %H:%M") @if let Some(end) = shift.end { @end.format("%A, %b %m - %H:%M") } else { Currently Open } View Shift
})