Merge branch 'master' of github.com:akaunting/akaunting

This commit is contained in:
Cüneyt Şentürk 2022-11-22 15:00:48 +03:00
commit b2f45a9c9a
2 changed files with 10 additions and 0 deletions

View File

@ -98,6 +98,12 @@ class Updates extends Controller
$name = $module->getName();
$installed = $module->get('version');
if ($installed >= $version) {
flash(trans('modules.warning.latest_version', ['module' => $name]))->warning()->important();
return $this->check();
}
}
return view('install.updates.edit', compact('alias', 'name', 'installed', 'version'));

View File

@ -102,6 +102,10 @@ return [
'finish' => 'Not able to finalize :module installation',
],
'warning' => [
'latest_version' => 'You are using the latest version of :module, no updates available.',
],
'badge' => [
'installed' => 'Installed',
'pre_sale' => 'Pre-Sale',