@extends('layouts.app') @section('title', 'Sanitation · QA Dashboard') @section('content')

Sanitation · Jira targets vs Kanboard work

Compare the quarter's Jira targets against the Kanboard tasks worked in the same quarter to spot tasks that fall outside the set project targets (Kanboard tasks not categorised ERP/CRM/SMPP are flagged).

@if ($hasDashboard)
{{ $jira->count() }} Jira targets {{ $kanboard->count() }} Kanboard tasks {{ $outsideCount }} outside targets
@endif
@unless ($hasDashboard)
No dashboard has been uploaded for {{ $tq }} yet. Upload the project targets in Settings → Import Dashboard first — Sanitation compares Kanboard work against those set targets.
@else

Jira targets · {{ $tq }} · {{ $jira->count() }}

@forelse ($jira as $t) @empty @endforelse
StoryProjectStatus
{{ $t->title ?: $t->jira_key }} @if ($t->jira_key){{ $t->jira_key }}@endif {{ $t->project }} @if ($t->raw_status)@else @endif
No Jira targets for {{ $tq }}.

Kanboard tasks · {{ $tq }} · {{ $kanboard->count() }}

@forelse ($kanboard as $k) @empty @endforelse
TaskCategoryOwnerStatus
{{ $k->title ?: ('#'.$k->id) }} #{{ $k->id }} @if ($k->category){{ $k->category }}@else @endif @if ($k->is_outside)outside@endif {{ $k->owner_email ? ($names[$k->owner_email] ?? $k->owner_email) : '—' }} @if ($k->column_name)@else @endif
No Kanboard tasks for {{ $tq }}.
@endunless @endsection