@extends('layouts.app') @section('content')

{{ trans('lang.subscription_plans') }}

@if(count($overviewPlans) > 0)

{{trans("lang.overview")}}

{{trans("lang.see_overview_of_package_earning")}}

@foreach($overviewPlans as $data)

@if(!empty($data->total_earning)) @php $totalEarning=$data->total_earning;@endphp @else @php $totalEarning=0;@endphp @endif @if($currency->symbol_at_right=="true") {{number_format($totalEarning,$currency->decimal_digit)."".$currency->symbole}} @else {{$currency->symbole."".number_format($totalEarning,$currency->decimal_digit)}} @endif

{{$data->name}}

@endforeach
@endif
@if(count($subscriptionPlans) > 0) @foreach($subscriptionPlans as $value) @if (file_exists(public_path('assets/images/subscription'.'/'.$value->image)) && !empty($value->image)) @else @endif @endforeach @else @endif {{ $subscriptionPlans->Links('pagination.pagination') }}
@endsection @section('scripts') @endsection