@extends('dashboard.layout.layout') @section('content')
@foreach (range(1, 3) as $index)

{{ $index == 1 ? $comissionSum : ($index == 2 ? $comission . ' ₾' : $incomePersent) }}

{{ $index == 1 ? 'საკომისიო ჩარიცხული თaნხებიდან' : ($index == 2 ? 'საკომისიოების ჯამი' : 'შემოსული თანხის 1%') }}

@endforeach

{{ $utilityBill->block->name }} - ({{ $monthLabel }})

{{ $title }}

კორპუსის ბალანსი: {{ $utilityBill->block->balance }}
@can('utility.update') @endcan
@csrf @php $endOfRange = 2; if ($utilityBill->added_third_table) { $endOfRange = 3; } @endphp @foreach (range(1, $endOfRange) as $tableIndex)

ცხრილი {{ $tableIndex }}

@foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @endforeach @foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @endforeach @foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @endforeach @foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @endforeach @foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @endforeach @foreach (range(($tableIndex - 1) * 10 + 1, $tableIndex * 10) as $columnIndex) @if (empty($utilityBill->{'bill_' . $columnIndex . '_file'})) @else @endif @endforeach
@endforeach
@endsection @push('scripts') @endpush