This commit is contained in:
Ludovic CANDELLIER
2022-12-22 01:09:11 +01:00
parent 5151f393be
commit 0feebca7e0
25 changed files with 298 additions and 195 deletions

View File

@@ -1,36 +1,38 @@
<div class="row">
<div class="col-7">
@if ($article_nature == 'semences')
<strong>Semences</strong><br/>
<small>
{{ $article['semences']['variation'] ?? null }}
</small>
@endif
@if ($article_nature == 'plants')
<strong>Plants</strong><br/>
<small>
{{ $article['plants']['variation'] ?? null }}
</small>
@endif
@if ($article_nature ?? false)
<div class="row">
<div class="col-7">
@if ($article_nature == 'semences')
<strong>Semences</strong><br/>
<small>
{{ $article['semences']['variation'] ?? null }}
</small>
@endif
@if ($article_nature == 'plants')
<strong>Plants</strong><br/>
<small>
{{ $article['plants']['variation'] ?? null }}
</small>
@endif
</div>
<div class="col-5 text-right" style="font-weight: 700; font-size: 1.1em;">
@if ($article_nature == 'semences')
<span style="font-size: 1.4em">
@if ($article['semences'] ?? false)
{{ $article['semences']['price'] ?? null }}</span>
@else
-
@endif
</span><br/>
@endif
@if ($article_nature == 'plants')
<span style="font-size: 1.4em">
@if ($article['plants'] ?? false)
{{ $article['plants']['price'] }}</span>
@else
-
@endif
</span><br/>
@endif
</div>
</div>
<div class="col-5 text-right" style="font-weight: 700; font-size: 1.1em;">
@if ($article_nature == 'semences')
<span style="font-size: 1.4em">
@if ($article['semences'] ?? false)
{{ $article['semences']['price'] ?? null }}</span>
@else
-
@endif
</span><br/>
@endif
@if ($article_nature == 'plants')
<span style="font-size: 1.4em">
@if ($article['plants'] ?? false)
{{ $article['plants']['price'] }}</span>
@else
-
@endif
</span><br/>
@endif
</div>
</div>
@endif