@foreach($students['data'] as $student)
@foreach($student['total'] as $key => $row)
| {{ number_format($row['new_count']) }} |
{{ ($students['submit'][$key]['new_count'] ?? 0) > 0
? number_format(($row['new_count'] / $students['submit'][$key]['new_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['renew_count']) }} |
{{ ($students['submit'][$key]['renew_count'] ?? 0) > 0
? number_format(($row['renew_count'] / $students['submit'][$key]['renew_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['change_count']) }} |
{{ ($students['submit'][$key]['change_count'] ?? 0) > 0
? number_format(($row['change_count'] / $students['submit'][$key]['change_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['refund_count']) }} |
{{ ($students['submit'][$key]['refund_count'] ?? 0) > 0
? number_format(($row['refund_count'] / $students['submit'][$key]['refund_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['total_count']) }} |
@endforeach
@foreach($student['products'] as $product)
@foreach($product as $key => $row)
| {{ number_format($row['new_count']) }} |
{{ ($students['submit'][$key]['new_count'] ?? 0) > 0
? number_format(($row['new_count'] / $students['submit'][$key]['new_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['renew_count']) }} |
{{ ($students['submit'][$key]['renew_count'] ?? 0) > 0
? number_format(($row['renew_count'] / $students['submit'][$key]['renew_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['change_count']) }} |
{{ ($students['submit'][$key]['change_count'] ?? 0) > 0
? number_format(($row['change_count'] / $students['submit'][$key]['change_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['refund_count']) }} |
{{ ($students['submit'][$key]['refund_count'] ?? 0) > 0
? number_format(($row['refund_count'] / $students['submit'][$key]['refund_count']) * 100, 2)
: 0 }}%
|
{{ number_format($row['total_count']) }} |
@endforeach
@endforeach
@endforeach
@foreach($students['submit'] as $key =>$submit)
| {{number_format($submit['new_count'])}} |
{{number_format(($submit['new_count'] > 0 ? 100: 0))}}% |
{{number_format($submit['renew_count'])}} |
{{number_format(($submit['renew_count'] > 0 ? 100: 0))}}% |
{{number_format($submit['change_count'])}} |
{{number_format(($submit['change_count'] > 0 ? 100: 0))}}% |
{{number_format($submit['refund_count'])}} |
{{number_format(($submit['refund_count'] > 0 ? 100: 0))}}% |
{{number_format($submit['total_count'])}} |
@endforeach