ldc-bogt/resources/views/back/breeders/showPoultry.blade.php
Jérémy Munsch 7cb304e967
Full traça poulets
Cafel APi Eat
Xml flux new
Full Models Rework
Refactorize
2022-06-08 11:44:01 +02:00

62 lines
2 KiB
PHP

<table class="table table-striped table-hover table-borderless table-dark">
<tbody>
<tr>
<th>{{ __('Code Cafel') }}</th>
<td>{{ $breeder->cafel_code }}</td>
</tr>
<tr>
<th>{{ __('Civilité') }}</th>
<td>{{ $breeder->civility->label }}</td>
</tr>
<tr>
<th>{{ __('Année de naissance') }}</th>
<td>{{ $breeder->birth_date->format('d/m/Y') }}</td>
</tr>
<tr>
<th>{{ __('Code postal') }}</th>
<td>{{ $breeder->postcode }}</td>
</tr>
<tr>
<th>{{ __('Ville') }}</th>
<td>{{ $breeder->city }}</td>
</tr>
<tr>
<th>{{ __('Date de début d\'activité') }}</th>
<td>{{ $breeder->date_start_operation }}</td>
</tr>
<tr>
<th>{{ __('Codes inuav') }}</th>
<td>
@if(collect($breeder->inuavs)->count())
<table>
<tbody>
@foreach (collect($breeder->inuavs) as $inuav)
<tr><td>{{ $inuav }}</td></tr>
@endforeach
</tbody>
</table>
@endif
</td>
</tr>
<tr>
<th>{{ __('Commentaire 1') }}</th>
<td>{{ $breeder->issue_1 }}</td>
</tr>
<tr>
<th>{{ __('Commentaire 2') }}</th>
<td>{{ $breeder->issue_2 }}</td>
</tr>
<tr>
<th>{{ __('Image 1') }}</th>
<td>
<img src="{{ asset($breeder->path_picture_1) }}" alt="{{ $breeder->path_picture_1 }}" class="img-fluid">
</td>
</tr>
<tr>
<th>{{ __('Image 2') }}</th>
<td>
<img src="{{ asset($breeder->path_picture_2) }}" alt="{{ $breeder->path_picture_2 }}" class="img-fluid">
</td>
</tr>
</tbody>
</table>