diff options
author | Mateja <mail@matejamaric.com> | 2020-11-29 16:07:50 +0100 |
---|---|---|
committer | Mateja <mail@matejamaric.com> | 2020-11-29 16:07:50 +0100 |
commit | 691df21b511929923006bc0727c7203936975e1e (patch) | |
tree | b87b780363147008e107cedf9c63e1f2af893891 | |
parent | c47af3603f2c53edf384e9dd7f2ae00317c9062d (diff) | |
download | yota-laravel-1.0.0.tar.gz yota-laravel-1.0.0.zip |
Operator callsign to uppercase.v1.0.0
-rw-r--r-- | app/Http/Controllers/ReservationsController.php | 4 |
1 files changed, 2 insertions, 2 deletions
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; |