@if ($plugins->where('envato_id', $envatoId)->first()) @if ($plugins->where('envato_id', $envatoId)->pluck('version')->first() > \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt')) {{ \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt') }} @else {{ \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt') }} @endif @else {{ \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt') }} @endif