@extends('layouts.app') @section('title') DCP {{ $label }} Records - FY {{ $record->financial_year }} | {{ config('app.name') }} @endsection @section('content')

{{ $label }} - All India - FY {{ $record->financial_year }}

Period

{{ date('d-m-Y', strtotime($record->start_date)) }} to {{ date('d-m-Y', strtotime($record->end_date)) }}

Records

{{ $rows->count() }}

Turnover

₹{{ number_format($totals['turnover'], 2) }}

CRC

₹{{ number_format($totals['crc'], 2) }}

{{ $label }} records counted for FY {{ $record->financial_year }}
@foreach (\App\Http\Controllers\DcpSharePayoutController::STREAMS as $key => $name) {{ $name }} @endforeach Back
@foreach ($rows as $r) @endforeach
S.NoDateReferenceAccess CodeNameMobileStateDetail TurnoverCRC
{{ $loop->iteration }} {{ $r->date ? date('d-m-Y H:i', strtotime($r->date)) : '-' }} {{ $r->reference ?? '-' }} @if ($r->access_code) {{ $r->access_code }} @else - @endif {{ $r->user_name ?: '-' }} {{ $r->mobile ?? '-' }} {{ $r->state ?? '-' }} {{ $r->detail ?? '-' }} ₹{{ number_format((float) $r->turnover, 2) }} ₹{{ number_format((float) $r->crc, 2) }}
Total ₹{{ number_format($totals['turnover'], 2) }} ₹{{ number_format($totals['crc'], 2) }}
@endsection @section('scripts') @endsection