%PDF- %PDF-
Direktori : /home/nginx/.vscode-server/data/User/History/44ac1317/ |
Current File : //home/nginx/.vscode-server/data/User/History/44ac1317/YhtY.php |
<html> <head> <title>{{ $name }} - {{ $date->format("d.m.Y") }}</title> </head> <body style="font-family: DejaVu Sans, sans-serif;"> <h1>{{ $name }} - {{ $date->format("d.m.Y") }}</h1> <div style="overflow: visible;"> @php $padding = "padding-left: 4pt; padding-right: 4pt;"; @endphp <table style="width: 100%;"> @foreach($divisions as $division) @if($division->name == "All") @continue @endif <tr> <td colspan="{{ ($numStages + 1) }}" style="font-weight: bold; font-size: 250%">{{ __("contest." . $division->name) }}</td> </tr> <tr> <td> <table style="width: 100%; border-collapse: collapse;"> <thead> <tr style="line-height: 31pt;"> <td style="border: 1px 1px 0px 1px solid black; {{ $padding }}"> </td> <td style="border: 1px solid black; {{ $padding }}">{{ __("Name") }}</td> <td style="border: 1px solid black; {{ $padding }}">{{ __("Total %") }}</td> <!-- <td rowspan="2" style="width: 8pt; border: none;"></td> --> </tr> <!-- <tr> <td style="border: 0px 1px 1px 1px solid black; {{ $padding }}"> </td> </tr> --> </thead> <tbody> @foreach($division->shooters as $sh) @php $rowbg = $loop->iteration % 2 ? "#ffffff" : "#e6e6e6"; @endphp <tr style="background-color: {{ $rowbg }};"> <td style="border: 1px solid black; {{ $padding }}">{{ !$sh->notcomp ? $loop->iteration : __("NC") }}</td> <td style="border: 1px solid black; {{ $padding }}">{{ $sh->name }}</td> <td style="border: 1px solid black; {{ $padding }}">{{ $sh->percent }}%</td> </tr> @endforeach </tbody> </table> </td> @for($i = 1; $i <= $numStages; $i++) <td> <table style="width: 100%; border-collapse: collapse;"> <thead> <tr> <td colspan="{{ $stages[$i]->span }}" style="text-align: center; display: table-cell; font-weight: bold; border: 1px solid black;">Stage {{ $i }}</td> </tr> <tr> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T</td> @if($stages[$i]->strings > 1) @for($j = 1; $j <= $stages[$i]->strings; $j++) <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">T{{ $j }}</td> @endfor @endif <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">PP</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">A</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">C</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">D</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-T</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">M-P</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">N-T</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">proc</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">{{ __('Time') }}</td> <td style="text-align: center; font-weight: bold; border: 1px solid black; {{ $padding }}">%</td> </tr> </thead> <tbody> @foreach($division->shooters as $sh) @php $rowbg = $loop->iteration % 2 ? "#ffffff" : "#e6e6e6"; @endphp <tr style="background-color: {{ $rowbg }};"> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->time }}</td> @if($stages[$i]->strings > 1) @for($j = 1; $j <= $stages[$i]->strings; $j++) <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stageStrings[$i][$j] }}</td> @endfor @endif <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->popper }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->alpha }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->charlie }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->delta }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->miss }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->misspopper }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->noshoot }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->proc }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ $sh->stages[$i]->total_time }}</td> <td style="text-align: center; border: 1px solid black; {{ $padding }}">{{ number_format($sh->stages[$i]->stage_percent, 2) }}</td> </tr> @endforeach </tbody> </table> </td> @endfor @endforeach </table> </div> </body> </html>