| {{ $customer['得意先NO'] }} |
{{ $customer['得意先名'] }} |
{{ number_format($customer['当月売上']) }} |
{{ number_format($customer['前月売上']) }} |
{{ number_format(($customer['当月売上'] == 0 || $customer['前月売上'] == 0) ? 0 : (floor($customer['当月売上']*1000.0 / $customer['前月売上']) ) / 10, 1) }} |
{{ number_format($customer['前年同月売上']) }} |
{{ number_format(($customer['当月売上'] == 0 || $customer['前年同月売上'] == 0) ? 0 : (floor($customer['当月売上']*1000.0 / $customer['前年同月売上']) ) / 10, 1) }} |
{{ $customer['順位'] }} |
@php
$subtotal['件数'] += 1;
$subtotal['当月売上'] += $customer['当月売上'];
$subtotal['前月売上'] += $customer['前月売上'];
$subtotal['前年同月売上'] += $customer['前年同月売上'];
@endphp
@endforeach