diff --git a/resources/views/servers/index.blade.php b/resources/views/servers/index.blade.php index 72187653..517c3f1e 100644 --- a/resources/views/servers/index.blade.php +++ b/resources/views/servers/index.blade.php @@ -127,22 +127,21 @@ ({{ CREDITS_DISPLAY_NAME }}) -
-
-
-
{{ __('per Hour') }}
- - {{ number_format($server->product->getHourlyPrice(), 2, '.', '') }} - +
+
+ @if($server->product->billing_period == 'monthly') + {{ __('per Month') }} + @elseif($server->product->billing_period == 'weekly') + {{ __('per Week') }} + @elseif($server->product->billing_period == 'daily') + {{ __('per Day') }} + @elseif($server->product->billing_period == 'hourly') + {{ __('per Hour') }} + @endif
-
-
{{ __('per Month') }} -
- - {{ $server->product->getHourlyPrice() * 24 * 30 }} - -
-
+ + {{ $server->product->price }} +