{{$year}}年单品客户数({{count((array)$single['customer'])}})
@include('report/select')    
@if($months) @foreach($months as $k => $v) @endforeach @endif @if($single['sum']) @foreach($single['sum'] as $k => $v) @if($months) @foreach($months as $v2) @endforeach @endif @if($months) @foreach($months as $v2) @endforeach @endif @endforeach @endif
产品编码 产品名称 合计{{$v}}月
{{$single['product'][$k]['product_code']}} [查] {{$single['product'][$k]['product_name']}} - {{$single['product'][$k]['product_spec']}} 销售客户数 {{count((array)$single['all'][$k])}} {{:$sum = count((array)$v[$v2])}} @if($sum>0) {{$sum}} @else @endif
销售金额 @number(array_sum((array)$single['sum_money'][$k]), 2) @if($single['sum_money'][$k][$v2] > 0) @number($single['sum_money'][$k][$v2], 2) @else @endif