@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') }} @lang('app.moduleUpdateMessage', [ 'name' => $module->getName(), 'version' => $plugins->where('envato_id', $envatoId)->pluck('version')->first(), ]) @else {{ \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt') }} @endif @else {{ \Illuminate\Support\Facades\File::get($module->getPath() . '/version.txt') }} @endif