diff --git a/app/Http/Controllers/HomeController.php b/app/Http/Controllers/HomeController.php
index 965bcdea..646293ac 100644
--- a/app/Http/Controllers/HomeController.php
+++ b/app/Http/Controllers/HomeController.php
@@ -90,7 +90,7 @@ class HomeController extends Controller
// RETURN ALL VALUES
return view('home')->with([
- 'useage' => $usage,
+ 'usage' => $usage,
'credits' => $credits,
'useful_links' => UsefulLink::all()->sortBy('id'),
'bg' => $bg,
@@ -98,6 +98,4 @@ class HomeController extends Controller
'unit' => $unit
]);
}
-
}
-
diff --git a/database/migrations/2021_12_28_203515_rename_paypal_products_table.php b/database/migrations/2021_12_28_203515_rename_paypal_products_table.php
new file mode 100644
index 00000000..b3b64dca
--- /dev/null
+++ b/database/migrations/2021_12_28_203515_rename_paypal_products_table.php
@@ -0,0 +1,28 @@
+
-
{{__('Dashboard')}}
+ {{ __('Dashboard') }}
@@ -28,8 +28,8 @@
- {{__('Servers')}}
- {{Auth::user()->servers()->count()}}
+ {{ __('Servers') }}
+ {{ Auth::user()->servers()->count() }}
@@ -41,8 +41,8 @@
- {{CREDITS_DISPLAY_NAME}}
- {{Auth::user()->Credits()}}
+ {{ CREDITS_DISPLAY_NAME }}
+ {{ Auth::user()->Credits() }}
@@ -58,8 +58,9 @@
- {{CREDITS_DISPLAY_NAME}} {{__('Usage')}}
- {{number_format($useage, 2, '.', '')}} {{__('per month')}}
+ {{ CREDITS_DISPLAY_NAME }} {{ __('Usage') }}
+ {{ number_format($usage, 2, '.', '') }}
+ {{ __('per month') }}
@@ -67,101 +68,106 @@
- @if($credits > 0.01 and $useage > 0)
-
+ @if ($credits > 0.01 and $usage > 0)
+
-
-
+
+
- {{__('Out of Credits in',["credits"=>CREDITS_DISPLAY_NAME])}}
- {{$boxText}}{{$unit}}
+ {{ __('Out of Credits in', ['credits' => CREDITS_DISPLAY_NAME]) }}
+
+ {{ $boxText }}{{ $unit }}
-
+
@endif
-
-
-
+
+
+
-
-
-
-
-
-
- @foreach ($useful_links as $useful_link)
-
-
-
- {!! $useful_link->description !!}
-
- @endforeach
-
-
+
+
+
+
-
+
+
+ @foreach ($useful_links as $useful_link)
+
+
+
+ {!! $useful_link->description !!}
+
+ @endforeach
+
+
-
+
+
+
-
-
-
-
-
-
- @foreach(Auth::user()->actions()->take(8)->orderBy('created_at' , 'desc')->get() as $log)
- -
-
- @switch($log->description)
- @case('created')
-
- @break
- @case('redeemed')
+
+
+
+
+
+
+ @foreach (Auth::user()->actions()->take(8)->orderBy('created_at', 'desc')->get()
+ as $log)
+ -
+
+ @switch($log->description)
+ @case('created')
+
+ @break
+ @case('redeemed')
- @break
- @case('deleted')
-
- @break
- @case('updated')
-
- @break
- @endswitch
- {{ucfirst($log->description)}}
- {{ explode("\\" , $log->subject_type)[2]}}
-
-
- {{$log->created_at->diffForHumans()}}
-
-
- @endforeach
-
-
-
+ @break
+ @case('deleted')
+
+ @break
+ @case('updated')
+
+ @break
+ @endswitch
+ {{ ucfirst($log->description) }}
+ {{ explode('\\', $log->subject_type)[2] }}
+
+
+ {{ $log->created_at->diffForHumans() }}
+
+
+ @endforeach
+
-
+
-
-
+
-
+
+
+
+