{{-- Weekly Tasks → Export picker. Same three scopes as the Monthly Summary's modal, in weeks instead of months, plus the format. Plain GET to /weekly/export so the browser handles the download. Always team-wide (a non-lead gets their own log, as the module shows them). Params: $wxQuarter, $wxIsLead, $wxWeeks (PeriodService::weeksInQuarter), $wxCurrentWeek. --}} @once @endonce @php // Default to the active week, else the quarter's last (a fully past/future quarter). $wxStarts = array_column($wxWeeks, 'start'); $wxDefault = in_array($wxCurrentWeek, $wxStarts, true) ? $wxCurrentWeek : (end($wxStarts) ?: ''); @endphp
@if ($wxIsLead) Covers every member whatever the page is filtered to, with an Owner column on each row. @else Covers your own log — the same tasks this page shows you. @endif Every Jira key — the task's own and any stories a grouped row covers — stays a clickable link in both formats.