{{ $params[0]['category_params'][$body_category_key]['name'] }} |
@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
{{ number_format($param_month['category_params'][$body_category_key]['total_fees_per_month_category']) }} |
@endforeach
{{ number_format($total_fees_per_category) }} |
@endfor
合計 |
@php $total_fees = 0; @endphp
@foreach($params as $param_month)
@php
$total_fees += $param_month['total_fees'];
@endphp
{{ number_format($param_month['total_fees']) }} |
@endforeach
{{ number_format($total_fees) }} |
レンタル原価 |
@php $total_expenses = 0; @endphp
@foreach($params as $param_month)
@php
$total_expenses += $param_month['total_expenses'];
@endphp
{{ number_format($param_month['total_expenses']) }} |
@endforeach
{{ number_format($total_expenses) }} |
売上総利益 |
@foreach($params as $param_month)
{{ number_format($param_month['total_fees'] - $param_month['total_expenses']) }} |
@endforeach
{{ number_format($total_fees - $total_expenses)}} |
昨年対比 |
@php
$total_fees = 0;
$m = 0;
@endphp
@foreach($params as $param_month)
@if($result_params[$m]['sales'])
{{ number_format(100*$param_month['total_fees']/$result_params[$m]['sales']) }}% |
@else
- |
@endif
@php
$total_fees += $param_month['total_fees'];
$m++;
@endphp
@endforeach
@if($result_params[$m]['sales'])
{{ number_format(100*$total_fees/$result_params[$m]['sales']) }}% |
@else
- |
@endif
昨年実績 |
@foreach($result_params as $result_param)
{{ number_format($result_param['sales']) }} |
@endforeach