@if(Auth::user()->role->code != 'c001') @include('report/select') @endif
@foreach($categorys as $k => $v) @if($v['parent_id'] == 226) @endif @endforeach @foreach($now_year_single['money'] as $key => $value) @foreach($categorys as $k => $v) @if($v['parent_id'] == 226) @endif @endforeach {{:$ps = $promotions[$key]}} @foreach($categorys as $category_id => $category) @if($category['parent_id'] == 226) @endif @endforeach @foreach($categorys as $k => $v) @if($v['parent_id'] == 226) @endif @endforeach @endforeach
销售组 {{$v['name']}}总销售额 促销费比 消费促销 渠道促销 经销促销
{{$regions[$key]}} [月销] {{(int)$value[$k]}} {{$now_year_single['totalcost'][$key]}} @if($promotions['all'][$key]) {{:$c = ($promotions['all'][$key]/$now_year_single['totalcost'][$key])}} {{number_format($c*100, 2)}}% @else 0.00% @endif {{$ps[1] > 0 ? $ps[1] : 0}} {{$ps[2] > 0 ? $ps[2] : 0}} {{$ps[3] > 0 ? $ps[3] : 0}}
@if($scale == 0) 去年无 @elseif($scale > 0) {{number_format($scale * 100, 2)}}% @else {{number_format($scale * 100, 2)}}% @endif @if($_total > 0) {{$_total}}% @else {{$_total}}% @endif
@if($value[$v['id']] > 0) {{number_format(($value[$v['id']] / $now_year_single['cat'][$v['id']]) * 100, 2)}}% @endif