%PDF- %PDF-
| Direktori : /www/loslex_o/demo/resources/views/contests/ |
| Current File : /www/loslex_o/demo/resources/views/contests/presentation.blade.php |
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{ __('Presence list :: :name', ['name' => $contest->contestname]) }}</title>
</head>
<body>
<h1 style="font-style: italic; display: flex; align-items: center"><img style="height: 0.9em; margin-right: 0.3em;" src="/assets/images/lex-logo.webp" />{{ $contest->contestname }}</h1>
<div style="font-size: 110%; margin-bottom: 0.3em; font-weight: bold">{{__('Date') }}: {{$contest->date->isoFormat('LL')}}; {{ __('Range') }}: {{ $contest->range->name }}</div>
<table style="border: black 1px solid; border-collapse: collapse; margin-bottom: 2em; width: 100%;">
<thead>
<tr style="height: 2em;">
<th style="border: black 1px solid;">{{ __('Number') }}</th>
<th style="border: black 1px solid;">{{ __('Squad') }}</th>
<th style="border: black 1px solid;">{{ __('First and last name') }}</th>
@if(!$contest->isLosik()) <th style="border: black 1px solid;">{{ __("Division") }}</th>@endif
<th style="border: black 1px solid;">{{ __('Licence no.') }}</th>
<th style="border: black 1px solid;">{{ __('LEX') }}</th>
@if($contest->isLosik()) <th style="border: black 1px solid;">{{ __('Fee') }}</th>@endif
<th style="border: black 1px solid;">{{ __('Signature') }}</th>
</tr>
</thead>
<tbody>
<!-- {{ $pos = 1 }} -->
@foreach ($registrations as $shooter)
<tr style="height: 2em;">
<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; width: 3em; text-align: center;">{{ $pos++ }}</td>
<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; width: 3em; text-align: center;">{{ $shooter->squad == 0 ? "R" : $shooter->squad }}</td>
<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; white-space: nowrap">{{ $shooter->user->listedname }}</td>
@if(!$contest->isLosik())<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; width: 3em; text-align: center;">{{ $shooter->division?->bgdivision }}</td>@endif
<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; max-width: 6em; text-align: center">{{ $shooter->user->licence_number }}</td>
<td style="border: black 1px solid; padding-left: 0.3em; padding-right: 0.3em; width: 3em; text-align: center;">{{ $shooter->lexmember && ($shooter->user->is_valid_member($shooter->contest->date) > 0) ? __("Yes") : __("No") }}</td>
@if($contest->isLosik()) <td style="border: black 1px solid; padding-left: 0.3em; width: 5em;"> </td>@endif
<td style="border: black 1px solid; min-width: 10em;"> </td>
</tr>
@endforeach
@for ($i = 0; $i < $freeSlots; $i++)
<tr style="height: 2em;">
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
<td style="border: black 1px solid;"> </td>
</tr>
@endfor
</tbody>
<tfoot>
<tr>
<td colspan="7" style="padding: 0.3em"><span style="alignment: center; font-style: italic;">{{ __('contest.presenceFooter') }}</span></td>
</tr>
</tfoot>
</table>
</body>
</html>