From 691df21b511929923006bc0727c7203936975e1e Mon Sep 17 00:00:00 2001 From: Mateja Date: Sun, 29 Nov 2020 16:07:50 +0100 Subject: Operator callsign to uppercase. --- app/Http/Controllers/ReservationsController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app') diff --git a/app/Http/Controllers/ReservationsController.php b/app/Http/Controllers/ReservationsController.php index 37e5067..c0b7121 100644 --- a/app/Http/Controllers/ReservationsController.php +++ b/app/Http/Controllers/ReservationsController.php @@ -150,7 +150,7 @@ class ReservationsController extends Controller $reservation->toTime = $request->edate . ' ' . $request->etime; $reservation->frequencies = implode(', ', $request->freqs); $reservation->modes = implode(', ', $request->modes); - $reservation->operatorCall = $request->ocall; + $reservation->operatorCall = strtoupper($request->ocall); $reservation->operatorName = $request->oname; $reservation->operatorEmail = $request->email; $reservation->operatorPhone = $request->phone; @@ -229,7 +229,7 @@ class ReservationsController extends Controller $record->toTime = $request->toTime; $record->frequencies = $request->frequencies; $record->modes = $request->modes; - $record->operatorCall = $request->operatorCall; + $record->operatorCall = strtoupper($request->operatorCall); $record->operatorName = $request->operatorName; $record->operatorEmail = $request->operatorEmail; $record->operatorPhone = $request->operatorPhone; -- cgit v1.2.3