@php $plan = Auth::user()->activePlan(); $plan_type = 'regular'; if ($plan != null) { $plan_type = strtolower($plan->plan_type); } @endphp @extends('panel.layout.app', ['disable_tblr' => true]) @section('title', __('Dashboard')) @section('titlebar_title') {{ __('Welcome') }}, {{ auth()->user()->name }}. @endsection @section('content')
{{ __('Words Left') }}
@if (Auth::user()->remaining_words == -1) @lang('Unlimited') @else {{ number_format((int) Auth::user()->remaining_words) }} @endif
{{ __('Images Left') }}
@if (Auth::user()->remaining_images == -1) @lang('Unlimited') @else {{ number_format((int) Auth::user()->remaining_images) }} @endif
{{ __('Hours Saved') }}
{{ number_format(($total_words * 0.5) / 60) }}
{{ __('Your Documents') }}
@endif