@for ($i = 1; $i < 13; $i++) @endfor @foreach ($years as $year => $months) @for ($i = 1; $i < 13; $i++) @endfor @endforeach
年 / 月{{ $i }} 月
{{ $year }} 0) class="text-danger" @endif>{{ round(($months[$i]['should_balance'] ?? 0), 2) ?? 0 }} 元