(単位:千円)
@foreach($params as $month_param) @endforeach @for($body_category_key=0; $body_category_key @php $total_fees_per_category = 0; @endphp @foreach($params as $param_month) @php $total_fees_per_category += $param_month['category_params'][$body_category_key]['total_fees_per_month_category']; @endphp @endforeach @endfor @php $total_fees = 0; @endphp @foreach($params as $param_month) @php $total_fees += $param_month['total_fees']; @endphp @endforeach @php $total_expenses = 0; @endphp @foreach($params as $param_month) @php $total_expenses += $param_month['total_expenses']; @endphp @endforeach @foreach($params as $param_month) @endforeach @php $total_fees = 0; $m = 0; @endphp @foreach($params as $param_month) @if($result_params[$m]['sales']) @else @endif @php $total_fees += $param_month['total_fees']; $m++; @endphp @endforeach @if($result_params[$m]['sales']) @else @endif @foreach($result_params as $result_param) @endforeach
売上{{ $month_param['month'] }}月指定期間
{{ $params[0]['category_params'][$body_category_key]['name'] }}{{ number_format($param_month['category_params'][$body_category_key]['total_fees_per_month_category']) }}{{ number_format($total_fees_per_category) }}
合計{{ number_format($param_month['total_fees']) }}{{ number_format($total_fees) }}
レンタル原価{{ number_format($param_month['total_expenses']) }}{{ number_format($total_expenses) }}
売上総利益{{ number_format($param_month['total_fees'] - $param_month['total_expenses']) }}{{ number_format($total_fees - $total_expenses)}}
昨年対比{{ number_format(100*$param_month['total_fees']/$result_params[$m]['sales']) }}%-{{ number_format(100*$total_fees/$result_params[$m]['sales']) }}%-
昨年実績{{ number_format($result_param['sales']) }}

(単位:%)
@foreach($params as $month_param) @endforeach @for($body_category_key=0; $body_category_key @php $total_occupancy_rate_per_category = 0; @endphp @foreach($params as $param_month) @php $total_occupancy_rate_per_category += round($param_month['category_params'][$body_category_key]['occupancy_rate_per_month_category']); @endphp @endforeach @endfor @php $total_occupancy_rate = 0; @endphp @foreach($params as $param_month) @php $total_occupancy_rate += round($param_month['occupancy_rate']); @endphp @endforeach @php $total_occupancy_rate = 0; $m = 0; @endphp @foreach($params as $param_month) @if($result_params[$m]['sales']) @else @endif @php $total_occupancy_rate += $param_month['occupancy_rate']; $m++; @endphp @endforeach @if($result_params[$m]['sales_rate']) @else @endif @foreach($result_params as $result_param) @endforeach
売上{{ $month_param['month'] }}月指定期間
{{ $params[0]['category_params'][$body_category_key]['name'] }}{{ round($param_month['category_params'][$body_category_key]['occupancy_rate_per_month_category']) }}%{{ round($total_occupancy_rate_per_category / 12) }}%
全台{{ round($param_month['occupancy_rate']) }}%{{ round($total_occupancy_rate / 12) }}%
昨年対比{{ number_format(100*$param_month['occupancy_rate']/$result_params[$m]['sales_rate']) }}%-{{ number_format(100*$total_occupancy_rate/$result_params[$m]['sales_rate']) }}%-
昨年実績{{ number_format($result_param['sales_rate']) }}%