Cosmetic code changes, no functional changes

This commit is contained in:
2024-07-25 14:44:09 +10:00
parent 9277d42196
commit 756f550b43
16 changed files with 40 additions and 48 deletions

View File

@@ -1,7 +1,8 @@
@php
use App\Models\{Account,Service};
$acts = $o->accounts_all->pluck('id');
@endphp
<!-- $o=User::class -->
@php($acts=$o->accounts_all->pluck('id'))
@use(App\Models\Account)
@use(App\Models\Service)
@if($user->isReseller() && ($o->accounts->count() <= 2) && ($x=$o->accounts->pluck('providers')->flatten())->count())
<div class="col-12 col-sm-4 col-md-2">
@@ -17,7 +18,7 @@
</div>
@endif
@if ($o->accounts_all->count() > 1)
@if($o->accounts_all->count() > 1)
<div class="col-12 col-sm-4 col-md-2">
<div class="info-box">
<span class="info-box-icon bg-primary elevation-1"><i class="fas fa-user"></i></span>