- @if ($user->all_accounts()->count())
-
+ @if ($user->accounts->count())
+
Profile |
Name |
- Active |
- Services |
+ Services |
+
+ @foreach ($user->accounts as $ao)
+
+ |
+ {{ $ao->name }} |
+ {{ $ao->services->where('active',TRUE)->count() }} /{{ $ao->services->count() }} |
+
+ @endforeach
+
- Count {{ $user->all_accounts()->count() }} |
- |
+ Count {{ $user->accounts->count() }} |
+ |
@@ -35,21 +43,12 @@
+@append
\ No newline at end of file
diff --git a/resources/views/theme/backend/adminlte/u/invoice/widgets/next.blade.php b/resources/views/theme/backend/adminlte/u/invoice/widgets/next.blade.php
index 3e6684b..8b4d0e9 100644
--- a/resources/views/theme/backend/adminlte/u/invoice/widgets/next.blade.php
+++ b/resources/views/theme/backend/adminlte/u/invoice/widgets/next.blade.php
@@ -10,11 +10,11 @@
${{ number_format($oo->sum('total'),2) }} |
- @foreach ($oo->groupBy('service_id') as $ooo)
-
- {{ $ooo->first()->service->sid }} |
- {{ $ooo->first()->service->sname }}: {{ $ooo->first()->service->sdesc }} |
-
+ @foreach ($oo->groupBy('service_id') as $ooo)
+
+ {{ $ooo->first()->service->sid }} |
+ {{ $ooo->first()->service->sname }}: {{ $ooo->first()->service->sdesc }} |
+
@foreach ($ooo as $io)
diff --git a/resources/views/theme/backend/adminlte/u/service/widgets/active.blade.php b/resources/views/theme/backend/adminlte/u/service/widgets/active.blade.php
index edf4453..a58c7e9 100644
--- a/resources/views/theme/backend/adminlte/u/service/widgets/active.blade.php
+++ b/resources/views/theme/backend/adminlte/u/service/widgets/active.blade.php
@@ -59,7 +59,7 @@