@extends("common.layout") @section("header") {!! resource('js/components/multiSelect.js') !!} {!! resource('css/components/multiSelect.css') !!} @endsection @section("content")
| 날짜 | 이메일 | 네이버 | 카카오 | 구글 | 총가입자수 |
|---|---|---|---|---|---|
| {{ $date }} | @foreach ( $fields as $field ) @php $count = isset($item[$field]) ? $item[$field] : 0; $typeTotal[$field] = isset($typeTotal[$field]) ? $typeTotal[$field] + $count : $count; $dayTotal += $count; @endphp{{ $count }} | @endforeach{{ number_format($dayTotal) }} | |||
| 총 | @foreach ( $fields as $field ) @php $count = isset($typeTotal[$field]) ? $typeTotal[$field] : 0; $total += $count; @endphp{{ number_format($count) }} | @endforeach{{ number_format($total) }} |