@extends('layouts.app') @section('title', 'ランキング') @section('page-title', 'パートナー') @section('page-subtitle', '期間内の成果件数が多い順にパートナーを並べます。無効(キャンセル)になった成果は除いて数えます。') @push('styles') @include('partner.partials._styles') @endpush @section('content')
成約状況 ランキング 報酬集計 支払明細
@include('partner.partials._tracking_notice') @include('partner.partials._report_filters', ['action' => route('partner.ranking.index'), 'showStatus' => false])
対象パートナー
{{ number_format($rows->count()) }}
成果が1件以上あるパートナー
成果件数
{{ number_format($totals['count']) }}
報酬合計
{{ number_format($totals['reward']) }}
@if($rows->isEmpty())
集計できる成果がありません

成果が記録されると、パートナーごとの順位がここに表示されます。

@else
@foreach($rows as $index => $row) @php $partner = $partners[$row->partner_id] ?? null; @endphp @endforeach
順位 パートナー 成果件数 売上 報酬
@if($index === 0)@endif{{ $index + 1 }} @if($partner) {{ $partner->name }} @else (削除済み) @endif {{ number_format((int) $row->conversion_count) }}件 {{ number_format((int) $row->amount_sum) }}円 {{ number_format((int) $row->reward_sum) }}円
@endif @endsection