fix(controller): resolve F-05 — fix 'potrait' typo to 'portrait' in SirenController and NotificationController

This commit is contained in:
root
2026-05-30 22:18:16 +08:00
parent d650655d59
commit 8f7ed77612
2 changed files with 17 additions and 14 deletions

View File

@@ -97,7 +97,7 @@ class NotificationController extends Controller
->orderByDesc('notification.timestamp')->get();
$pdf = Pdf::loadView('pdf.rfhistory',compact('rfHistory'))
->setPaper('a4','potrait');
->setPaper('a4','portrait');
return $pdf->download('Rainfall Alarm History.pdf');
@@ -113,7 +113,7 @@ class NotificationController extends Controller
->orderByDesc('notification.timestamp')->get();
$pdf = Pdf::loadView('pdf.wlhistory',compact('wlHistory'))
->setPaper('a4','potrait');
->setPaper('a4','portrait');
return $pdf->download('Water Level Alarm History.pdf');