@extends('layouts.app') @section('title', '조회회수 집계') @section('content')

신용평가 조회회수 집계

@if($isHQ) 전체 테넌트의 신용평가 조회 현황을 확인합니다 @else 월별/기간별 신용평가 조회 현황을 확인합니다 @endif

~
@if($isHQ && $tenants->isNotEmpty())
@endif

총 조회 건수

{{ number_format($usageData['total_count']) }}건

유료 조회 건수

{{ number_format(max(0, $usageData['total_count'] - (count($usageData['details']) * $policy['free_quota']))) }}건

예상 청구 금액

{{ number_format($usageData['total_fee']) }}원

@if($isHQ) 테넌트별 조회 현황 @else 월별 조회 현황 @endif

@if(count($usageData['details']) > 0)
@if($isHQ) @endif @if($filters['view_type'] === 'yearly' || !$isHQ) @endif @foreach($usageData['details'] as $row) @if($isHQ) @endif @if($filters['view_type'] === 'yearly' || !$isHQ) @endif @endforeach
테넌트기간총 조회 무료 ({{ $policy['free_quota'] }}건) 유료 요금
{{ $row['tenant_name'] }}
@if(isset($row['tenant_code']))
{{ $row['tenant_code'] }}
@endif
{{ $row['month'] ?? '-' }} {{ number_format($row['count']) }}건 {{ number_format($row['free_count']) }}건 {{ number_format($row['paid_count']) }}건 {{ number_format($row['fee']) }}원
합계 {{ number_format($usageData['total_count']) }}건 {{ number_format(array_sum(array_column($usageData['details'], 'free_count'))) }}건 {{ number_format(array_sum(array_column($usageData['details'], 'paid_count'))) }}건 {{ number_format($usageData['total_fee']) }}원
@else

조회 내역이 없습니다.

@endif
@push('scripts') @endpush @endsection