Fix Header when no instant wins
This commit is contained in:
parent
30f4df5abf
commit
761844e986
1 changed files with 2 additions and 2 deletions
|
|
@ -57,7 +57,7 @@
|
|||
@if (Arr::has($prizesGlobal, 0))
|
||||
<span class="d-flex justify-content-center">
|
||||
<span
|
||||
class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 bg-white px-3 py-1">{{ Arr::get($prizesGlobal, 0)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instantWins)->where('won', true))->count() ?? 0) }}</span>
|
||||
class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 bg-white px-3 py-1">{{ Arr::get($prizesGlobal, 0)->quantity - (optional(optional(optional(Arr::get($prizesGlobal, 1))->instantWins)->where('won', true))->count() ?? 0) }}</span>
|
||||
<span
|
||||
class="fw-bold text-uppercase fs-5 lh-sm d-flex align-items-center mx-2">{!! clean(nl2br(__("Wonderbox \n loisirs"))) !!}</span>
|
||||
</span>
|
||||
|
|
@ -65,7 +65,7 @@
|
|||
@if (Arr::has($prizesGlobal, 1))
|
||||
<span class="d-flex justify-content-center">
|
||||
<span
|
||||
class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 bg-white px-3 py-1">{{ Arr::get($prizesGlobal, 1)->quantity - (optional(optional(Arr::get($prizesGlobal, 1)->instantWins)->where('won', true))->count() ?? 0) }}</span>
|
||||
class="rounded-pill text-tertiary fw-bold fs-4 d-flex align-items-center my-1 bg-white px-3 py-1">{{ Arr::get($prizesGlobal, 1)->quantity - (optional(optional(optional(Arr::get($prizesGlobal, 1))->instantWins)->where('won', true))->count() ?? 0) }}</span>
|
||||
<span
|
||||
class="fw-bold text-uppercase fs-5 lh-sm d-flex align-items-center mx-2">{!! clean(nl2br(__("Wonderbox \n Happy Day"))) !!}</span>
|
||||
</span>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue