@extends('layouts.app') @section('title', __('Website Visit Tasks')) @section('style') @endsection @section('wrapper')
{{ __('Available Website Visit Tasks') }} {{ $tasks->count() }}
@if($tasks->count() > 0)
@foreach($tasks as $task)
{{ Str::limit($task->title, 30) }}
{{ $task->visit_method === 'direct' ? __('Direct Visit') : __('Google Search') }}

{{ Str::limit($task->description, 80) }}

{{ $task->required_time }}{{ __('s') }} {{ $task->reward_amount }}₺
{{ $task->completedVisits()->count() }}/{{ $task->max_completions }} {{ __('completed') }} {{ $task->getRemainingCompletions() }} {{ __('remaining') }}
{{ $task->user_today_count }}
{{ __('Today') }}
{{ $task->user_total_count }}
{{ __('Total') }}
{{ __('Daily limit') }}: {{ $task->user_daily_limit }} {{ __('Total limit') }}: {{ $task->user_total_limit }}
{{ parse_url($task->website_url, PHP_URL_HOST) }} @if($task->visit_method === 'google_search') {{ $task->search_keywords }} @endif
@endforeach
@else
{{ __('No website visit tasks available') }}

{{ __('Check back later for new tasks') }}

@endif
@endsection @section('script') @endsection