@extends("layouts.app") @section("style") @endsection @section("wrapper")
@if($response['IsoCode'] != $task->city && $task->city != 0)
{{__('Warning')}}
{{__('You are not in the city of the mission, you cannot do this mission.')}}
@else
{{$task->name}}

{{$task->name}}

{{__('Inventory')}}: {{ $ProofCount }}/{{$task->limit}}
{{__('Profit')}}: {{ number_format($task->reward, 2, ',', '.') }}{{ $settings['currency'] }}

{{ $task->PlatformDescription }}{{__('Platform')}}: {{ $task->PlatformName }}

{{__('Task Description')}}:

{{$task->description}}


{{__('Added by')}}{{__('Added by')}}: {{ $task->UserName }}
{{__('Limits')}}: {{__('Daily')}} {{ $task->daily_limit }} {{__('Total')}} {{ $task->limit }}
{{__('Location')}}: @if($task->CountryName == 0 || $task->CityName == 0) {{__('All')}} @else {{ $task->CountryName }}/{{ $task->CityName }} @endif

{{__('Completed')}}
@php $completedCount = $task->proofs->isNotEmpty() ? $task->proofs->first()->total : 0; $completionPercentage = $task->limit > 0 ? ($completedCount / $task->limit * 100) : 0; @endphp
{{ number_format($completionPercentage, 2) }}%

is_pending) && $task->is_pending ? ' disabled' : '' }}> @csrf
{{ __('upload_task_proofs', ['number' => $task->proof_number]) }}

@for ($i = 1; $i <= $task->proof_number; $i++)
@endfor
{{__('Go To Task')}}

@endif @endsection @section("script") @if($pendingProof) @endif @endsection