aboutsummaryrefslogtreecommitdiff
path: root/app/Http/Controllers/ReservationsController.php
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-11-29 16:07:50 +0100
committerMateja <mail@matejamaric.com>2020-11-29 16:07:50 +0100
commit691df21b511929923006bc0727c7203936975e1e (patch)
treeb87b780363147008e107cedf9c63e1f2af893891 /app/Http/Controllers/ReservationsController.php
parentc47af3603f2c53edf384e9dd7f2ae00317c9062d (diff)
downloadyota-laravel-691df21b511929923006bc0727c7203936975e1e.tar.gz
yota-laravel-691df21b511929923006bc0727c7203936975e1e.zip
Operator callsign to uppercase.v1.0.0
Diffstat (limited to 'app/Http/Controllers/ReservationsController.php')
-rw-r--r--app/Http/Controllers/ReservationsController.php4
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;