# | {{ __('d20') }} | {{ __('d21') }} | {{ __('d22') }} | {{ __('d23') }} | {{ __('d24') }} | {{ __('d25') }} | {{ __('d26') }} | |
---|---|---|---|---|---|---|---|---|
{{ $task->id }} | {{ $task->title }} | {{ $task->price }} TRX | {{ $task->users }} / {{ count(\App\Models\Submit::where('task_id', '=', $task->id)->get()) }} | @if ($task->type == 1) {{ __('d27') }} @elseif ($task->type == 2) {{ __('d28') }} @else {{ __('d29') }} @endif | @if (count(\App\Models\Submit::where('task_id', '=', $task->id)->where('status', '=', 'Complete')->get()) > 0) {{ count(\App\Models\Submit::where('task_id', '=', $task->id)->where('status', '=', 'Complete')->get()) }} @else {{ count(\App\Models\Submit::where('task_id', '=', $task->id)->where('status', '=', 'Complete')->get()) }} @endif | @if(count(\App\Models\Submit::where('status', '=', 'Pending')->where('task_id', '=', $task->id)->get()) == 0) {{ __('d30s') }} @else {{ count(\App\Models\Submit::where('status', '=', 'Pending')->where('task_id', '=', $task->id)->get()) }} @endif | @if ($task->status == 1) {{ __('d30') }} @else {{ __('d31') }} @endif |
{{ __('d32') }}
@endif