@foreach($params as $month_param) @endforeach @foreach($params as $month_param) @endforeach @foreach($params as $month_param) @endforeach @php $category_count = 0; @endphp @foreach($total_params['category_params'] as $body_category_key => $category_param) @php $vehicle_count = 0; @endphp @foreach($category_param['vehicle_params'] as $vehicle_param_key => $vehicle_param) @if($vehicle_count == 0) @endif @if($vehicle_count == 0) @endif @foreach($params as $month_param) @php $vehicle_param = $month_param['category_params'][$category_count]['vehicle_params'][$vehicle_count]; @endphp @if($vehicle_count==0) @endif @endforeach @php $vehicle_count++; @endphp @endforeach @php $category_count++; @endphp @endforeach
指定期間 売上 {{ $total_params['total_fees'] }} {{ $month_param['year'] }}年{{ $month_param['month'] }}月
原価 {{ $total_params['total_expenses'] }} 合計 {{ $month_param['total_fees'] }}
車番 売上 合計/1台当たり 車番 売上 合計/1台当たり
{{ $body_category_key }}{{ $vehicle_param_key }} {{ $vehicle_param['fees'] }}{{ $category_param['total_fees'] }}{{ isset($vehicle_param['register_no']) ? $vehicle_param['register_no'] : '' }} {{ $vehicle_param['fees'] }} {{ $month_param['category_params'][$category_count]['total_fees_per_month_category'] }} / {{ $month_param['category_params'][$category_count]['total_fees_per_month_category_vehicle'] }}