@extends('layouts.app') @section('style') @endsection @section('wrapper')

{{ __('Deleted Tasks') }}

{{ __('View all inactive and deleted tasks') }}

{{ __('Inactive') }}
@if(count($socialTasks) > 0) @foreach($socialTasks as $task)
@if($task->image) {{ $task->name }} @else
@endif
@if($task->socialPlatform) {{ $task->socialPlatform->platform }} {{ $task->socialPlatform->platform }} @endif {{ __('Inactive') }}
{{ $task->name }}

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

{{ substr($task->creator->account_holder ?? 'U', 0, 1) }}
{{ __('Created by') }}: {{ $task->creator->account_holder ?? __('Unknown') }}
{{ number_format($task->reward, 2) }} ₺
{{ __('Updated') }}: {{ $task->updated_at->format('d.m.Y') }}
@endforeach @else

{{ __('No deleted social media tasks') }}

{{ __('There are no inactive social media tasks at the moment.') }}

@endif
@if(count($websiteTasks) > 0) @foreach($websiteTasks as $task)
{{ __('Website Visit') }} {{ __('Inactive') }}
{{ $task->title }}

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

{{ substr($task->creator->account_holder ?? 'U', 0, 1) }}
{{ __('Created by') }}: {{ $task->creator->account_holder ?? __('Unknown') }}
{{ number_format($task->reward_amount, 2) }} ₺
{{ __('Updated') }}: {{ $task->updated_at->format('d.m.Y') }}
@endforeach @else

{{ __('No deleted website visit tasks') }}

{{ __('There are no inactive website visit tasks at the moment.') }}

@endif
@if(count($watchTasks) > 0) @foreach($watchTasks as $task)
{{ __('YouTube Watch') }} {{ __('Inactive') }}
{{ $task->title }}

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

{{ __('Duration') }}: {{ $task->formatted_duration }} {{ __('Video ID') }}: {{ $task->youtube_video_id }}
{{ substr($task->creator->account_holder ?? 'U', 0, 1) }}
{{ __('Created by') }}: {{ $task->creator->account_holder ?? __('Unknown') }}
{{ number_format($task->reward_amount, 2) }} ₺
{{ __('Updated') }}: {{ $task->updated_at->format('d.m.Y') }}
@endforeach @else

{{ __('No deleted YouTube watch tasks') }}

{{ __('There are no inactive YouTube watch tasks at the moment.') }}

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