diff --git a/app/Http/Controllers/LegacyLayoutController.php b/app/Http/Controllers/LegacyLayoutController.php index 0d3b1f1..02571a2 100644 --- a/app/Http/Controllers/LegacyLayoutController.php +++ b/app/Http/Controllers/LegacyLayoutController.php @@ -2,12 +2,17 @@ namespace App\Http\Controllers; +use Illuminate\Http\RedirectResponse; use Illuminate\View\View; class LegacyLayoutController extends Controller { - public function show(string $path = ''): View + public function show(string $path = ''): View|RedirectResponse { + if (! auth()->check()) { + return redirect()->route('login'); + } + $targetUrl = $path !== '' ? url($path) : route('dashboard.index'); diff --git a/resources/views/email/priceListChangeNotify.blade.php b/resources/views/email/priceListChangeNotify.blade.php index 5160ac9..299444f 100644 --- a/resources/views/email/priceListChangeNotify.blade.php +++ b/resources/views/email/priceListChangeNotify.blade.php @@ -1,7 +1,7 @@
Új árlista került feltöltésre a Szállítói webrendelő felületre.
Az újonnan feltöltött dokumentum megnevezése: {{$priceList['fileName']}}.
-Letölthető fájl: {{$priceList['fileName']}}
+Letölthető fájl: {{$priceList['fileName']}}
Kérjük, hogy a lehető leghamarabb nézd át a feltöltött árlistát, mivel az Egységed számára fontos információt, megváltozott beszerzési árakat tartalmaz.
Köszönjük az együttműködésed!
Üdvözlettel: Központi Beszerzési osztály
diff --git a/resources/views/layout/login.blade.php b/resources/views/layout/login.blade.php index ca863b1..652855c 100644 --- a/resources/views/layout/login.blade.php +++ b/resources/views/layout/login.blade.php @@ -7,7 +7,7 @@ @endif -