@extends('user.layouts') @section('css') @endsection @section('content')

{{ trans('user.account.credit') }}

{{ auth()->user()->credit_tag }}
@if ($renewTraffic)

{{ trans('user.reset_data.action') }}

{!! trans('user.reset_data.cost', ['amount' => $renewTraffic]) !!}
@endif

{{ trans('user.menu.shop') }}

@foreach ($goodsList as $goods)
@if ($goods->limit_num)
{{ trans('user.shop.limited') }}
@elseif($goods->is_hot)
{{ trans('user.shop.hot') }}
@endif
{{ $goods->name }}
{{ $goods->price_tag }} @if ($goods->type === 2) / {{ $goods->days . trans_choice('common.days.attribute', 1) }} @endif
@if ($goods->description)

{{ $goods->description }}

@endif
  • {{ $goods->traffic_label }}{{ trans('user.attribute.data') }} {!! $goods->type === 1 ? " $dataPlusDays " . trans_choice('common.days.attribute', 1) : '/' . ucfirst(trans('validation.attributes.month')) !!}
  • {!! trans('user.service.node_count', ['num' => $goods->node_count]) !!}
  • {!! trans('user.service.country_count', ['num' => $goods->node_countries->count()]) !!}
  • {{ trans('user.account.speed_limit') }} {{ $goods->speed_limit ? $goods->speed_limit . ' Mbps' : trans('user.service.unlimited') }}
  • {!! $goods->info !!}
@endforeach
@endsection @section('javascript') @endsection