Compare commits

..

1 commit

Author SHA1 Message Date
Noah Lancien
7e2f167787 Updated the ggw version to 2.2.5 2024-01-05 15:40:34 +01:00
2 changed files with 3 additions and 4 deletions

View file

@ -2,7 +2,7 @@
return [
// * GGW version
'version' => '2.2.6',
'version' => '2.2.5',
// * Theme name
'name' => 'chandleur-2024',
// * Picture BO validation sizes

View file

@ -57,9 +57,8 @@
class="d-flex align-items-center fw-bold text-uppercase fs-5 mx-2">{{ __("Encore en jeu\u{00A0}:") }}</span>
@foreach ($prizesGlobal as $prizeModel)
<span class="d-flex justify-content-center">
<span class="rounded-pill fw-bold fs-4 d-flex align-items-center text-bg-white my-1 px-3 py-1">
{{ $prizeModel->quantity -\App\Models\InstantWin::query()->whereHas('prize', fn($q) => $q->where('id', $prizeModel->id))->whereHas('participation')->count() }}
</span>
<span
class="rounded-pill fw-bold fs-4 d-flex align-items-center text-bg-white my-1 px-3 py-1">{{ $prizeModel->quantity - (optional(optional(optional($prizeModel)->instantWins)->where('won', true))->count() ?? 0) }}</span>
<span
class="fw-bold text-uppercase fs-5 lh-sm d-flex align-items-center mx-2">{{ $prizeModel->label }}</span>
</span>